# CVE-2024-2410: Use after free in C++ protobuf

- Severity: High 7.6 (CVSS:3.1, scored by Google) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.45%, higher than 31% of CVEs (2026-11-30)
- Published: 2024-05-03T12:58:39.449Z
- Modified: 2026-06-17T07:24:28.823Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Google

## 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.

(As written by CVE List.)

## Affected

- protocolbuffers protobuf: from 4.22.0 before 4.25.0
- google protobuf: from 4.22.0 before 4.25.0

## Every score

- Google: CVSS:3.1 7.6 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/protocolbuffers/protobuf/releases/tag/v25.0> (release-notes)

## Sources

- CVE List: [CVE-2024-2410](https://www.cve.org/CVERecord?id=CVE-2024-2410), CVE Terms of Use, modified 2024-08-01
- NVD: [CVE-2024-2410](https://nvd.nist.gov/vuln/detail/CVE-2024-2410), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-2410 · Whole record: https://cve.day/CVE-2024-2410.json · Rebuilt by cve.day 2026-11-25T22:58:39.929Z
