CVE-2024-31755
published high CVSS 3.1 · 7.6cjson: segmentation violation trigger through the second parameter of function cJSON_SetValuestring at cJSON.c
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| cjson_project | — | cjson1.7.17 · Other versions: unknown | Affected | Not stated | CISA-ADP |
| Ubuntu | jammy | cjson | Advisory build | 1.7.15-1ubuntu0.1~esm2 | USN-6784-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | cJSON-develaarch64 | Advisory build | 1.7.18-bp155.3.3.1 | OPENSUSE-SU-2024:0139-1 |
| Ubuntu | noble | cjson | Advisory build | 1.7.17-1ubuntu0.1~esm2 | USN-6784-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | cJSON-develi586 | Advisory build | 1.7.18-bp155.3.3.1 | OPENSUSE-SU-2024:0139-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | cJSON-develppc64le | Advisory build | 1.7.18-bp155.3.3.1 | OPENSUSE-SU-2024:0139-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | cJSON-devels390x | Advisory build | 1.7.18-bp155.3.3.1 | OPENSUSE-SU-2024:0139-1 |
Show 16 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Leap-15.5 | cJSON-develx86_64 | Advisory build | 1.7.18-bp155.3.3.1 | OPENSUSE-SU-2024:0139-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | libcjson1aarch64 | Advisory build | 1.7.18-bp155.3.3.1 | OPENSUSE-SU-2024:0139-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | libcjson1i586 | Advisory build | 1.7.18-bp155.3.3.1 | OPENSUSE-SU-2024:0139-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | libcjson1ppc64le | Advisory build | 1.7.18-bp155.3.3.1 | OPENSUSE-SU-2024:0139-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | libcjson1s390x | Advisory build | 1.7.18-bp155.3.3.1 | OPENSUSE-SU-2024:0139-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | libcjson1x86_64 | Advisory build | 1.7.18-bp155.3.3.1 | OPENSUSE-SU-2024:0139-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | cJSON-develaarch64 | Advisory build | 1.7.18-1.1 | OPENSUSE-SU-2024:14021-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | cJSON-develppc64le | Advisory build | 1.7.18-1.1 | OPENSUSE-SU-2024:14021-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | cJSON-devels390x | Advisory build | 1.7.18-1.1 | OPENSUSE-SU-2024:14021-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | cJSON-develx86_64 | Advisory build | 1.7.18-1.1 | OPENSUSE-SU-2024:14021-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcjson1aarch64 | Advisory build | 1.7.18-1.1 | OPENSUSE-SU-2024:14021-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcjson1ppc64le | Advisory build | 1.7.18-1.1 | OPENSUSE-SU-2024:14021-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcjson1s390x | Advisory build | 1.7.18-1.1 | OPENSUSE-SU-2024:14021-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcjson1x86_64 | Advisory build | 1.7.18-1.1 | OPENSUSE-SU-2024:14021-1 |
| Ubuntu | jammy | libcjson1 | Advisory build | 1.7.15-1ubuntu0.1~esm2 | USN-6784-1 |
| Ubuntu | noble | libcjson1 | Advisory build | 1.7.17-1ubuntu0.1~esm2 | USN-6784-1 |
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.
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
- 7.6 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
| cjson_project | cjson | 1.7.17 (affected)Default: unknown | CISA-ADP · adp |
Weaknesses
2- n/a
- CWE-476 CWE-476 NULL Pointer Dereference
References
1Provider assertions
3mitre · cna
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 365a8afb7ce8e6440fcb1c8b6c78a387a184cba1fd71223960acc8196a9b21ba
- Ingested
- 23 Sep 2026, 08:22:40 UTC
- Source record
- Official CVE record