What’s Vulnerable › Vulnerabilities
CVE-2022-23459: Double free or Use after Free in Value class of Jsonxx
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.0% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2022-08-19 · updated 2026-06-17
- Weakness: CWE-415
Description
Jsonxx or Json++ is a JSON parser, writer and reader written in C++. In affected versions of jsonxx use of the Value class may lead to memory corruption via a double free or via a use after free. The value class has a default assignment operator which may be used with pointer types which may point to alterable data where the pointer itself is not updated. This issue exists on the current commit of the jsonxx project. The project itself has been archived and updates are not expected. Users are advised to find a replacement.
Affected products
- hjiang Json++: 1.0.0, 1.0.1
References
- https://securitylab.github.com/advisories/GHSL-2022-048_Jsonxx
- https://securitylab.github.com/advisories/GHSL-2022-048_Jsonxx
Get alerted when CVE-2022-23459 or the next vulnerability affects your stack