CVE-2020-12762: canonical ubuntu_linux Integer Overflow or Wraparound
Vulnerability summary
CVE-2020-12762 is a high (CVSS 7.8) Integer Overflow or Wraparound vulnerability in canonical ubuntu_linux. EPSS estimates a 1.89% chance of exploitation in the next 30 days, higher than 80.2% of scored vulnerabilities. 2 public exploits are recorded.
Public exploit (GitHub, Date unknown)
Source freshness unavailable
How is this decided?Timeline
- 09-05-2020PublishedVulnerability first disclosed.
- 14-10-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
7 scores · 6 sources · 2 versions- OSV · AlpineEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · Red hatEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- NVDNIST7.8HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS trend
Probability
1.89%
Chance of exploitation in the next 30 days
Percentile
80%
Versus all other CVEs
30-day change
Decrease -0.01 pp
From 1.90% on 05-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
2 foundJson C
Maturity: poc
Libfastjson
Maturity: poc
Weaknesses
CWE · root cause- CWE-190Integer Overflow or WraparoundThe product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.
- CWE-787Out-of-bounds WriteThe product writes data past the end, or before the beginning, of the intended buffer.
Affected systems
Known conditions: local access, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Suse42 products
- json-c&distro=SUSE Enterprise Storage 6< 0.13-3.3.1
- json-c&distro=SUSE Enterprise Storage 7< 0.13-3.3.1
- json-c&distro=SUSE Linux Enterprise High Performance Computing 15 SP1-ESPOS< 0.13-3.3.1
- json-c&distro=SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS< 0.13-3.3.1
- json-c&distro=SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOS< 0.13-3.3.1
Redhat9 products
- json-c< 0:0.13.1-2.el8
- json-c-debuginfo< 0:0.13.1-2.el8
- json-c-debugsource< 0:0.13.1-2.el8
- json-c-devel< 0:0.13.1-2.el8
- json-c-doc< 0:0.13.1-2.el8
Debian3 products
- json-c< 0.11-4+deb8u1 | < 0.11-4+deb8u2 | < 0.12.1-1.1+deb9u1 | < 0.12.1+ds-2+deb10u1 | < 0.13.1+dfsg-8
- libfastjson< 0.99.8-2+deb10u1 | < 0.99.9-1+deb11u1 | < 1.2304.0-1
- debian_linuxEOL8.0 | 9.0 | 10.0
Alpine2 products
- json-c< 0.13.1-r1 | < 0.14-r1
- libfastjson< 1.2304.0-r0
Mageia2 products
- json-c< 0.13.1-2.2.mga7
- libfastjson< 1.2304.0-1.mga8
Opensuse2 products
- json-c&distro=openSUSE Leap 15.3< 0.13-3.3.1
- libfastjson&distro=openSUSE Leap 15.4< 0.99.9-150400.3.3.1
Canonical1 product
- ubuntu_linuxEOL12.04 | 14.04 | 16.04 | 18.04 | 19.10 | 20.04
Fedoraproject1 product
- fedoraEOL30 | 31 | 32
Json-c1 product
- json-c< 0.15-20200726
Siemens1 product
- sinec_insna | 1.0 | 1.0:sp1
Ubuntu1 product
- json-c< 0.11-3ubuntu1.2+esm1 | < 0.11-4ubuntu2.1 | < 0.12.1-1.3ubuntu0.1 | < 0.13.1+dfsg-7ubuntu0.1 | < 0.11-3ubuntu1.2+esm3 | < 0.11-4ubuntu2.6 | < 0.12.1-1.3ubuntu0.3 | < 0.13.1+dfsg-7ubuntu0.3
11 vendors · 65 products
References
62 links- lists.fedoraproject.org/archives/…Vendor Advisory
- lists.fedoraproject.org/archives/…Vendor Advisory
- lists.fedoraproject.org/archives/…Vendor Advisory
Show all 62 references
- security.netapp.com/advisory/ntap-20210521-0001/Third Party Advisory
- cert-portal.siemens.com/productcert/pdf/ssa-637483.pdfThird Party Advisory
- lists.opensuse.org/archives/…Advisory