CVE
CVE-2023-53154
published low CVSS 3.1 · 2.9cjson: Heap based buffer overflow at cJSON_ParseWithLength function
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| cJSON project | — | cJSON0 to < 1.7.18 · Other versions: unaffected | Affected | Not stated | mitre |
| Debian | bullseye | cjson | Advisory build | 1.7.14-1+deb11u2 | DLA-4216-1 |
| Ubuntu | focal | cjson | Advisory build | 1.7.10-1.1ubuntu0.1~esm1 | USN-7973-1 |
| Ubuntu | focal | libcjson1 | Advisory build | 1.7.10-1.1ubuntu0.1~esm1 | USN-7973-1 |
| Ubuntu | jammy | cjson | Advisory build | 1.7.15-1ubuntu0.1 | USN-7973-1 |
| Ubuntu | jammy | libcjson1 | Advisory build | 1.7.15-1ubuntu0.1 | USN-7973-1 |
| Ubuntu | noble | cjson | Advisory build | 1.7.17-1ubuntu0.1~esm3 | USN-7973-1 |
| Ubuntu | noble | libcjson1 | Advisory build | 1.7.17-1ubuntu0.1~esm3 | USN-7973-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 2.9 / 10
- Severity
- low
- Provider
- mitre · cna
- Vector string
- CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| cJSON project | cJSON | 0 to < 1.7.18 (affected · semver)Default: unaffected | mitre · cna |
Weaknesses
1- CWE-125 CWE-125 Out-of-bounds Read
References
3Provider assertions
3mitre · cna
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- f16b19ab3fabdc0a6415ca4afc940a6aa8672f7c233deb9b4b6d90351563a22a
- Ingested
- 23 Sep 2026, 08:14:44 UTC
- Source record
- Official CVE record