---
title: "CVE-2026-40930"
canonical_url: "https://pkgseek.com/security/CVE-2026-40930"
locale: "en"
source: "pkgseek"
entity_type: "cve"
severity: "medium"
---

# CVE-2026-40930

LIBPNG is a reference library for use in applications that process PNG (Portable Network Graphics) raster image files. In version 1.8.0, three inter-frame chunk discard paths in the push-mode APNG parser clear the chunk-header flag without consuming the chunk body and CRC, allowing attacker-controlled bytes inside an ignored ancillary chunk to be reinterpreted as a fresh chunk header on the next call to \`png_process_data\`. Commit faf06924688b62d7c1654b5ceddedbde66ffadb4 fixes the issue.

CVE-2026-40930 is rated MEDIUM (5.4), with 3 indexed affected package builds across 1 distributions.

- **Severity / Score**: MEDIUM (5.4)
- **Affected builds**: 3
- **Affected distros**: 1
- **Distros with fixed_in**: None recorded in sample

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Ubuntu | jammy | libpng16-16 | 1.6.37-3build5 | — |
| Ubuntu | jammy | libpng-dev | 1.6.37-3build5 | — |
| Ubuntu | jammy | libpng-tools | 1.6.37-3build5 | — |
