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.osv.dev/v1/vulns/openSUSE-SU-2026:20340-1
Upstream
Related
Published
2026-03-11T08:21:26Z
Modified
2026-03-23T04:54:51.385572Z
Summary
Security update for cJSON
Details

This update for cJSON fixes the following issues:

  • Update to version 1.7.19
    • Check for NULL in cJSONDetachItemViaPointer.
    • Check overlap before calling strcpy in cJSONSetValuestring.
    • 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 decodearrayindexfrompointer. 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
0Unknown 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"