Description
An issue was discovered in json-c from 20200420 (post 0.14 unreleased code) through 0.15-20200726. A stack-buffer-overflow exists in the auxiliary sample program json_parse which is located in the function parseit.
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.16-1 | — |
| Debian 13 | json-c | 0.16-1 | — |
| Debian 12 | json-c | 0.16-1 | — |
| Debian 11 | json-c | 0.15-2+deb11u1 | DSA-5486-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 22.04 LTS | json-c | 0.15-3~ubuntu1.22.04.2 | USN-6310-1 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 2 (CBL-Mariner) | json-c | 0.15-2 | — |
Advisories 4
- 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
- USN-6310-1 json-c vulnerability Ubuntu Security Notices (USN) · Apr 22, 2026
- DSA-5486-1 json-c - security update Debian Security (DSA / DLA) · Mar 9, 2026
- ICSA-23-348-10 Siemens SIMATIC S7-1500 CISA ICS & IT advisories · Aug 12, 2025