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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | json-c | 0.13.1+dfsg-8 | — |
| Debian 14 | libfastjson | 1.2304.0-1 | — |
| Debian 13 | json-c | 0.13.1+dfsg-8 | — |
| Debian 13 | libfastjson | 1.2304.0-1 | — |
| Debian 12 | json-c | 0.13.1+dfsg-8 | — |
| Debian 12 | libfastjson | 1.2304.0-1 | — |
| Debian 11 | libfastjson | 0.99.9-1+deb11u1 | DLA-4258-1 |
| Debian 10 | json-c | 0.12.1+ds-2+deb10u1 | DSA-4741-1 |
| Debian 10 | libfastjson | 0.99.8-2+deb10u1 | DLA-3461-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 9 | json-c | 0.12.1-1.1+deb9u1 | DLA-2301-1 |
| Debian 8 | json-c | 0.11-4+deb8u1 | DLA-2228-2, DLA-2228-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | json-c | 0.13.1+dfsg-7ubuntu0.3 | USN-4360-4, USN-4360-1 |
| Ubuntu 18.04 LTS | json-c | 0.12.1-1.3ubuntu0.3 | USN-4360-4, USN-4360-1 |
| Ubuntu 16.04 LTS | json-c | 0.11-4ubuntu2.6 | USN-4360-4, USN-4360-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 14.04 LTS | json-c | 0.11-3ubuntu1.2+esm3 | USN-4360-4, USN-4360-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 9 | libfastjson +1 | 0.99.9-5.el9 | RHSA-2023:6431 |
| RHEL 8 | json-c +2 | 0.13.1-2.el8 | RHSA-2021:4382 |
| RHEL 8 | libfastjson | 0.99.9-2.el8 | RHSA-2023:6976 |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 9.2 EUS | libfastjson | 0.99.9-3.el9_2.1 | RHSA-2024:1086 |
| RHEL 9.0 EUS | libfastjson | 0.99.9-3.el9_0.1 | RHSA-2024:1154 |
| RHEL 8.8 EUS | libfastjson | 0.99.9-1.el8_8.1 | RHSA-2024:0573 |
| RHEL 8.6 EUS | libfastjson | 0.99.9-1.el8_6.1 | RHSA-2024:0411 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 9 | libfastjson +1 | 0.99.9-5.el9 | ALSA-2023:6431 |
| AlmaLinux 8 | json-c-doc +1 | 0.13.1-2.el8 | ALSA-2021:4382 |
| AlmaLinux 8 | libfastjson | 0.99.9-2.el8 | ALSA-2023:6976 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 9 | libfastjson | 0.99.9-5.el9 | RLSA-2023:6431 |
| Rocky Linux 8 | json-c | 0.13.1-2.el8 | RLSA-2021:4382 |
| Rocky Linux 8 | libfastjson | 0.99.9-2.el8 | RLSA-2023:6976 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP4 | libfastjson | 0.99.9-150400.3.3.1 | SUSE-SU-2023:2135-1 |
| SLES 15 SP3 | json-c | 0.13-3.3.1 | SUSE-SU-2022:0184-1 |
| SLES 15 SP3 | libfastjson | 0.99.8-150000.3.3.1 | SUSE-SU-2024:1775-1 |
| SLES 15 SP2 | json-c | 0.13-3.3.1 | SUSE-SU-2022:0184-1 |
| SLES 15 SP2 | libfastjson | 0.99.8-150000.3.3.1 | SUSE-SU-2024:1775-1 |
| SLES 15 SP1 | json-c | 0.13-3.3.1 | SUSE-SU-2022:0184-1 |
| SLES 15 | json-c | 0.13-3.3.1 | SUSE-SU-2022:0184-1 |
Show 25 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP5 | json-c | 0.12.1-4.3.1 | SUSE-SU-2022:3001-1 |
| SLES 12 SP5 | libfastjson | 0.99.8-3.6.1 | SUSE-SU-2024:1846-1 |
| SLES 12 SP4 | json-c | 0.12.1-4.3.1 | SUSE-SU-2022:3001-1 |
| SLES 12 SP3 | json-c | 0.12.1-4.3.1 | SUSE-SU-2022:3001-1 |
| SLES 12 SP2 | json-c | 0.12.1-4.3.1 | SUSE-SU-2022:3001-1 |
| SLES for SAP 15 SP3 | libfastjson | 0.99.8-150000.3.3.1 | SUSE-SU-2024:1775-1 |
| SLES for SAP 15 SP2 | json-c | 0.13-3.3.1 | SUSE-SU-2022:0184-1 |
| SLES for SAP 15 SP2 | libfastjson | 0.99.8-150000.3.3.1 | SUSE-SU-2024:1775-1 |
| SLES for SAP 15 SP1 | json-c | 0.13-3.3.1 | SUSE-SU-2022:0184-1 |
| SLES for SAP 15 | json-c | 0.13-3.3.1 | SUSE-SU-2022:0184-1 |
| SLES for SAP 12 SP5 | json-c | 0.12.1-4.3.1 | SUSE-SU-2022:3001-1 |
| SLES for SAP 12 SP5 | libfastjson | 0.99.8-3.6.1 | SUSE-SU-2024:1846-1 |
| SLES for SAP 12 SP4 | json-c | 0.12.1-4.3.1 | SUSE-SU-2022:3001-1 |
| SLE Real Time 15 SP2 | json-c | 0.13-3.3.1 | SUSE-SU-2022:0184-2 |
| SLE Micro 5.1 | json-c | 0.13-3.3.1 | SUSE-SU-2022:0184-1 |
| SLE Micro 5.0 | json-c | 0.13-3.3.1 | SUSE-SU-2022:0184-1 |
| SLE HPC 15 SP3 | libfastjson | 0.99.8-150000.3.3.1 | SUSE-SU-2024:1775-1 |
| SLE HPC 15 SP2 | json-c | 0.13-3.3.1 | SUSE-SU-2022:0184-1 |
| SLE HPC 15 SP2 | libfastjson | 0.99.8-150000.3.3.1 | SUSE-SU-2024:1775-1 |
| SLE HPC 15 SP1 | json-c | 0.13-3.3.1 | SUSE-SU-2022:0184-1 |
| SLE HPC 15 | json-c | 0.13-3.3.1 | SUSE-SU-2022:0184-1 |
| SUSE OpenStack Cloud Crowbar 9 | json-c | 0.12.1-4.3.1 | SUSE-SU-2022:3001-1 |
| SUSE OpenStack Cloud 9 | json-c | 0.12.1-4.3.1 | SUSE-SU-2022:3001-1 |
| SUSE Manager Server 4.1 | json-c | 0.13-3.3.1 | SUSE-SU-2022:0184-1 |
| SUSE Manager Retail Branch Server 4.1 | json-c | 0.13-3.3.1 | SUSE-SU-2022:0184-1 |
| SUSE Manager Proxy 4.1 | json-c | 0.13-3.3.1 | SUSE-SU-2022:0184-1 |
| SUSE Enterprise Storage 7.1 | libfastjson | 0.99.8-150000.3.3.1 | SUSE-SU-2024:1775-1 |
| SUSE Enterprise Storage 7 | json-c | 0.13-3.3.1 | SUSE-SU-2022:0184-1 |
| SUSE Enterprise Storage 6 | json-c | 0.13-3.3.1 | SUSE-SU-2022:0184-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap 15.4 | libfastjson | 0.99.9-150400.3.3.1 | SUSE-SU-2023:2135-1 |
| openSUSE Leap 15.3 | json-c | 0.13-3.3.1 | openSUSE-SU-2022:0184-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | json-c | 0.14-r1 | — |
| Alpine v3.24 | libfastjson | 1.2304.0-r0 | — |
| Alpine v3.23 | json-c | 0.14-r1 | — |
| Alpine v3.23 | libfastjson | 1.2304.0-r0 | — |
| Alpine v3.22 | json-c | 0.14-r1 | — |
| Alpine v3.22 | libfastjson | 1.2304.0-r0 | — |
| Alpine v3.21 | json-c | 0.14-r1 | — |
| Alpine v3.21 | libfastjson | 1.2304.0-r0 | — |
| Alpine v3.20 | json-c | 0.14-r1 | — |
| Alpine v3.20 | libfastjson | 1.2304.0-r0 | — |
Show 11 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | json-c | 0.14-r1 | — |
| Alpine v3.19 | libfastjson | 1.2304.0-r0 | — |
| Alpine v3.18 | json-c | 0.14-r1 | — |
| Alpine v3.18 | libfastjson | 1.2304.0-r0 | — |
| Alpine v3.17 | json-c | 0.14-r1 | — |
| Alpine v3.17 | libfastjson | 1.2304.0-r0 | — |
| Alpine v3.16 | json-c | 0.14-r1 | — |
| Alpine v3.16 | libfastjson | 1.2304.0-r0 | — |
| Alpine v3.15 | json-c | 0.14-r1 | — |
| Alpine v3.15 | libfastjson | 1.2304.0-r0 | — |
| Alpine v3.14 | json-c | 0.14-r1 | — |
| Alpine v3.13 | json-c | 0.14-r1 | — |
| Alpine v3.12 | json-c | 0.14-r1 | — |
| Alpine v3.11 | json-c | 0.13.1-r1 | — |
| Alpine v3.10 | json-c | 0.13.1-r1 | — |
| Alpine v3.9 | json-c | 0.13.1-r1 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | json-c +2 | 0.14-8.amzn2023.0.2 | ALAS2023-2023-232 |
| Amazon Linux 2023 | libfastjson +1 | 0.99.9-1.amzn2023.0.3 | ALAS2023-2023-205 |
| Amazon Linux 2 | json-c +2 | 0.11-4.amzn2.0.4 | ALAS2-2020-1442 |
| Amazon Linux 2 | libfastjson +1 | 0.99.4-3.amzn2.0.1 | ALAS2-2023-2079 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 2 (CBL-Mariner) | json-c | 0.15-2 | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 9 | libfastjson +1 | 0.99.9-5.el9 | ELSA-2023-6431 |
| Oracle Linux 8 | json-c +2 | 0.13.1-2.el8 | ELSA-2021-4382 |
| Oracle Linux 8 | libfastjson | 0.99.9-2.el8 | ELSA-2023-6976 |
Advisories 46
- ALSA-2023:6431 Moderate: libfastjson security update AlmaLinux Security Advisories · Nov 5, 2026
- ALSA-2023:6976 Moderate: libfastjson security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2021:4382 Moderate: json-c security and bug fix update AlmaLinux Security Advisories · Oct 29, 2026
- SSA-398330 SSA-398330: Vulnerabilities in the additional GNU/Linux subsystem of the SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP >= V3.1.0 and < V3.1.5 Siemens ProductCERT · Oct 13, 2026
- SSA-794697 SSA-794697: Vulnerabilities in the Additional GNU/Linux Subsystem of the SIMATIC S7-1500 TM MFP Before V1.1 Siemens ProductCERT · Oct 13, 2026
- WID-SEC-2024-0794 Dell ECS: Mehrere Schwachstellen BSI CERT-Bund (WID) · Aug 11, 2026
- USN-4360-1 json-c vulnerability Ubuntu Security Notices (USN) · Jun 29, 2026
- USN-4360-4 json-c vulnerability Ubuntu Security Notices (USN) · Jun 29, 2026
- WID-SEC-2022-0571 Red Hat Enterprise Linux: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jun 28, 2026
- RHSA-2024:1154 Red Hat Security Advisory: libfastjson security update Red Hat Security Advisories (RHSA) · Jun 27, 2026
- RHSA-2024:1086 Red Hat Security Advisory: libfastjson security update Red Hat Security Advisories (RHSA) · Jun 27, 2026
- RHSA-2024:0573 Red Hat Security Advisory: libfastjson security update Red Hat Security Advisories (RHSA) · Jun 27, 2026
- RHSA-2024:0411 Red Hat Security Advisory: libfastjson security update Red Hat Security Advisories (RHSA) · Jun 27, 2026
- RHSA-2023:6976 Red Hat Security Advisory: libfastjson security update Red Hat Security Advisories (RHSA) · Jun 27, 2026
- RHSA-2023:6431 Red Hat Security Advisory: libfastjson security update Red Hat Security Advisories (RHSA) · Jun 27, 2026
- RHSA-2021:4382 Red Hat Security Advisory: json-c security and bug fix update Red Hat Security Advisories (RHSA) · Jun 27, 2026
- RLSA-2023:6976 Moderate: libfastjson security update Rocky Linux Security Advisories · Jun 27, 2026
- RLSA-2023:6431 Moderate: libfastjson security update Rocky Linux Security Advisories · Jun 25, 2026
- DLA-4258-1 libfastjson - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-4741-1 json-c - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-2228-1 json-c - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-2301-1 json-c - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-3461-1 libfastjson - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-2228-2 json-c - regression update Debian Security (DSA / DLA) · Mar 9, 2026
- RLSA-2021:4382 Moderate: json-c security and bug fix update Rocky Linux Security Advisories · Feb 5, 2026
- SUSE-SU-2024:1775-1 Security update for libfastjson SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2024:1846-1 Security update for libfastjson SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:0184-2 Security update for json-c SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:2135-1 Security update for libfastjson SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:3001-1 Security update for json-c SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2022:0184-1 Security update for json-c SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:0184-1 Security update for json-c SUSE / openSUSE Security Updates · Feb 4, 2026
- NCSC-2025-0382 Kwetsbaarheden verholpen in Siemens producten NCSC-NL (Netherlands) · Dec 9, 2025
- SSA-202008 SSA-202008: Multiple Vulnerabilities in Ruggedcom Rox Before V2.17.0 Siemens ProductCERT · Dec 9, 2025
- WID-SEC-2025-0225 Dell PowerProtect Data Domain: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 1, 2025
- ICSA-23-348-10 Siemens SIMATIC S7-1500 CISA ICS & IT advisories · Aug 12, 2025
- ICSA-23-166-11 Siemens SIMATIC S7-1500 TM MFP Linux Kernel CISA ICS & IT advisories · Apr 9, 2024
- ELSA-2023-6976 Moderate: libfastjson security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Nov 17, 2023
- ELSA-2023-6431 Moderate: libfastjson security update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · Nov 11, 2023
- ALAS2023-2023-232 Important: json-c security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Jun 27, 2023
- ALAS2-2023-2079 Moderate: libfastjson security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Jun 7, 2023
- ALAS2023-2023-205 Moderate: libfastjson security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Jun 7, 2023
- ICSA-22-258-05 Siemens SINEC INS CISA ICS & IT advisories · Sep 13, 2022
- SSA-637483 SSA-637483 Third-Party Component Vulnerabilities in SINEC INS before V1.0 SP2 Siemens ProductCERT · Sep 13, 2022
- ELSA-2021-4382 Moderate: json-c security and bug fix update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Nov 16, 2021
- ALAS2-2020-1442 Moderate: json-c security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Jul 1, 2020
References
- https://github.com/json-c/json-c/pull/592
- https://github.com/rsyslog/libfastjson/issues/161
- FEDORA-2020-63c6f4ab1d vendor-advisory
- USN-4360-1 vendor-advisory
- FEDORA-2020-847ad856ab vendor-advisory
- FEDORA-2020-7eb7eac270 vendor-advisory
- [debian-lts-announce] 20200531 [SECURITY] [DLA 2228-1] json-c security update mailing-list
- [debian-lts-announce] 20200531 [SECURITY] [DLA 2228-2] json-c regression update mailing-list
- USN-4360-4 vendor-advisory
- GLSA-202006-13 vendor-advisory
- [debian-lts-announce] 20200730 [SECURITY] [DLA 2301-1] json-c security update mailing-list
- DSA-4741 vendor-advisory
- https://security.netapp.com/advisory/ntap-20210521-0001/
- https://cert-portal.siemens.com/productcert/pdf/ssa-637483.pdf
- [debian-lts-announce] 20230620 [SECURITY] [DLA 3461-1] libfastjson security update mailing-list