CVE-2020-12762 in Canonical Ubuntu Linux and 28 more products
json-c through 0.14 has an integer overflow and out-of-bounds write via a large JSON file, as demonstrated by printbuf_memappend.
Affects 29 products from 5 vendors. Description from NVD and MITRE.
Requires local access, low complexity, no authentication required, requires user interaction, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Canonical | Ubuntu Linux | 12.04 14.04 16.04 18.04 19.10 20.04 |
| Debian | Debian Linux | 8.0 9.0 10.0 |
| Fedoraproject | Fedora | 30 31 32 |
| Json-C | Json-C | < 0.15-20200726 |
| Siemens | RUGGEDCOM Rox RX1400 (device and firmware) | < 2.17.0 |
| Siemens | RUGGEDCOM Rox RX1500 (device and firmware) | < 2.17.0 |
| Siemens | RUGGEDCOM Rox RX1501 (device and firmware) | < 2.17.0 |
| Siemens | RUGGEDCOM Rox RX1510 (device and firmware) | < 2.17.0 |
| Siemens | RUGGEDCOM Rox RX1511 (device and firmware) | < 2.17.0 |
| Siemens | RUGGEDCOM Rox RX1512 (device and firmware) | < 2.17.0 |
| Siemens | RUGGEDCOM Rox RX5000 (device and firmware) | < 2.17.0 |
| Siemens | SINEC Ins | < 1.0 SP2 |
| Siemens | RUGGEDCOM Rox RX1524 (device and firmware) | < 2.17.0 |
| Siemens | RUGGEDCOM Rox RX1536 (device and firmware) | < 2.17.0 |
| Siemens | RUGGEDCOM Rox MX5000RE (device and firmware) | < 2.17.0 |
| Siemens | SIMATIC S7-1500 Tm Mfp (device and firmware) | < 1.1 |
| Siemens | RUGGEDCOM Rox MX5000 (device and firmware) | < 2.17.0 |
| Siemens | S7-1500 Cpu Firmware | ≥ 3.1.0, < 3.1.5 |
| Siemens | Simatic Cpu 1518F-4 Firmware | ≥ 3.1.0, < 3.1.5 |
| Siemens | Simatic S7-1500 Cpu 1518-4 Pn/Dp Mfp Firmware | ≥ 3.1.0, < 3.1.5 |
| Siemens | Simatic S7-1500 Cpu 1518-4 Pn Firmware | ≥ 3.1.0, < 3.1.5 |
| Siemens | Simatic S7-1500 Cpu 1518F-4 Firmware | ≥ 3.1.0, < 3.1.5 |
| Siemens | Simatic S7-1500 Cpu 1518F-4 Pn/Dp Mfp Firmware | ≥ 3.1.0, < 3.1.5 |
| Siemens | Siplus S7-1500 Cpu 1518-4 Pn/Dp Mfp Firmware | ≥ 3.1.0, < 3.1.5 |
Fix and vendor advisory
- SINEC INS: Update to V1.0 SP2 or later version
Source: ICSA-22-258-05
- SIMATIC S7-1500 TM MFP - GNU/Linux subsystem: Update to V1.1 or later version
Source: ICSA-23-166-11
- SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0), SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0), SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) and 2 more: Update to V3.1.5 or later version
Source: ICSA-23-348-10
- RUGGEDCOM ROX MX5000, RUGGEDCOM ROX MX5000RE, RUGGEDCOM ROX RX1400 and 8 more: Update to V2.17.0 or later version
Source: SSA-202008
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Record details
| CVE ID | CVE-2020-12762 |
|---|---|
| BreachSpider ID | BS-2020-GLOBAL-144752-H |
| CVSS vector | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| Published | 2020-05-09 |
| Last modified | 2026-10-14 |
| Weakness (CWE) | |
| Source | NVD |
Compensating controls AI-drafted, review before use
Implement input validation and size limits on JSON files processed by applications using json-c. Ensure that all JSON parsing operations are performed in a sandboxed environment to prevent potential code execution.
NERC CIP: CIP-007 CIP-007-R2
IEC 62443: SR 7.6
Not validated for your network. A compensating control does not replace the vendor fix.
Check devices from your own code or AI agent: free 14-day trial
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-14.