Vulnerabilities / CVE-2021-32292

critical

CVE-2021-32292

json-c: stack-buffer-overflow in parseit() in json_parse.c

Published Modified CWE 787
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Trivy's own label is CRITICAL. Rated critical by NVD, CBL-Mariner, Photon OS. Rated lower by Ubuntu (medium).

Description

An issue was discovered in json-c from 20200420 (post 0.14 unreleased code) through 0.15-20200726. A stack-buffer-overflow exists in the auxiliary sample program json_parse which is located in the function parseit.

Affected packages and fixed versions

SourcePackageFixed in
CBL-Mariner 2.0json-c0:0.15-2.cm2
Photon OS 4.0json-c, json-c-devel0.15-4.ph4
conan::GitLab Advisory Database Communityjson-c0.16
debian 11json-c0.15-2+deb11u1
debian 12json-c0.16-1
debian 13json-c0.16-1
debian 14json-c0.16-1
echojson-c0.16-1
ubuntu 22.04json-c0.15-3~ubuntu1.22.04.2
Show all 10 entries from 9 sources
SourcePackageFixed in
CBL-Mariner 2.0json-c0:0.15-2.cm2
Photon OS 4.0json-c0.15-4.ph4
Photon OS 4.0json-c-devel0.15-4.ph4
conan::GitLab Advisory Database Communityjson-c0.16
debian 11json-c0.15-2+deb11u1
debian 12json-c0.16-1
debian 13json-c0.16-1
debian 14json-c0.16-1
echojson-c0.16-1
ubuntu 22.04json-c0.15-3~ubuntu1.22.04.2

References

All 10 references

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.