| Name | CVE-2024-31755 | 
| Description | cJSON v1.7.17 was discovered to contain a segmentation violation, which can trigger through the second parameter of function cJSON_SetValuestring at cJSON.c. | 
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) | 
| Debian Bugs | 1071742 | 
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status | 
|---|
| cjson (PTS) | bullseye | 1.7.14-1+deb11u1 | fixed | 
 | bullseye (security) | 1.7.14-1+deb11u3 | fixed | 
 | bookworm | 1.7.15-1+deb12u3 | fixed | 
 | bookworm (security) | 1.7.15-1+deb12u4 | fixed | 
 | trixie | 1.7.18-3.1 | fixed | 
 | trixie (security) | 1.7.18-3.1+deb13u1 | fixed | 
 | forky, sid | 1.7.18-4 | fixed | 
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs | 
|---|
| cjson | source | bullseye | 1.7.14-1+deb11u1 |  |  |  | 
| cjson | source | bookworm | 1.7.15-1+deb12u2 |  |  |  | 
| cjson | source | (unstable) | 1.7.18-1 |  |  | 1071742 | 
Notes
[buster] - cjson <postponed> (Sefault only; can be piggy-backed with future DLAs)
https://github.com/DaveGamble/cJSON/issues/839
https://github.com/DaveGamble/cJSON/pull/840
https://github.com/DaveGamble/cJSON/commit/7e4d5dabe7a9b754c601f214e65b544e67ba9f59 (v1.7.18)