Skip to content
OpenAdvisories
Low · 2.9 CVE-2023-53154 EUVD-2023-59777GHSA-8h4w-44qv-79mq

parse_string in cJSON before 1.7.18 has a heap-based buffer over-read via {"1":1, with no trailing newline if cJSON_ParseWithLength is call…

Published May 23, 2025 · Updated Nov 3, 2025 · Assigned by mitre

Description

parse_string in cJSON before 1.7.18 has a heap-based buffer over-read via {"1":1, with no trailing newline if cJSON_ParseWithLength is called.

Affected products

VendorProductAffectedFixed
cJSON project cJSON < 1.7.18 1.7.18

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.

ReleasePackageFixed inAdvisory
Debian 14 cjson 1.7.18-1 —
Debian 13 cjson 1.7.18-1 —
Debian 12 cjson 1.7.15-1+deb12u3 —
Debian 11 cjson 1.7.14-1+deb11u2 DLA-4216-1
ReleasePackageFixed inAdvisory
Ubuntu 25.10 cjson 1.7.18-3.1ubuntu0.1 USN-7973-1
Ubuntu 22.04 LTS cjson 1.7.15-1ubuntu0.1 USN-7973-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 24.04 LTS cjson 1.7.17-1ubuntu0.1~esm3 USN-7973-1
Ubuntu Pro 20.04 LTS cjson 1.7.10-1.1ubuntu0.1~esm1 USN-7973-1

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 apparmor 3.1.7-1 —
Azure Linux 2 (CBL-Mariner) apparmor 3.0.4-5 —

Advisories 2

References