# CVE-2020-12762

- Priority: **Prioritise**
- Reason: Public exploit (GitHub, Date unknown)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2020-05-09 · Modified: 2026-10-14
- Aliases: ALPINE-CVE-2020-12762, MGASA-2020-0240, MGASA-2023-0159, SUSE-SU-2022:0184-1, SUSE-SU-2022:0184-2, SUSE-SU-2022:3001-1, SUSE-SU-2023:2135-1, SUSE-SU-2024:1775-1, SUSE-SU-2024:1846-1, RHSA-2021:4382, RHSA-2023:6431, RHSA-2023:6976, RHSA-2024:0411, RHSA-2024:0573, RHSA-2024:1086, RHSA-2024:1154, UBUNTU-CVE-2020-12762, USN-4360-1, USN-4360-4, DEBIAN-CVE-2020-12762, DLA-2228-1, DLA-2228-2, DLA-2301-1, DLA-3461-1, DLA-4258-1, DSA-4741-1, openSUSE-SU-2022:0184-1
- Record: https://cvemate.com/vulnerability/CVE-2020-12762 · JSON: https://cvemate.com/vulnerability/CVE-2020-12762/json

## Description

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

## Signals

- CVSS: 7.8 high (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS: 1.888%, percentile 80.28%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 2 (github)

## Affected (first 20 of 65)

- alpine json-c (Alpine Linux): \< 0.13.1-r1 \| \< 0.14-r1
- alpine libfastjson (Alpine Linux): \< 1.2304.0-r0
- canonical ubuntu\_linux: 12.04 \| 14.04 \| 16.04 \| 18.04 \| 19.10 \| 20.04
- debian json-c (Debian): \< 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
- debian libfastjson (Debian): \< 0.99.8-2+deb10u1 \| \< 0.99.9-1+deb11u1 \| \< 1.2304.0-1
- ubuntu json-c (Ubuntu): \< 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
- debian debian\_linux: 8.0 \| 9.0 \| 10.0
- fedoraproject fedora: 30 \| 31 \| 32
- json-c json-c: \< 0.15-20200726
- mageia json-c (Mageia): \< 0.13.1-2.2.mga7
- mageia libfastjson (Mageia): \< 1.2304.0-1.mga8
- opensuse json-c&distro=openSUSE Leap 15.3 (openSUSE): \< 0.13-3.3.1
- opensuse libfastjson&distro=openSUSE Leap 15.4 (openSUSE): \< 0.99.9-150400.3.3.1
- redhat json-c (Red Hat): \< 0:0.13.1-2.el8
- redhat json-c-debuginfo (Red Hat): \< 0:0.13.1-2.el8
- redhat json-c-debugsource (Red Hat): \< 0:0.13.1-2.el8
- redhat json-c-devel (Red Hat): \< 0:0.13.1-2.el8
- redhat json-c-doc (Red Hat): \< 0:0.13.1-2.el8
- redhat libfastjson (Red Hat): \< 0:0.99.9-5.el9 \| \< 0:0.99.9-2.el8 \| \< 0:0.99.9-1.el8\_6.1 \| \< 0:0.99.9-1.el8\_8.1 \| \< 0:0.99.9-3.el9\_2.1 \| \< 0:0.99.9-3.el9\_0.1
- redhat libfastjson-debuginfo (Red Hat): \< 0:0.99.9-5.el9 \| \< 0:0.99.9-2.el8 \| \< 0:0.99.9-1.el8\_6.1 \| \< 0:0.99.9-1.el8\_8.1 \| \< 0:0.99.9-3.el9\_2.1 \| \< 0:0.99.9-3.el9\_0.1

## References (first 20 of 62)

- <https://github.com/json-c/json-c/pull/592>
- <https://github.com/rsyslog/libfastjson/issues/161>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CQQRRGBQCAWNCCJ2HN3W5SSCZ4QGMXQI/>
- <https://usn.ubuntu.com/4360-1/>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CBR36IXYBHITAZFB5PFBJTED22WO5ONB/>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/W226TSCJBEOXDUFVKNWNH7ETG7AR6MCS/>
- <https://lists.debian.org/debian-lts-announce/2020/05/msg00032.html>
- <https://lists.debian.org/debian-lts-announce/2020/05/msg00034.html>
- <https://usn.ubuntu.com/4360-4/>
- <https://security.gentoo.org/glsa/202006-13>
- <https://lists.debian.org/debian-lts-announce/2020/07/msg00031.html>
- <https://www.debian.org/security/2020/dsa-4741>
- <https://security.netapp.com/advisory/ntap-20210521-0001/>
- <https://cert-portal.siemens.com/productcert/pdf/ssa-637483.pdf>
- <https://lists.debian.org/debian-lts-announce/2023/06/msg00023.html>
- <https://lists.debian.org/debian-lts-announce/2025/07/msg00021.html>
- <https://security.alpinelinux.org/vuln/CVE-2020-12762>
- <https://advisories.mageia.org/MGASA-2020-0240.html>
- <https://bugs.mageia.org/show_bug.cgi?id=26623>
- <https://advisories.mageia.org/MGASA-2023-0159.html>

---

Data as of 2026-12-05T18:29:33.754Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
