CVE-2022-23459

Double free or Use after Free in Value class of Jsonxx

Published Aug 19, 2022 CVSS 3.1 · 8.1 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2022-28530 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.
History
Type Values Removed Values Added
First Time appeared Hjiang
Hjiang json\+\+
CPEs cpe:2.3:a:json\+\+_project:json\+\+:1.0.0:*:*:*:*:*:*:*
cpe:2.3:a:json\+\+_project:json\+\+:1.0.1:*:*:*:*:*:*:*
cpe:2.3:a:hjiang:json\+\+:1.0.0:*:*:*:*:*:*:*
cpe:2.3:a:hjiang:json\+\+:1.0.1:*:*:*:*:*:*:*
Vendors & Products Json\+\+ Project
Json\+\+ Project json\+\+
Hjiang
Hjiang json\+\+
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Apr 23, 2025, 5:48 PM
Reserved
Jan 19, 2022, 12:00 AM
Status
Modified
Published
Aug 19, 2022, 7:15 PM
Modified
Jun 17, 2026, 4:30 AM