CVE-2013-6370
NoneCVSS
—
EPSS
4.3%
Published
Apr 22, 2014
CISA due date
—
Cloudanix analysis
A long-standing flaw in a common JSON processing library can let attackers knock services offline by sending specially crafted data.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- Library
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Buffer overflow in the printbuf APIs allows memory corruption that leads to application crashes when processing attacker-controlled input.
Why it matters to the business
Applications relying on the affected library can be forced offline, disrupting services that parse JSON data and requiring emergency restarts or patches.
How an attack unfolds
An attacker supplies a malicious JSON payload that overflows internal buffers in the printbuf functions; because the flaw is remotely triggerable with low complexity and public exploits exist, the input causes immediate denial of service without authentication.
How to fix it
Upgrade json-c to version 0.12 or later on all affected systems; rebuild and redeploy any applications statically linked against older versions.
How to confirm the fix worked
Query installed package versions with package managers or library metadata; confirm that no binaries or containers still reference json-c releases prior to 0.12.
Typical attack path
- Identify a network endpoint or service that uses the vulnerable json-c library to parse JSON
- Craft a payload that triggers the printbuf buffer overflow
- Send the payload over the network
- Observe service crash or repeated restarts confirming denial of service
How to detect it
Review application and system logs for unexpected crashes or segmentation faults in processes that parse JSON; correlate with inbound network traffic containing large or malformed JSON objects around the time of the incident.
What your security team should do
- Prioritize inventory of all systems using json-c and schedule upgrades within normal change windows given the age of the issue
- Add version checks for json-c to continuous integration and container scanning pipelines
- Monitor EPSS trend for any future increase that would elevate patching priority
The record
Buffer overflow in the printbuf APIs in json-c before 0.12 allows remote attackers to cause a denial of service via unspecified vectors.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | json-c | 0 | 0.11-4 |
| Debian:12 | json-c | 0 | 0.11-4 |
| Debian:13 | json-c | 0 | 0.11-4 |
| Debian:14 | json-c | 0 | 0.11-4 |
| Mageia:3 | json-c | 0 | 0.11-1.mga3 |
| Mageia:4 | json-c | 0 | 0.11-3.1.mga4 |
| Red Hat:enterprise_linux:7::client | json-c | 0 | 0:0.11-4.el7_0 |
| Red Hat:enterprise_linux:7::client | json-c-debuginfo | 0 | 0:0.11-4.el7_0 |
| Red Hat:enterprise_linux:7::client | json-c-devel | 0 | 0:0.11-4.el7_0 |
| Red Hat:enterprise_linux:7::client | json-c-doc | 0 | 0:0.11-4.el7_0 |
| Red Hat:enterprise_linux:7::computenode | json-c | 0 | 0:0.11-4.el7_0 |
| Red Hat:enterprise_linux:7::computenode | json-c-debuginfo | 0 | 0:0.11-4.el7_0 |
| Red Hat:enterprise_linux:7::computenode | json-c-devel | 0 | 0:0.11-4.el7_0 |
| Red Hat:enterprise_linux:7::computenode | json-c-doc | 0 | 0:0.11-4.el7_0 |
| Red Hat:enterprise_linux:7::server | json-c | 0 | 0:0.11-4.el7_0 |
| Red Hat:enterprise_linux:7::server | json-c-debuginfo | 0 | 0:0.11-4.el7_0 |
| Red Hat:enterprise_linux:7::server | json-c-devel | 0 | 0:0.11-4.el7_0 |
| Red Hat:enterprise_linux:7::server | json-c-doc | 0 | 0:0.11-4.el7_0 |
| Red Hat:enterprise_linux:7::workstation | json-c | 0 | 0:0.11-4.el7_0 |
| Red Hat:enterprise_linux:7::workstation | json-c-debuginfo | 0 | 0:0.11-4.el7_0 |
| Red Hat:enterprise_linux:7::workstation | json-c-devel | 0 | 0:0.11-4.el7_0 |
| Red Hat:enterprise_linux:7::workstation | json-c-doc | 0 | 0:0.11-4.el7_0 |
| Ubuntu:14.04:LTS | json-c | 0 | 0.11-3ubuntu1.2 |
| openSUSE:Tumbleweed | json-c | 0 | 0.12.1-1.3 |
| openSUSE:Tumbleweed | rsyslog | 0 | 8.23.0-2.1 |
Related vulnerabilities
- CVE-2014-3634 rsyslog before 7.6.6 and 8.x before 8.4.1 and sysklogd 1.5 and earlier allows remote… Also affects rsyslog
- CVE-2011-3200 Stack-based buffer overflow in the parseLegacySyslogMsg function in tools/syslogd.c in… Also affects rsyslog
- CVE-2026-112108 A vulnerability was determined in ztxz16 fastllm up to 0.1.8.2. CWE-119
- CVE-2026-112073 A vulnerability was identified in Tencent ncnn up to 44b02dabdcf97499281a4692ebd65bad73dc… CWE-119
- CVE-2026-90831 A vulnerability was detected in GNU Binutils 2.47. CWE-119
- CVE-2026-90804 A vulnerability was detected in GNU Binutils 2.47. CWE-119
- CVE-2026-90803 A security vulnerability has been detected in GNU Binutils 2.47. CWE-119
- CVE-2026-90801 A security flaw has been discovered in GNU Binutils 2.47. CWE-119