LiveActive security incident?Get immediate response
CVE Record

CVE-2026-22801: LIBPNG has an integer truncation causing heap buffer over-read in png_image_write_*

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.

MediumCVSS 6.8Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

CVE-2026-22801 affects libpng, a common PNG image library. The issue is in image-writing functions, not general PNG viewing. Applications using vulnerable libpng versions may read beyond heap memory and potentially crash or expose limited data when specific stride values are passed. The fixed version is libpng 1.6.54.

Executive priority

Address during normal vulnerability management, with faster action for products that export PNGs from user-controlled workflows. This is a real memory-safety issue, but current public evidence does not indicate active exploitation or a broad remote attack path.

Technical view

libpng 1.6.26 through 1.6.53 has integer truncation in simplified write API functions png_write_image_16bit and png_write_image_8bit. Negative row stride or stride above 65535 bytes can cause heap buffer over-read. CVSS 3.1 is 6.8 with local attack vector, low complexity, no privileges, and high availability impact.

Likely exposure

Exposure is most likely in applications or services that create/export PNGs using libpng’s simplified write API and vulnerable versions. Statically linked products may remain vulnerable even after system packages update. Evidence does not show broad exposure through ordinary PNG file reading.

Exploitation context

No CISA KEV listing is provided, and the source bundle does not report active exploitation. Exploitation depends on a vulnerable application calling affected write functions with problematic stride values. The CVSS vector is local, so business risk depends heavily on how libpng is embedded and exposed.

Researcher notes

The root condition is integer truncation from casts introduced in libpng 1.6.26. The issue maps to CWE-125 and CWE-190. Focus review on simplified write API usage and stride handling. Avoid assuming reader-side exposure unless an application’s code path writes PNGs using affected functions.

Mitigation direction

  • Upgrade libpng to 1.6.54 or a vendor package containing the fix.
  • Rebuild applications that statically link vulnerable libpng versions.
  • Check operating system and application vendor advisories for packaged updates.
  • Prioritize systems that generate PNGs from untrusted or user-controlled workflows.

Validation and detection

  • Inventory libpng versions in operating systems, containers, and bundled application dependencies.
  • Identify applications using png_write_image_16bit or png_write_image_8bit.
  • Check whether callers can pass negative or greater-than-65535-byte row strides.
  • Confirm deployed packages or builds report libpng 1.6.54 or later.
Prepared
Confidence
high
Sources
3

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-125: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cwe · low confidence lookup

CWE-190: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2026-22801 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Medium
CVSS
6.8 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
2Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
6.8CVSS 3.1MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H2.54.2Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

6.8Medium
CVSS 3.1 vector shape for CVE-2026-22801Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
pnggrouplibpng< 1.6.54Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-125 · source CWE mapping

Out-of-bounds Read

Out-of-bounds Read represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.

CWE-190 · source CWE mapping

Integer Overflow or Wraparound

Integer Overflow or Wraparound represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.