High
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2024-31755
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 8 Nov 2026, 03:03 UTC · Revision 1
Source evidence
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.
osv:CVE-2024-31755
Complete source record
{
"id": "47f95684d0a393c90bfa4925814e8908643022824bf6df3f3c7501e646265bb5",
"url": "https://osv.dev/vulnerability/CVE-2024-31755",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2024-31755",
"summary": "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.",
"evidence": "osv:CVE-2024-31755",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2024-31755",
"aliases": [
"CVE-2024-31755"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/davegamble/cjson",
"type": "GIT",
"events": [
{
"introduced": "87d8f0961a01bf09bef98ff89bae9fdec42181ee"
},
{
"last_affected": "87d8f0961a01bf09bef98ff89bae9fdec42181ee"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:cjson_project:cjson:1.7.17:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.7.17"
},
{
"last_affected": "1.7.17"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"1.7.17",
"v1.7.17"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-31755.json"
}
}
],
"modified": "2026-10-28T02:30:53.417363089Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/31xxx/CVE-2024-31755.json",
"https://nvd.nist.gov/vuln/detail/CVE-2024-31755",
"https://github.com/DaveGamble/cJSON/issues/839"
],
"provider_metadata": {
"cna_assigner": "mitre",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/31xxx/CVE-2024-31755.json"
}
},
"related_cves": [
{
"value": "CVE-2024-31755",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 522046,
"published_at": "2024-04-26T00:00:00+00:00"
}