CVE-2020-12762

HIGH CVSS 3.1: 7.8 EPSS 1.90%
Updated Oct 14, 2026
Siemens
Parameter Value
CVSS 7.8 (HIGH)
Affected Versions before 0.15-20200726
Fixed In 0.15-20200726
Type CWE-787 (Out-of-bounds Write), CWE-190 (Integer Overflow)
Vendor Siemens
Public PoC No

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

Attack Parameters

Attack Vector
Local
Requires local access
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
Required
User action required

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
High
Complete denial of service

CVSS Vector v3.1

Vulnerable Products 16

Configuration From (including) Up to (excluding)
Json-C Json-C
cpe:2.3:a:json-c:json-c:*:*:*:*:*:*:*:*
— 0.15-20200726
Fedoraproject Fedora
cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:*
— —
Fedoraproject Fedora
cpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:*
— —
Fedoraproject Fedora
cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*
— —
Debian Debian_Linux
cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
— —
Debian Debian_Linux
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
— —
Debian Debian_Linux
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
— —
Canonical Ubuntu_Linux
cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:-:*:*:*
— —
Canonical Ubuntu_Linux
cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:esm:*:*:*
— —
Canonical Ubuntu_Linux
cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:esm:*:*:*
— —
Canonical Ubuntu_Linux
cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*
— —
Canonical Ubuntu_Linux
cpe:2.3:o:canonical:ubuntu_linux:19.10:*:*:*:*:*:*:*
— —
Canonical Ubuntu_Linux
cpe:2.3:o:canonical:ubuntu_linux:20.04:*:*:*:lts:*:*:*
— —
Siemens Sinec_Ins
cpe:2.3:a:siemens:sinec_ins:-:*:*:*:*:*:*:*
— —
Siemens Sinec_Ins
cpe:2.3:a:siemens:sinec_ins:1.0:-:*:*:*:*:*:*
— —
Siemens Sinec_Ins
cpe:2.3:a:siemens:sinec_ins:1.0:sp1:*:*:*:*:*:*
— —

References 20

https://cert-portal.siemens.com/productcert/pdf/ssa-637483.pdf
cve@mitre.org
https://github.com/json-c/json-c/pull/592
cve@mitre.org
https://github.com/rsyslog/libfastjson/issues/161
cve@mitre.org
https://lists.debian.org/debian-lts-announce/2020/05/msg00032.html
cve@mitre.org
https://lists.debian.org/debian-lts-announce/2020/05/msg00034.html
cve@mitre.org
https://lists.debian.org/debian-lts-announce/2020/07/msg00031.html
cve@mitre.org
https://lists.debian.org/debian-lts-announce/2023/06/msg00023.html
cve@mitre.org
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapr…
cve@mitre.org
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapr…
cve@mitre.org
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapr…
cve@mitre.org
https://security.gentoo.org/glsa/202006-13
cve@mitre.org
https://security.netapp.com/advisory/ntap-20210521-0001/
cve@mitre.org
https://usn.ubuntu.com/4360-1/
cve@mitre.org
https://usn.ubuntu.com/4360-4/
cve@mitre.org
https://www.debian.org/security/2020/dsa-4741
cve@mitre.org
https://lists.debian.org/debian-lts-announce/2025/07/msg00021.html
af854a3a-2127-422b-91ae-364da2661108
https://cert-portal.siemens.com/productcert/html/ssa-202008.html
0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
https://cert-portal.siemens.com/productcert/html/ssa-398330.html
0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
https://cert-portal.siemens.com/productcert/html/ssa-637483.html
0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
https://cert-portal.siemens.com/productcert/html/ssa-794697.html
0b142b55-0307-4c5a-b3c9-f314f3fb7c5e