{"id":"openSUSE-SU-2026:20340-1","summary":"Security update for cJSON","details":"This update for cJSON fixes the following issues:\n\n- Update to version 1.7.19\n  * Check for NULL in cJSON_DetachItemViaPointer.\n  * Check overlap before calling strcpy in cJSON_SetValuestring.\n  * Fix Max recursion depth for cJSON_Duplicate to prevent stack\n    exhaustion.\n  * Allocate memory for the temporary buffer when paring numbers.\n    This fixes CVE-2023-26819. (bsc#1241502)\n  * Fix the incorrect check in decode_array_index_from_pointer.\n    This fixes CVE-2025-57052. (bsc#1249112)\n- Remove not longer needed patch for NULL to deallocated pointers.\n\n","modified":"2026-03-17T04:42:55.050400Z","published":"2026-03-11T08:21:26Z","related":["CVE-2023-26819","CVE-2025-57052"],"upstream":["CVE-2023-26819","CVE-2025-57052"],"references":[{"type":"ADVISORY"},{"type":"REPORT","url":"https://bugzilla.suse.com/1241502"},{"type":"REPORT","url":"https://bugzilla.suse.com/1249112"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2023-26819"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2025-57052"}],"affected":[{"package":{"name":"cJSON","ecosystem":"openSUSE:Leap 16.0","purl":"pkg:rpm/opensuse/cJSON&distro=openSUSE%20Leap%2016.0"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.7.19-160000.1.1"}]}],"ecosystem_specific":{"binaries":[{"cJSON-devel":"1.7.19-160000.1.1","libcjson1":"1.7.19-160000.1.1"}]},"database_specific":{"source":"https://ftp.suse.com/pub/projects/security/osv/openSUSE-SU-2026:20340-1.json"}}],"schema_version":"1.7.5"}