High
Security advisory
json-c through 0.14 has an integer overflow and out-of-bounds write via a large JSON file, as demonstrated by printbuf_memappend.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2020-12762
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 10:43 UTC · Revision 1
Source evidence
json-c through 0.14 has an integer overflow and out-of-bounds write via a large JSON file, as demonstrated by printbuf_memappend.
osv:CVE-2020-12762
Complete source record
{
"id": "c290d839b229b0a0e806ddb333f13e6bbbae94267cf4ed6b9f6753cf04fe5f43",
"url": "https://osv.dev/vulnerability/CVE-2020-12762",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2020-12762",
"summary": "json-c through 0.14 has an integer overflow and out-of-bounds write via a large JSON file, as demonstrated by printbuf_memappend.",
"evidence": "osv:CVE-2020-12762",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2020-12762",
"aliases": [
"CVE-2020-12762"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/json-c/json-c",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "9021cdcdd01fc9dbcbe1f06391848c2ac915212f"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:json-c:json-c:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "0.15-20200726"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-12762.json"
}
}
],
"modified": "2026-10-20T10:51:34.564160139Z",
"provider": "osv",
"references": [
"https://cert-portal.siemens.com/productcert/html/ssa-202008.html",
"https://cert-portal.siemens.com/productcert/html/ssa-398330.html",
"https://cert-portal.siemens.com/productcert/html/ssa-637483.html",
"https://cert-portal.siemens.com/productcert/html/ssa-794697.html",
"https://lists.debian.org/debian-lts-announce/2025/07/msg00021.html",
"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CBR36IXYBHITAZFB5PFBJTED22WO5ONB/",
"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CQQRRGBQCAWNCCJ2HN3W5SSCZ4QGMXQI/",
"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/W226TSCJBEOXDUFVKNWNH7ETG7AR6MCS/",
"https://cert-portal.siemens.com/productcert/pdf/ssa-637483.pdf",
"https://lists.debian.org/debian-lts-announce/2020/05/msg00032.html",
"https://lists.debian.org/debian-lts-announce/2020/05/msg00034.html",
"https://lists.debian.org/debian-lts-announce/2020/07/msg00031.html",
"https://lists.debian.org/debian-lts-announce/2023/06/msg00023.html",
"https://security.gentoo.org/glsa/202006-13",
"https://security.netapp.com/advisory/ntap-20210521-0001/",
"https://usn.ubuntu.com/4360-1/",
"https://usn.ubuntu.com/4360-4/",
"https://www.debian.org/security/2020/dsa-4741",
"https://github.com/json-c/json-c/pull/592",
"https://github.com/rsyslog/libfastjson/issues/161"
],
"provider_metadata": {
"unresolved_ranges": [
{
"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": "canonical:ubuntu_linux",
"extracted_events": [
{
"range": [
{
"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"
}
]
},
{
"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:*:*:*:*:*:*:*"
],
"vendor_product": "debian:debian_linux",
"extracted_events": [
{
"range": [
{
"introduced": "8.0"
},
{
"last_affected": "8.0"
},
{
"introduced": "9.0"
},
{
"last_affected": "9.0"
},
{
"introduced": "10.0"
},
{
"last_affected": "10.0"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:*",
"cpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:*",
"cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*"
],
"vendor_product": "fedoraproject:fedora",
"extracted_events": [
{
"range": [
{
"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:*:*:*:*:*:*"
],
"vendor_product": "siemens:sinec_ins",
"extracted_events": [
{
"range": [
{
"introduced": "1.0-NA"
},
{
"last_affected": "1.0-NA"
},
{
"introduced": "1.0-sp1"
},
{
"last_affected": "1.0-sp1"
}
],
"source": "CPE_STRING"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2020-12762",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 382583,
"published_at": "2020-05-09T18:15:11.283+00:00"
}