{"id":"CVE-2020-12762","details":"json-c through 0.14 has an integer overflow and out-of-bounds write via a large JSON file, as demonstrated by printbuf_memappend.","modified":"2026-04-02T02:10:49.667676Z","published":"2020-05-09T18:15:11.283Z","related":["ALSA-2021:4382","ALSA-2023:6431","ALSA-2023:6976","MGASA-2020-0240","MGASA-2023-0159","SUSE-SU-2022:0184-1","SUSE-SU-2022:0184-2","SUSE-SU-2022:3001-1","SUSE-SU-2023:2135-1","SUSE-SU-2024:1775-1","SUSE-SU-2024:1846-1","openSUSE-SU-2022:0184-1","openSUSE-SU-2024:12911-1"],"references":[{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CQQRRGBQCAWNCCJ2HN3W5SSCZ4QGMXQI/"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/07/msg00021.html"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CBR36IXYBHITAZFB5PFBJTED22WO5ONB/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/W226TSCJBEOXDUFVKNWNH7ETG7AR6MCS/"},{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2020/05/msg00032.html"},{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2020/05/msg00034.html"},{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2020/07/msg00031.html"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/202006-13"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20210521-0001/"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/4360-1/"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/4360-4/"},{"type":"ADVISORY","url":"https://cert-portal.siemens.com/productcert/pdf/ssa-637483.pdf"},{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2023/06/msg00023.html"},{"type":"ADVISORY","url":"https://www.debian.org/security/2020/dsa-4741"},{"type":"FIX","url":"https://github.com/json-c/json-c/pull/592"},{"type":"EVIDENCE","url":"https://github.com/rsyslog/libfastjson/issues/161"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/json-c/json-c","events":[{"introduced":"0"},{"fixed":"9021cdcdd01fc9dbcbe1f06391848c2ac915212f"}],"database_specific":{"versions":[{"introduced":"0"},{"fixed":"0.15-20200726"}]}}],"versions":["json-c-0.10-20120530","json-c-0.11-20130402","json-c-0.12-20140410","json-c-0.12.1-20160607","json-c-0.13-20171207","json-c-0.13.1-20180305","json-c-0.14-20200419","json-c-0.16-20220414","json-c-0.17-20230812","json-c-0.18-20240915"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-12762.json","unresolved_ranges":[{"events":[{"introduced":"0"},{"last_affected":"30"}]},{"events":[{"introduced":"0"},{"last_affected":"31"}]},{"events":[{"introduced":"0"},{"last_affected":"32"}]},{"events":[{"introduced":"0"},{"last_affected":"8.0"}]},{"events":[{"introduced":"0"},{"last_affected":"9.0"}]},{"events":[{"introduced":"0"},{"last_affected":"10.0"}]},{"events":[{"introduced":"0"},{"last_affected":"12.04"}]},{"events":[{"introduced":"0"},{"last_affected":"14.04"}]},{"events":[{"introduced":"0"},{"last_affected":"16.04"}]},{"events":[{"introduced":"0"},{"last_affected":"18.04"}]},{"events":[{"introduced":"0"},{"last_affected":"19.10"}]},{"events":[{"introduced":"0"},{"last_affected":"20.04"}]},{"events":[{"introduced":"0"},{"last_affected":"1.0-NA"}]},{"events":[{"introduced":"0"},{"last_affected":"1.0-sp1"}]}]}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}