DEBIAN-CVE-2026-16554

Source
https://security-tracker.debian.org/tracker/CVE-2026-16554
Import Source
https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-16554.json
JSON Data
https://api.osv.dev/v1/vulns/DEBIAN-CVE-2026-16554
Upstream
Published
2026-07-27T09:16:37Z
Modified
2026-09-14T17:02:48Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

cJSON library is vulnerable to an integer overflow in the print_string_ptr() function in cJSON.c on 32-bit platforms. The escape_characters counter, a 32-bit size_t, can wrap around when processing strings containing approximately 858,993,460 or more control characters, causing the output buffer to be allocated based on an underestimated length. When cJSON_PrintBuffered() is used with a pre-allocated buffer, the subsequent write loop overflows the heap allocation. An attacker supplying a crafted JSON string to an application using cJSON on a 32-bit platform can cause a heap buffer overflow, potentially leading to remote code execution, information disclosure, or denial of service. Because project creator contact attempts were unsuccessful, the vulnerability has only been confirmed in version 1.7.19 but may also affect other versions.

References

Affected packages

Debian:12 / cjson

Package

Name
cjson
Purl
pkg:deb/debian/cjson?arch=source&distro=bookworm

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.7.15-1
1.7.15-1+deb12u1
1.7.15-1+deb12u2
1.7.15-1+deb12u3
1.7.15-1+deb12u4
1.7.16-1
1.7.16-2
1.7.17-1
1.7.17-2
1.7.18-1
1.7.18-2
1.7.18-3
1.7.18-3.1
1.7.18-4
1.7.19-1
1.7.19-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-16554.json"

Debian:13 / cjson

Package

Name
cjson
Purl
pkg:deb/debian/cjson?arch=source&distro=trixie

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.7.18-3.1
1.7.18-3.1+deb13u1
1.7.18-4
1.7.19-1
1.7.19-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-16554.json"

Debian:14 / cjson

Package

Name
cjson
Purl
pkg:deb/debian/cjson?arch=source&distro=forky

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.7.18-3.1
1.7.18-4
1.7.19-1
1.7.19-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-16554.json"