# CVE-2020-12762: json-c: JSON-C implements a reference counting object model that allows users to easily construct JavaScript Object Notation...

CVE-2020-12762 is fixed in 11 products on 1 platform, first by libjson-c3 0.12.1-1.3ubuntu0.3, released May 9, 2020. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2020-12762
- Priority: High
- CVSS: 7.8 (Moderate)
- EPSS: 0.0190
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: May 9, 2020

## Description

JSON-C implements a reference counting object model that allows users to easily construct JavaScript Object Notation (JSON) objects in C, output them as JSON formatted strings, and parse JSON formatted strings back into the C representation of JSON objects.  Security Fix(es):  * json-c: integer overflow and out-of-bounds write via a large JSON file (CVE-2020-12762)  For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.  Additional Changes:  For detailed information on changes in this release, see the Red Hat Enterprise Linux 8.5 Release Notes linked from the References section.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | json-c RHEL 8 | 0:0.13.1-2.el8 | [RHSA-2021:4382](https://patchblox.com/security/data/fix/linux/rhsa-2021-4382.md) | Nov 9, 2021 |
| Linux | json-c amzn 2023 | 0.14-8.amzn2023.0.2 | [ALAS2023-2023-232](https://patchblox.com/security/data/fix/linux/alas2023-2023-232.md) | Jun 21, 2023 |
| Linux | json-c ol 8 | 0:0.13.1-2.el8 | [ELSA-2021-4382](https://patchblox.com/security/data/fix/linux/elsa-2021-4382.md) | Nov 16, 2021 |
| Linux | json-c rocky 8 | 0:0.13.1-2.el8 | [RLSA-2021:4382](https://patchblox.com/security/data/fix/linux/rlsa-2021-4382.md) | Nov 9, 2021 |
| Linux | json-c-debuginfo amzn 2023 | 0.14-8.amzn2023.0.2 | [ALAS2023-2023-232](https://patchblox.com/security/data/fix/linux/alas2023-2023-232.md) | Jun 21, 2023 |
| Linux | json-c-debugsource amzn 2023 | 0.14-8.amzn2023.0.2 | [ALAS2023-2023-232](https://patchblox.com/security/data/fix/linux/alas2023-2023-232.md) | Jun 21, 2023 |
| Linux | json-c-devel RHEL 8 | 0:0.13.1-2.el8 | [RHSA-2021:4382](https://patchblox.com/security/data/fix/linux/rhsa-2021-4382.md) | Nov 9, 2021 |
| Linux | json-c-devel almalinux 8 | 0.13.1-2.el8 | [ALSA-2021:4382](https://patchblox.com/security/data/fix/linux/alsa-2021-4382.md) | Nov 9, 2021 |
| Linux | json-c-devel amzn 2023 | 0.14-8.amzn2023.0.2 | [ALAS2023-2023-232](https://patchblox.com/security/data/fix/linux/alas2023-2023-232.md) | Jun 21, 2023 |
| Linux | json-c-devel ol 8 | 0:0.13.1-2.el8 | [ELSA-2021-4382](https://patchblox.com/security/data/fix/linux/elsa-2021-4382.md) | Nov 16, 2021 |
| Linux | json-c-doc RHEL 8 | 0:0.13.1-2.el8 | [RHSA-2021:4382](https://patchblox.com/security/data/fix/linux/rhsa-2021-4382.md) | Nov 9, 2021 |
| Linux | json-c-doc almalinux 8 | 0.13.1-2.el8 | [ALSA-2021:4382](https://patchblox.com/security/data/fix/linux/alsa-2021-4382.md) | Nov 9, 2021 |
| Linux | json-c-doc amzn 2023 | 0.14-8.amzn2023.0.2 | [ALAS2023-2023-232](https://patchblox.com/security/data/fix/linux/alas2023-2023-232.md) | Jun 21, 2023 |
| Linux | json-c-doc ol 8 | 0:0.13.1-2.el8 | [ELSA-2021-4382](https://patchblox.com/security/data/fix/linux/elsa-2021-4382.md) | Nov 16, 2021 |
| Linux | libfastjson Debian 11.6 (bullseye) | 0.99.9-1+deb11u1 | [DLA-4258-1](https://patchblox.com/security/data/fix/linux/dla-4258-1.md) | Jul 28, 2025 |
| Linux | libfastjson RHEL 8 | 0:0.99.9-2.el8 | [RHSA-2023:6976](https://patchblox.com/security/data/fix/linux/rhsa-2023-6976.md) | Nov 14, 2023 |
| Linux | libfastjson RHEL 9 | 0:0.99.9-5.el9 | [RHSA-2023:6431](https://patchblox.com/security/data/fix/linux/rhsa-2023-6431.md) | Nov 7, 2023 |
| Linux | libfastjson almalinux 8 | 0.99.9-2.el8 | [ALSA-2023:6976](https://patchblox.com/security/data/fix/linux/alsa-2023-6976.md) | Nov 14, 2023 |
| Linux | libfastjson almalinux 9 | 0.99.9-5.el9 | [ALSA-2023:6431](https://patchblox.com/security/data/fix/linux/alsa-2023-6431.md) | Nov 7, 2023 |
| Linux | libfastjson amzn 2023 | 0.99.9-1.amzn2023.0.3 | [ALAS2023-2023-205](https://patchblox.com/security/data/fix/linux/alas2023-2023-205.md) | Jun 5, 2023 |
| Linux | libfastjson ol 8 | 0:0.99.9-2.el8 | [ELSA-2023-6976](https://patchblox.com/security/data/fix/linux/elsa-2023-6976.md) | Nov 17, 2023 |
| Linux | libfastjson ol 9 | 0:0.99.9-5.el9 | [ELSA-2023-6431](https://patchblox.com/security/data/fix/linux/elsa-2023-6431.md) | Nov 11, 2023 |
| Linux | libfastjson rocky 8 | 0:0.99.9-2.el8 | [RLSA-2023:6976](https://patchblox.com/security/data/fix/linux/rlsa-2023-6976.md) | Jun 27, 2026 |
| Linux | libfastjson rocky 9 | 0:0.99.9-5.el9 | [RLSA-2023:6431](https://patchblox.com/security/data/fix/linux/rlsa-2023-6431.md) | Jun 25, 2026 |
| Linux | libfastjson-debuginfo amzn 2023 | 0.99.9-1.amzn2023.0.3 | [ALAS2023-2023-205](https://patchblox.com/security/data/fix/linux/alas2023-2023-205.md) | Jun 5, 2023 |
| Linux | libfastjson-debugsource amzn 2023 | 0.99.9-1.amzn2023.0.3 | [ALAS2023-2023-205](https://patchblox.com/security/data/fix/linux/alas2023-2023-205.md) | Jun 5, 2023 |
| Linux | libfastjson-devel RHEL 9 | 0:0.99.9-5.el9 | [RHSA-2023:6431](https://patchblox.com/security/data/fix/linux/rhsa-2023-6431.md) | Nov 7, 2023 |
| Linux | libfastjson-devel almalinux 9 | 0.99.9-5.el9 | [ALSA-2023:6431](https://patchblox.com/security/data/fix/linux/alsa-2023-6431.md) | Nov 7, 2023 |
| Linux | libfastjson-devel amzn 2023 | 0.99.9-1.amzn2023.0.3 | [ALAS2023-2023-205](https://patchblox.com/security/data/fix/linux/alas2023-2023-205.md) | Jun 5, 2023 |
| Linux | libfastjson-devel ol 9 | 0:0.99.9-5.el9 | [ELSA-2023-6431](https://patchblox.com/security/data/fix/linux/elsa-2023-6431.md) | Nov 11, 2023 |
| Linux | libjson-c3 Ubuntu 18.04.6 LTS (bionic) | 0.12.1-1.3ubuntu0.3 | [libjson-c3 0.12.1-1.3ubuntu0.3](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libjson-c3-0.12.1-1.3ubuntu0.3.md) | May 9, 2020 |
| Linux | libjson-c4 Ubuntu 20.04 LTS (focal) | 0.13.1+dfsg-7ubuntu0.3 | [libjson-c4 0.13.1+dfsg-7ubuntu0.3](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libjson-c4-0.13.1-dfsg-7ubuntu0.3.md) | May 9, 2020 |

---

Data as of 2026-11-08T06:59:42Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
