What’s Vulnerable › Vulnerabilities
CVE-2024-2410: Use after free in C++ protobuf
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-05-03 · updated 2026-06-17
- Weakness: CWE-416
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 products
- Python Protobuf: from 4.22.0 before 4.25.0 — fixed in 4.25.0
How to fix
Upgrade to a fixed version: Python Protobuf 4.25.0. Check the vendor advisory for mitigations.
References
- https://github.com/protocolbuffers/protobuf/releases/tag/v25.0
- https://github.com/protocolbuffers/protobuf/releases/tag/v25.0
Get alerted when CVE-2024-2410 or the next vulnerability affects your stack