Vulnerabilities

CVE-2020-12762

High 7.8 CVSS 3.1

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.

Description as published by the source, in English.

Key facts

Published
2020-05-09
Last modified
2026-10-14
Assigned by
cve@mitre.org
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Scored by
nvd@nist.gov (NVD Primary)
Probability of exploitation
1.9 % higher than 77 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Yes, see references

Affected products

Vendor Product Versions Status
Canonical Ubuntu Linux 12.04 Affected
Canonical Ubuntu Linux 14.04 Affected
Canonical Ubuntu Linux 16.04 Affected
Canonical Ubuntu Linux 18.04 Affected
Canonical Ubuntu Linux 19.10 Affected
Canonical Ubuntu Linux 20.04 Affected
Debian Debian Linux 10.0 Affected
Debian Debian Linux 8.0 Affected
Debian Debian Linux 9.0 Affected
Fedoraproject Fedora 30 Affected
Fedoraproject Fedora 31 Affected
Fedoraproject Fedora 32 Affected
Json-c Json-c < 0.15-20200726 Affected
Siemens Sinec Ins all versions listed Affected
Siemens Sinec Ins 1.0 Affected

Weakness type

  • CWE-190: Integer Overflow or Wraparound

    The 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 i…

  • CWE-787: Out-of-bounds Write

    The product writes data past the end, or before the beginning, of the intended buffer.

References

Related at Berigo

Articles

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities