{"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-07-08T05:53:53.749510319Z","published":"2020-05-09T18:15:11.283Z","related":["ALSA-2021:4382","ALSA-2023:6431","ALSA-2023:6976","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"],"database_specific":{"unresolved_ranges":[{"extracted_events":[{"introduced":"12.04"},{"last_affected":"12.04"},{"introduced":"14.04"},{"last_affected":"14.04"},{"introduced":"16.04"},{"last_affected":"16.04"},{"introduced":"18.04"},{"last_affected":"18.04"},{"introduced":"19.10"},{"last_affected":"19.10"},{"introduced":"20.04"},{"last_affected":"20.04"}],"source":"CPE_STRING","vendor_product":"canonical:ubuntu_linux","cpes":["cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:-:*:*:*","cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:esm:*:*:*","cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:esm:*:*:*","cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*","cpe:2.3:o:canonical:ubuntu_linux:19.10:*:*:*:*:*:*:*","cpe:2.3:o:canonical:ubuntu_linux:20.04:*:*:*:lts:*:*:*"]},{"vendor_product":"debian:debian_linux","cpes":["cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*","cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*","cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"8.0"},{"last_affected":"8.0"},{"introduced":"9.0"},{"last_affected":"9.0"},{"introduced":"10.0"},{"last_affected":"10.0"}],"source":"CPE_STRING"},{"vendor_product":"fedoraproject:fedora","cpes":["cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:*","cpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:*","cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"30"},{"last_affected":"30"},{"introduced":"31"},{"last_affected":"31"},{"introduced":"32"},{"last_affected":"32"}],"source":"CPE_STRING"},{"cpes":["cpe:2.3:a:siemens:sinec_ins:1.0:-:*:*:*:*:*:*","cpe:2.3:a:siemens:sinec_ins:1.0:sp1:*:*:*:*:*:*"],"extracted_events":[{"introduced":"1.0-NA"},{"last_affected":"1.0-NA"},{"introduced":"1.0-sp1"},{"last_affected":"1.0-sp1"}],"source":"CPE_STRING","vendor_product":"siemens:sinec_ins"}]},"references":[{"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/CQQRRGBQCAWNCCJ2HN3W5SSCZ4QGMXQI/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/W226TSCJBEOXDUFVKNWNH7ETG7AR6MCS/"},{"type":"ADVISORY","url":"https://cert-portal.siemens.com/productcert/pdf/ssa-637483.pdf"},{"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://lists.debian.org/debian-lts-announce/2023/06/msg00023.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://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":{"extracted_events":[{"introduced":"0"},{"fixed":"0.15-20200726"}],"source":"CPE_RANGE","cpe":"cpe:2.3:a:json-c:json-c:*:*:*:*:*:*:*:*"}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-12762.json"}}],"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"}]}