{"id":"CVE-2024-2410","state":"PUBLISHED","title":"Use after free in C++ protobuf","description":"The JsonToBinaryStream() function is part of the protocol buffers C++ implementation and is used to parse JSON from a stream. If the input is broken up into separate chunks in a certain way, the parser will attempt to read bytes from a chunk that has already been freed. \n","publishedAt":"2024-05-03T12:58:39.449Z","updatedAt":"2024-08-01T19:11:53.511Z","severity":{"score":7.6,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L","source":"Google"},"assigner":"Google","products":["protocolbuffers protobuf"],"affected":[{"vendor":"protocolbuffers","product":"protobuf","defaultStatus":"unaffected","versions":[{"version":"4.22.0","status":"affected","lessThan":"4.25.0","versionType":"semver"}],"repo":"https://github.com/protocolbuffers/protobuf"}],"references":["https://github.com/protocolbuffers/protobuf/releases/tag/v25.0"],"weaknesses":["CWE-416"],"ingestedAt":"2026-10-29T20:07:21.467Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/2xxx/CVE-2024-2410.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-2410","state":"PUBLISHED","datePublished":"2024-05-03T12:58:39.449Z","dateUpdated":"2024-08-01T19:11:53.511Z","assignerShortName":"Google","assignerOrgId":"14ed7db2-1595-443d-9d34-6215bf890778","dateReserved":"2024-03-12T23:26:10.660Z"},"containers":{"cna":{"title":"Use after free in C++ protobuf","descriptions":[{"lang":"en","value":"The JsonToBinaryStream() function is part of the protocol buffers C++ implementation and is used to parse JSON from a stream. If the input is broken up into separate chunks in a certain way, the parser will attempt to read bytes from a chunk that has already been freed. \n"}],"affected":[{"vendor":"protocolbuffers","product":"protobuf","defaultStatus":"unaffected","versions":[{"version":"4.22.0","status":"affected","lessThan":"4.25.0","versionType":"semver"}],"repo":"https://github.com/protocolbuffers/protobuf"}],"references":[{"url":"https://github.com/protocolbuffers/protobuf/releases/tag/v25.0"}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":7.6,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-416","description":"CWE-416 Use After Free","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"Google","orgId":"14ed7db2-1595-443d-9d34-6215bf890778","dateUpdated":"2024-05-03T12:58:39.449Z"},"datePublic":"2024-04-16T23:00:00.000Z","impacts":[{"capecId":"CAPEC-123","descriptions":[{"lang":"en","value":"CAPEC-123 Buffer Manipulation"}]}],"source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"Vulnogram 0.1.0-dev"}},"adp":[{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"google","product":"protobuf","defaultStatus":"unknown","versions":[{"version":"4.22.0","status":"affected","lessThan":"4.25.0","versionType":"semver"}],"cpes":["cpe:2.3:a:google:protobuf:-:*:*:*:*:*:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-06-13T16:52:45.662270Z","id":"CVE-2024-2410","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-06-13T16:55:13.267Z"}},{"title":"CVE Program Container","references":[{"url":"https://github.com/protocolbuffers/protobuf/releases/tag/v25.0","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-01T19:11:53.511Z"}}]}}}