CVE-2020-12762: canonical ubuntu_linux Integer Overflow or Wraparound
CVSS: 7.8v3.1HighModified
AliasesALPINE-CVE-2020-12762MGASA-2020-0240MGASA-2023-0159SUSE-SU-2022:0184-1SUSE-SU-2022:0184-2SUSE-SU-2022:3001-1SUSE-SU-2023:2135-1SUSE-SU-2024:1775-1SUSE-SU-2024:1846-1RHSA-2021:4382RHSA-2023:6431RHSA-2023:6976RHSA-2024:0411RHSA-2024:0573RHSA-2024:1086RHSA-2024:1154UBUNTU-CVE-2020-12762USN-4360-1USN-4360-4DEBIAN-CVE-2020-12762DLA-2228-1DLA-2228-2DLA-2301-1DLA-3461-1DLA-4258-1DSA-4741-1openSUSE-SU-2022:0184-1
Published 09-05-2020Last modified 14-10-2026
Vulnerability summary
CVE-2020-12762 is a high (CVSS 7.8) Integer Overflow or Wraparound vulnerability in canonical ubuntu_linux. EPSS estimates a 1.90% chance of exploitation in the next 30 days, higher than 79.2% of scored vulnerabilities. 2 public exploits are recorded.
CVSS score
7.8/10
010
High · v3.1 (CVE.org)EPSS score
1.90%
0%100%
Low · 0.00 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits2github
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 versionsHigh 7.8Preferred score · CVE.org (CNA)
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HSourcesAll 6 agree
- 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
Medium 6.8Preferred score · NVD (NIST)
AV:N/AC:M/Au:N/C:P/I:P/A:PSourcesSingle source
EPSS trend
Probability
1.90%
Chance of exploitation in the next 30 days
Percentile
79%
Versus all other CVEs
30-day change
0.00 pp
From 1.90% on 18-09-2026
18-09-202618-10-2026
EPSS score1.90%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
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
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.12.1+ds-2+deb10u1 | < 0.11-4+deb8u1 | < 0.11-4+deb8u2 | < 0.12.1-1.1+deb9u1 | < 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