DHI-xrec-ocgz-pj53-acx7

Source
https://scout.docker.com/v/DHI-xrec-ocgz-pj53-acx7
Import Source
https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-xrec-ocgz-pj53-acx7.json
JSON Data
https://api.osv.dev/v1/vulns/DHI-xrec-ocgz-pj53-acx7
Upstream
Published
2026-11-11T16:05:21Z
Modified
2026-11-16T02:36:22Z
Severity
  • 6.8 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L CVSS Calculator
  • 5.1 (Medium) CVSS_V4 - CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:L/SI:L/SA:L/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X CVSS Calculator
Summary
cJSON library is vulnerable to an integer overflow in the print_string_ptr() function in cJSON.c on 32-bit platforms…
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

Docker Hardened Images:Alpine:3.23 / cjson

Package

Name
cjson
Purl
pkg:apk/dhi/cjson

Affected ranges

Affected versions

1.*
1.7.19-r1
1.7.19-r2

Database specific

owner_kind
"HSP"
source
"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-xrec-ocgz-pj53-acx7.json"

Docker Hardened Images:Alpine:3.24 / cjson

Package

Name
cjson
Purl
pkg:apk/dhi/cjson

Affected ranges

Affected versions

1.*
1.7.19-r1
1.7.19-r2

Database specific

owner_kind
"HSP"
source
"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-xrec-ocgz-pj53-acx7.json"

Docker Hardened Images:Debian:13 / cjson

Package

Name
cjson
Purl
pkg:deb/dhi/cjson

Affected ranges

Affected versions

1.*
1.7.18-3.1+deb13u1+dhi0
1.7.18-3.1+deb13u1+dhi1
1.7.18-3.1+deb13u1+dhi2

Database specific

owner_kind
"HSP"
source
"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-xrec-ocgz-pj53-acx7.json"