CVEfocus › CVE database › CVE-2020-12762

CVE-2020-12762

CVSS 7.8 HighEPSS 1.9% (higher than 80% of CVEs)Published 2020-05-09Updated 2026-10-14Assigner: mitre

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

CWE-787

What to do

Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

49Fixed
1Fix pending
6Will not fix
3Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 20.04json-cFixed0.13.1+dfsg-7ubuntu0.3UBUNTU-CVE-2020-12762
Ubuntu 18.04json-cFixed0.12.1-1.3ubuntu0.3UBUNTU-CVE-2020-12762
Ubuntu 16.04json-cFixed0.11-4ubuntu2.6UBUNTU-CVE-2020-12762
Ubuntu 14.04json-cFix pending0.11-3ubuntu1.2+esm3 (Ubuntu Pro)UBUNTU-CVE-2020-12762
Debian 14json-cFixed0.13.1+dfsg-8DEBIAN-CVE-2020-12762
Debian 14libfastjsonFixed1.2304.0-1DEBIAN-CVE-2020-12762
Debian 13json-cFixed0.13.1+dfsg-8DEBIAN-CVE-2020-12762
Debian 13libfastjsonFixed1.2304.0-1DEBIAN-CVE-2020-12762
Debian 12json-cFixed0.13.1+dfsg-8DEBIAN-CVE-2020-12762
Debian 12libfastjsonFixed1.2304.0-1DEBIAN-CVE-2020-12762
Red Hat Enterprise Linux 9json-cNot affected
Red Hat Enterprise Linux 9json-c-develNot affected
Red Hat Enterprise Linux 9json-c-docNot affected
Red Hat Enterprise Linux 9libfastjsonFixed0:0.99.9-5.el9RHSA-2023:6431
Red Hat Enterprise Linux 9libfastjson-develFixed0:0.99.9-5.el9RHSA-2023:6431
Red Hat Enterprise Linux 8json-cFixed0:0.13.1-2.el8RHSA-2021:4382
Red Hat Enterprise Linux 8json-c-develFixed0:0.13.1-2.el8RHSA-2021:4382
Red Hat Enterprise Linux 8json-c-docFixed0:0.13.1-2.el8RHSA-2021:4382
Red Hat Enterprise Linux 8libfastjsonFixed0:0.99.9-2.el8RHSA-2023:6976
Red Hat Enterprise Linux 7json-cWill not fix
Will not fix
Red Hat Enterprise Linux 7json-c-develWill not fix
Will not fix
Red Hat Enterprise Linux 7json-c-docWill not fix
Will not fix
Red Hat Enterprise Linux 6json-cWill not fix
Will not fix
Red Hat Enterprise Linux 6json-c-develWill not fix
Will not fix
Red Hat Enterprise Linux 6json-c-docWill not fix
Will not fix
AlmaLinux 9libfastjsonFixed0.99.9-5.el9ALSA-2023:6431
AlmaLinux 9libfastjson-develFixed0.99.9-5.el9ALSA-2023:6431
AlmaLinux 8json-c-develFixed0.13.1-2.el8ALSA-2021:4382
AlmaLinux 8json-c-docFixed0.13.1-2.el8ALSA-2021:4382
AlmaLinux 8libfastjsonFixed0.99.9-2.el8ALSA-2023:6976
Rocky Linux 9libfastjsonFixed0:0.99.9-5.el9RLSA-2023:6431
Rocky Linux 8json-cFixed0:0.13.1-2.el8RLSA-2021:4382
Rocky Linux 8libfastjsonFixed0:0.99.9-2.el8RLSA-2023:6976
Alpine Linux 3.24json-cFixed0.14-r1ALPINE-CVE-2020-12762
Alpine Linux 3.24libfastjsonFixed1.2304.0-r0ALPINE-CVE-2020-12762
Alpine Linux 3.23json-cFixed0.14-r1ALPINE-CVE-2020-12762
Alpine Linux 3.23libfastjsonFixed1.2304.0-r0ALPINE-CVE-2020-12762
Alpine Linux 3.22json-cFixed0.14-r1ALPINE-CVE-2020-12762
Alpine Linux 3.22libfastjsonFixed1.2304.0-r0ALPINE-CVE-2020-12762
Alpine Linux 3.21json-cFixed0.14-r1ALPINE-CVE-2020-12762
Alpine Linux 3.21libfastjsonFixed1.2304.0-r0ALPINE-CVE-2020-12762
Alpine Linux 3.20json-cFixed0.14-r1ALPINE-CVE-2020-12762
Alpine Linux 3.20libfastjsonFixed1.2304.0-r0ALPINE-CVE-2020-12762
Alpine Linux 3.19json-cFixed0.14-r1ALPINE-CVE-2020-12762
Alpine Linux 3.19libfastjsonFixed1.2304.0-r0ALPINE-CVE-2020-12762
Alpine Linux 3.18json-cFixed0.14-r1ALPINE-CVE-2020-12762
Alpine Linux 3.18libfastjsonFixed1.2304.0-r0ALPINE-CVE-2020-12762
Alpine Linux 3.17json-cFixed0.14-r1ALPINE-CVE-2020-12762
Alpine Linux 3.17libfastjsonFixed1.2304.0-r0ALPINE-CVE-2020-12762
Alpine Linux 3.16json-cFixed0.14-r1ALPINE-CVE-2020-12762
Alpine Linux 3.16libfastjsonFixed1.2304.0-r0ALPINE-CVE-2020-12762
Alpine Linux 3.15json-cFixed0.14-r1ALPINE-CVE-2020-12762
Alpine Linux 3.15libfastjsonFixed1.2304.0-r0ALPINE-CVE-2020-12762
Alpine Linux 3.14json-cFixed0.14-r1ALPINE-CVE-2020-12762
Alpine Linux 3.13json-cFixed0.14-r1ALPINE-CVE-2020-12762
Alpine Linux 3.12json-cFixed0.14-r1ALPINE-CVE-2020-12762
Alpine Linux 3.11json-cFixed0.13.1-r1ALPINE-CVE-2020-12762
Alpine Linux 3.10json-cFixed0.13.1-r1ALPINE-CVE-2020-12762
Alpine Linux 3.9json-cFixed0.13.1-r1ALPINE-CVE-2020-12762

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.