{"id":"UBUNTU-CVE-2024-31755","details":"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.","modified":"2026-04-22T17:51:12.097579Z","published":"2024-04-26T03:15:00Z","related":["USN-6784-1"],"upstream":["CVE-2024-31755"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2024-31755"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2024-31755"},{"type":"REPORT","url":"https://github.com/DaveGamble/cJSON/issues/839"},{"type":"REPORT","url":"https://github.com/DaveGamble/cJSON/pull/840"},{"type":"REPORT","url":"https://github.com/DaveGamble/cJSON/commit/7e4d5dabe7a9b754c601f214e65b544e67ba9f59"},{"type":"REPORT","url":"https://github.com/DaveGamble/cJSON/pull/849/commits/18d1749e26eb1abe803bf49f383e72faec02da93"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-6784-1"}],"affected":[{"package":{"name":"cjson","ecosystem":"Ubuntu:Pro:22.04:LTS","purl":"pkg:deb/ubuntu/cjson@1.7.15-1ubuntu0.1~esm2?arch=source&distro=esm-apps/jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.7.15-1ubuntu0.1~esm2"}]}],"versions":["1.7.14-1","1.7.15-1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_name":"libcjson1","binary_version":"1.7.15-1ubuntu0.1~esm2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-31755.json"}},{"package":{"name":"cjson","ecosystem":"Ubuntu:Pro:24.04:LTS","purl":"pkg:deb/ubuntu/cjson@1.7.17-1ubuntu0.1~esm2?arch=source&distro=esm-apps/noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.7.17-1ubuntu0.1~esm2"}]}],"versions":["1.7.16-1","1.7.16-2","1.7.17-1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_name":"libcjson1","binary_version":"1.7.17-1ubuntu0.1~esm2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-31755.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H"},{"type":"Ubuntu","score":"medium"}]}