7.6high
Use after free in C++ protobuf
- Severity
- 7.6high CVSS:3.1 by Google
- Exploit likelihood
- 0.45% (higher than 31% of CVEs)
- Published
- Last changed
- Assigned by
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| protocolbuffers protobuf | from 4.22.0 before 4.25.0 | CVE List |
| google protobuf | from 4.22.0 before 4.25.0 | CVE List, NVD |
All scores
| 7.6high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L | |
| NVD | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
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.
NVD (es)
La función JsonToBinaryStream() es parte de la implementación de los búferes de protocolo C++ y se utiliza para analizar JSON de una secuencia. Si la entrada se divide en fragmentos separados de cierta manera, el analizador intentará leer bytes de un fragmento que ya ha sido liberado.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-2410 changed 2024-08-01 | CVE Terms of Use |
| NVD | CVE-2024-2410 changed 2026-06-17 | Public domain |