# CVE-2020-12762: json-c through 0.14 has an integer overflow and out-of-bounds write via a large JSON file, as demonstrated by printbufmemappend.

- Severity: High 7.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.89%, higher than 80% of CVEs (2026-11-30)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2020-05-09T00:00:00.000Z
- Modified: 2026-10-14T10:17:26.413Z
- Weaknesses: CWE-190, CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: mitre

## Description

json-c through 0.14 has an integer overflow and out-of-bounds write via a large JSON file, as demonstrated by printbuf_memappend.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- json-c json-c: before 0.15-20200726
- fedoraproject fedora: 30; 31; 32
- debian debian_linux: 8.0; 9.0; 10.0
- canonical ubuntu_linux: 12.04; 14.04; 16.04; 18.04; 19.10; 20.04
- siemens sinec_ins: 1.0

## Every score

- CISA-ADP: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.8 Medium `AV:N/AC:M/Au:N/C:P/I:P/A:P`

## References

- <https://github.com/json-c/json-c/pull/592> (exploit, patch, third-party-advisory)
- <https://github.com/rsyslog/libfastjson/issues/161> (exploit, third-party-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CQQRRGBQCAWNCCJ2HN3W5SSCZ4QGMXQI/> (vendor-advisory)
- <https://usn.ubuntu.com/4360-1/> (third-party-advisory, vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CBR36IXYBHITAZFB5PFBJTED22WO5ONB/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/W226TSCJBEOXDUFVKNWNH7ETG7AR6MCS/> (vendor-advisory)
- <https://lists.debian.org/debian-lts-announce/2020/05/msg00032.html> (mailing-list, third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2020/05/msg00034.html> (mailing-list, third-party-advisory)
- <https://usn.ubuntu.com/4360-4/> (third-party-advisory, vendor-advisory)
- <https://security.gentoo.org/glsa/202006-13> (third-party-advisory, vendor-advisory)
- <https://lists.debian.org/debian-lts-announce/2020/07/msg00031.html> (mailing-list, third-party-advisory)
- <https://www.debian.org/security/2020/dsa-4741> (third-party-advisory, vendor-advisory)
- <https://security.netapp.com/advisory/ntap-20210521-0001/> (third-party-advisory)
- <https://cert-portal.siemens.com/productcert/pdf/ssa-637483.pdf> (third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2023/06/msg00023.html> (mailing-list, third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2025/07/msg00021.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-637483.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-794697.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-398330.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-202008.html>

## Sources

- CVE List: [CVE-2020-12762](https://www.cve.org/CVERecord?id=CVE-2020-12762), CVE Terms of Use, modified 2026-10-14
- NVD: [CVE-2020-12762](https://nvd.nist.gov/vuln/detail/CVE-2020-12762), Public domain, modified 2026-10-14

---

Page: https://cve.day/CVE-2020-12762 · Whole record: https://cve.day/CVE-2020-12762.json · Rebuilt by cve.day 2026-11-25T22:57:52.353Z
