Skip to content
OpenAdvisories
Critical openSUSE-SU-2026:20340-1 2 CVEs

Security update for cJSON

Published Mar 11, 2026 · Updated Mar 23, 2026

Summary

This update for cJSON fixes the following issues:

- Update to version 1.7.19
* Check for NULL in cJSON_DetachItemViaPointer.
* Check overlap before calling strcpy in cJSON_SetValuestring.
* Fix Max recursion depth for cJSON_Duplicate to prevent stack
exhaustion.
* Allocate memory for the temporary buffer when paring numbers.
This fixes CVE-2023-26819. (bsc#1241502)
* Fix the incorrect check in decode_array_index_from_pointer.
This fixes CVE-2025-57052. (bsc#1249112)
- Remove not longer needed patch for NULL to deallocated pointers.

Fixed packages 1

ReleasePackageFixed in
openSUSE · Leap 16.0 cJSON 1.7.19-160000.1.1

Vulnerabilities 2

References

  • report
    https://bugzilla.suse.com/1241502
  • report
    https://bugzilla.suse.com/1249112
  • web
    https://www.suse.com/security/cve/CVE-2023-26819
  • web
    https://www.suse.com/security/cve/CVE-2025-57052