CVE-2026-22801

Source
https://cve.org/CVERecord?id=CVE-2026-22801
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-22801.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2026-22801
Aliases
  • GHSA-vgjq-8cw5-ggw8
Downstream
ALPINE (1)
ALSA (7)
AZL (6)
BELL (1)
CGA (10)
CLEANSTART (78)
CLSA (4)
DEBIAN (1)
ECHO (1)
JLSEC (1)
MGASA (1)
MINI (1)
OESA (5)
openSUSE (2)
RHSA (19)
RLSA (4)
ROOT (3)
SUSE (8)
UBUNTU (1)
Related
Published
2026-01-12T22:57:58Z
Modified
2026-11-21T04:00:14Z
Severity
  • 6.8 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H CVSS Calculator
Summary
LIBPNG has an integer truncation causing heap buffer over-read in png_image_write_*
Details

LIBPNG is a reference library for use in applications that read, create, and manipulate PNG (Portable Network Graphics) raster image files. From 1.6.26 to 1.6.53, there is an integer truncation in the libpng simplified write API functions png_write_image_16bit and png_write_image_8bit causes heap buffer over-read when the caller provides a negative row stride (for bottom-up image layouts) or a stride exceeding 65535 bytes. The bug was introduced in libpng 1.6.26 (October 2016) by casts added to silence compiler warnings on 16-bit systems. This vulnerability is fixed in 1.6.54.

Database specific
{
    "cna_assigner":  "GitHub_M",
    "cwe_ids":  [
        "CWE-125",
        "CWE-190"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/22xxx/CVE-2026-22801.json"
}
References

Affected packages

Git / github.com/pnggroup/libpng

Affected ranges

Type
GIT
Repo
https://github.com/pnggroup/libpng
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "0"
                },
                {
                    "fixed":  "1.6.54"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StringRangeExpression"
        },
        {
            "cpe":  "cpe:2.3:a:libpng:libpng:*:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "1.6.26"
                },
                {
                    "fixed":  "1.6.54"
                }
            ],
            "source":  "CPE_RANGE"
        }
    ]
}

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-22801.json"