openSUSE-SU-2026:20340-1

See a problem?
Import Source
https://ftp.suse.com/pub/projects/security/osv/openSUSE-SU-2026:20340-1.json
JSON Data
https://api.test.osv.dev/v1/vulns/openSUSE-SU-2026:20340-1
Upstream
CVE (2)
Related
Published
2026-03-11T08:21:26Z
Modified
2026-03-17T04:42:55Z
Summary
Security update for cJSON
Details

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.
References

Affected packages

openSUSE:Leap 16.0 / cJSON

Package

Name
cJSON
Purl
pkg:rpm/opensuse/cJSON&distro=openSUSE%20Leap%2016.0

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
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"