{"schemaVersion":3,"id":"CVE-2024-31755","aliases":["MGASA-2024-0324","RHSA-2025:9022","RHSA-2025:9203","UBUNTU-CVE-2024-31755","DEBIAN-CVE-2024-31755","openSUSE-SU-2024:14021-1"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2024-04-26T00:00:00.000Z","modified":"2024-08-02T01:59:49.417Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.6,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.6,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Red hat","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.6,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H","exploitability":7.2,"impact":7.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":7.6,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H","exploitability":7.2,"impact":7.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.6,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00648,"percentile":0.50155,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0.00499999999999997,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00643},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00648,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00648,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00648,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00648,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00648,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00648,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00648,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00648,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00648,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00648,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00648,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00648,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00648,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00648,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00648,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00648,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00648,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00648,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00648,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00648,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00648,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00648,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00648,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00648,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00648,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00648,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00648,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00648,"percentile":0.50155}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00643,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00648,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00648,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00648,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00648,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00648,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00648,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00648,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00648,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00648,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00648,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00648,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00648,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00648,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00648,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00648,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00648,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00648,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00648,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00648,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00648,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00648,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00648,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00648,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00648,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00648,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00648,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00648,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00648,"percentile":0.50155}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_DAVEGAMBLE_CJSON","name":"Cjson","source":"github","url":"https://github.com/DaveGamble/cJSON/issues/1060","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-476","name":"NULL Pointer Dereference","description":"The product dereferences a pointer that it expects to be valid but is NULL.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/476.html"}],"affected":[{"vendor":"cjson_project","product":"cjson","name":"cjson","label":"cjson","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"1.7.17","noFixRecorded":false,"fixedIn":null}],"versionsText":"1.7.17","eol":null,"hubHref":"/vendor/cjson_project/cjson"},{"vendor":"debian","product":"cjson","name":"cjson","label":"cjson","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/cjson","purlType":"deb","versions":[{"text":"< 1.7.15-1+deb12u2","noFixRecorded":false,"fixedIn":null},{"text":"< 1.7.18-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.7.15-1+deb12u2 | < 1.7.18-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"cjson","name":"cjson","label":"cjson","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/cjson","purlType":"deb","versions":[{"text":"< 1.7.15-1ubuntu0.1~esm2","noFixRecorded":false,"fixedIn":null},{"text":"< 1.7.17-1ubuntu0.1~esm2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.7.15-1ubuntu0.1~esm2 | < 1.7.17-1ubuntu0.1~esm2","eol":null,"hubHref":null},{"vendor":"mageia","product":"cjson","name":"cjson","label":"cjson","ecosystem":"Mageia","cpePart":null,"purl":"pkg:rpm/mageia/cjson","purlType":"rpm","versions":[{"text":"< 1.7.15-2.2.mga9","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.7.15-2.2.mga9","eol":null,"hubHref":null},{"vendor":"opensuse","product":"cJSON&distro=openSUSE Tumbleweed","name":"cJSON","label":"cJSON&distro=openSUSE Tumbleweed","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/cJSON&distro=openSUSE Tumbleweed","purlType":"rpm","versions":[{"text":"< 1.7.18-1.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.7.18-1.1","eol":null,"hubHref":null},{"vendor":"redhat","product":"cjson","name":"cjson","label":"cjson","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/cjson","purlType":"rpm","versions":[{"text":"< 0:1.7.18-1.el9sat","noFixRecorded":false,"fixedIn":null},{"text":"< 0:1.7.18-1.el8sat","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:1.7.18-1.el9sat | < 0:1.7.18-1.el8sat","eol":null,"hubHref":null},{"vendor":"redhat","product":"cjson-debuginfo","name":"cjson-debuginfo","label":"cjson-debuginfo","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/cjson-debuginfo","purlType":"rpm","versions":[{"text":"< 0:1.7.18-1.el9sat","noFixRecorded":false,"fixedIn":null},{"text":"< 0:1.7.18-1.el8sat","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:1.7.18-1.el9sat | < 0:1.7.18-1.el8sat","eol":null,"hubHref":null},{"vendor":"redhat","product":"cjson-debugsource","name":"cjson-debugsource","label":"cjson-debugsource","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/cjson-debugsource","purlType":"rpm","versions":[{"text":"< 0:1.7.18-1.el9sat","noFixRecorded":false,"fixedIn":null},{"text":"< 0:1.7.18-1.el8sat","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:1.7.18-1.el9sat | < 0:1.7.18-1.el8sat","eol":null,"hubHref":null}],"affectedCount":8,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/DaveGamble/cJSON/issues/839","label":"github.com/DaveGamble/cJSON/issues/839","hostname":"github.com","tags":["ARTICLE","REPORT","Exploit","Issue Tracking","Vendor Advisory"]},{"url":"https://advisories.mageia.org/MGASA-2024-0324.html","label":"advisories.mageia.org/MGASA-2024-0324.html","hostname":"advisories.mageia.org","tags":["Advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=33600","label":"bugs.mageia.org/show_bug.cgi?id=33600","hostname":"bugs.mageia.org","tags":["REPORT"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6B5ZS2THGMPX2CG2C7OVYS5F7REKYJYJ/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["WEB"]},{"url":"https://access.redhat.com/errata/RHSA-2025:9022","label":"access.redhat.com/errata/RHSA-2025:9022","hostname":"access.redhat.com","tags":["Advisory"]},{"url":"https://access.redhat.com/security/updates/classification/#moderate","label":"access.redhat.com/security/updates/classification/","hostname":"access.redhat.com","tags":["ARTICLE"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2277268","label":"bugzilla.redhat.com/show_bug.cgi?id=2277268","hostname":"bugzilla.redhat.com","tags":["REPORT"]},{"url":"https://issues.redhat.com/browse/SAT-34204","label":"issues.redhat.com/browse/SAT-34204","hostname":"issues.redhat.com","tags":["ARTICLE"]},{"url":"https://issues.redhat.com/browse/SAT-34205","label":"issues.redhat.com/browse/SAT-34205","hostname":"issues.redhat.com","tags":["ARTICLE"]},{"url":"https://issues.redhat.com/browse/SAT-34206","label":"issues.redhat.com/browse/SAT-34206","hostname":"issues.redhat.com","tags":["ARTICLE"]},{"url":"https://issues.redhat.com/browse/SAT-34207","label":"issues.redhat.com/browse/SAT-34207","hostname":"issues.redhat.com","tags":["ARTICLE"]},{"url":"https://issues.redhat.com/browse/SAT-34208","label":"issues.redhat.com/browse/SAT-34208","hostname":"issues.redhat.com","tags":["ARTICLE"]},{"url":"https://issues.redhat.com/browse/SAT-34209","label":"issues.redhat.com/browse/SAT-34209","hostname":"issues.redhat.com","tags":["ARTICLE"]},{"url":"https://issues.redhat.com/browse/SAT-34210","label":"issues.redhat.com/browse/SAT-34210","hostname":"issues.redhat.com","tags":["ARTICLE"]},{"url":"https://issues.redhat.com/browse/SAT-34211","label":"issues.redhat.com/browse/SAT-34211","hostname":"issues.redhat.com","tags":["ARTICLE"]},{"url":"https://issues.redhat.com/browse/SAT-34214","label":"issues.redhat.com/browse/SAT-34214","hostname":"issues.redhat.com","tags":["ARTICLE"]},{"url":"https://issues.redhat.com/browse/SAT-34800","label":"issues.redhat.com/browse/SAT-34800","hostname":"issues.redhat.com","tags":["ARTICLE"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2025/rhsa-2025_9022.json","label":"security.access.redhat.com/data/csaf/v2/advisories/2025/rhsa-2025_9022.json","hostname":"security.access.redhat.com","tags":["Advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2024-31755","label":"access.redhat.com/security/cve/CVE-2024-31755","hostname":"access.redhat.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2024-31755","label":"www.cve.org/CVERecord?id=CVE-2024-31755","hostname":"www.cve.org","tags":["Advisory","REPORT"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-31755","label":"nvd.nist.gov/vuln/detail/CVE-2024-31755","hostname":"nvd.nist.gov","tags":["Advisory","Oval"]},{"url":"https://github.com/advisories/GHSA-5g69-hr8r-x577","label":"github.com/advisories/GHSA-5g69-hr8r-x577","hostname":"github.com","tags":["Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2025:9203","label":"access.redhat.com/errata/RHSA-2025:9203","hostname":"access.redhat.com","tags":["Advisory"]},{"url":"https://access.redhat.com/documentation/en-us/red_hat_satellite/6.16/html/updating_red_hat_satellite/index","label":"access.redhat.com/documentation/en-us/red_hat_satellite/6.16/html/updating_red_hat_satellite/index","hostname":"access.redhat.com","tags":["ARTICLE"]},{"url":"https://issues.redhat.com/browse/SAT-34932","label":"issues.redhat.com/browse/SAT-34932","hostname":"issues.redhat.com","tags":["ARTICLE"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2025/rhsa-2025_9203.json","label":"security.access.redhat.com/data/csaf/v2/advisories/2025/rhsa-2025_9203.json","hostname":"security.access.redhat.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2024-31755","label":"ubuntu.com/security/CVE-2024-31755","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://github.com/DaveGamble/cJSON/pull/840","label":"github.com/DaveGamble/cJSON/pull/840","hostname":"github.com","tags":["REPORT"]},{"url":"https://github.com/DaveGamble/cJSON/commit/7e4d5dabe7a9b754c601f214e65b544e67ba9f59","label":"github.com/DaveGamble/cJSON/commit/7e4d5dabe7a9b754c601f214e65b544e67ba9f59","hostname":"github.com","tags":["REPORT"]},{"url":"https://github.com/DaveGamble/cJSON/pull/849/commits/18d1749e26eb1abe803bf49f383e72faec02da93","label":"github.com/DaveGamble/cJSON/pull/849/commits/18d1749e26eb1abe803bf49f383e72faec02da93","hostname":"github.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-6784-1","label":"ubuntu.com/security/notices/USN-6784-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2024-31755","label":"security-tracker.debian.org/tracker/CVE-2024-31755","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2024-31755","label":"www.suse.com/security/cve/CVE-2024-31755","hostname":"www.suse.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2024:0139-1","RHSA-2025:9838","USN-6784-1"],"duplicates":[],"related":["OPENSUSE-SU-2024:0139-1","USN-6784-1"]},"timeline":[{"kind":"published","date":"2024-04-26T00:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-02T01:59:49.417Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":41,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T17:01:34.752Z","stale":false,"partial":false}}