SecurityContext

CVE-2020-12762: json-c - Integer Overflow

  • Cve: CVE-2020-12762
  • Name: json-c - Integer Overflow
  • 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.
  • Impact: Attackers can cause memory corruption or application crashes, potentially leading to denial of service or arbitrary code execution.
  • Remediation: Update to the latest version of json-c that addresses this vulnerability, or apply patches that fix the integer overflow and memory safety issues.
  • Vulnerability type: integer_overflow
  • Vulnerability impact: remote_code_execution, denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.8
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
  • Epss score: 0.01888
  • Epss percentile: 0.80079
  • Assignee: [email protected]
  • Published at: 2020-05-09T18:15:11Z
  • Age in days: 2390
  • Modified at: 2026-10-14T10:17:26Z
  • Patch available: yes
  • Public exploits total: 2
  • References total: 20
  • Products total: 5
  • Oss: yes
  • Projects total: 2
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2020-12762
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-190Integer Overflow or Wraparound
CWE-787Out-of-bounds Write

Public exploits

UrlSourceAdded date
https://github.com/json-c/json-c/pull/592nvd2020-05-09
https://github.com/rsyslog/libfastjson/issues/161nvd2020-05-09

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/json-c/json-c/pull/592Exploit, Patch, Third Party Advisory
https://github.com/rsyslog/libfastjson/issues/161Exploit, Third Party Advisory
https://cert-portal.siemens.com/productcert/pdf/ssa-637483.pdfThird Party Advisory
https://lists.debian.org/debian-lts-announce/2020/05/msg00032.htmlMailing List, Third Party Advisory
https://lists.debian.org/debian-lts-announce/2020/05/msg00034.htmlMailing List, Third Party Advisory
https://lists.debian.org/debian-lts-announce/2020/07/msg00031.htmlMailing List, Third Party Advisory
https://lists.debian.org/debian-lts-announce/2023/06/msg00023.htmlThird Party Advisory
https://security.gentoo.org/glsa/202006-13Third Party Advisory
https://security.netapp.com/advisory/ntap-20210521-0001/Third Party Advisory
https://usn.ubuntu.com/4360-1/Third Party Advisory

Products

Same in every row:

  • Platform bound: no
  • Sources: nvd
ProductAffectedUrl
json-c:json-c< 0.15-20200726/v1/products/json-c/json-c
debian:debian_linux= 10.0, = 9.0, = 8.0/v1/products/debian/debian_linux
fedoraproject:fedora= 32, = 31, = 30/v1/products/fedoraproject/fedora
canonical:ubuntu_linux= 20.04, = 19.10, = 18.04, = 16.04, = 14.04, = 12.04/v1/products/canonical/ubuntu_linux
siemens:sinec_insall versions, = 1.0, = 1.0 sp1/v1/products/siemens/sinec_ins

Projects

RepositoryLink kindsIndexedUrl
json-c/json-cpullyes/v1/repositories/json-c/json-c
rsyslog/libfastjsonfix, issuesyes/v1/repositories/rsyslog/libfastjson

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 2
  • Public exploit first date: 2020-05-09
  • Exposed hosts: 21216412
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports