Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconCraft malicious APNG with misordered fcTL/fdAT chunks
-
DeliveryDeliver file via web, email, or upload
-
ExploitVictim application invokes push-mode APNG parser
-
InstallChunk sequence number validation occurs out of order
-
C2CRC boundary consumed incorrectly
-
ExecuteParser internal state corrupted
-
ImpactIntegrity violation or application crash
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V4 - API and Web Service Interpretation consistency
|
| Exploitation Conditions | Exploitation requires that the target application is specifically built against libpng-apng (the APNG-patched variant), not stock libpng, and that it uses the push-mode (incremental) parser API rather than the standard pull-mode API - the vulnerable code path in pngpread.c is only reachable through the push-mode interface. A victim must trigger processing of attacker-controlled APNG data, satisfying the UI:R requirement in the CVSS vector (AV:N/AC:L/PR:N/UI:R). On the attacker side, no authentication or special privileges are needed (PR:N). Exploitation is limited by: (1) the requirement for push-mode API usage, which is less common than pull-mode in typical deployments; (2) mandatory victim interaction or automated pipeline consumption of attacker-supplied data; and (3) restriction to libpng-apng specifically, excluding the far more widespread stock libpng distributions. |
| Impact | The CVSS 5.4 score with vector AV:N/AC:L/PR:N/UI:R reflects a remotely triggerable vulnerability with low attack complexity: the attacker only needs to deliver a malicious file, while exploitation depends on a victim (human or automated pipeline) actually processing that file. Impact is bounded to integrity (I:L) and availability (I:L) with no confidentiality exposure, indicating the practical outcome is parser state corruption or crashes rather than arbitrary code execution - importantly, the 'RCE' tag appearing in the source intelligence data is a confirmed artifact of the multi-CVE oss-security digest thread and does NOT apply to CVE-2026-40930. EPSS data is not available in the provided input. The vulnerability is not in CISA KEV and no public exploit code has been identified, placing it in the lower-to-medium priority tier for most organizations. Risk is elevated for organizations running internet-facing services that ingest user-supplied image files and rely on the libpng-apng push-mode API. Exploitation is automatically achievable at scale once a POC exists given the low complexity and no-privilege requirement, but UI:R remains a meaningful friction point in non-automated pipelines. |
| Exploit ScenarioDerived | An attacker crafts a malicious APNG file with fcTL or fdAT chunks arranged to exploit the incorrect ordering of png_ensure_sequence_number and png_crc_finish calls in the push-mode parser. The file is delivered to a victim via a web page, email attachment, or image upload endpoint processed by an application using the libpng-apng push-mode API; upon parsing, the parser's internal state becomes corrupted due to the misvalidated chunk sequence, resulting in an integrity violation or crash of the processing application. No public exploit code exists at time of analysis, but the well-documented chunk structure of the PNG format and the public commit diff lower the barrier for proof-of-concept development. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 04, 2026
Chunk-smuggling in libpng-apng's push-mode APNG parser allows a remote unauthenticated attacker to cause integrity violations and availability disruption when a victim processes a specially crafted APNG file. The flaw - classified under CWE-436 (Interpretation Conflict) - stems from incorrect sequencing of CRC finalization and frame sequence number validation for fcTL and fdAT chunks in pngpread.c, enabling maliciously ordered chunk boundaries to bypass expected parser state transitions. No public exploit code exists at time of analysis and this vulnerability is not listed in the CISA KEV catalog; however, it represents a meaningful risk for any image-processing pipeline or application accepting user-supplied APNG data from untrusted sources.
RemediationAI
Apply the upstream fix by updating to a build of libpng-apng that includes commit faf06924688b62d7c1654b5ceddedbde66ffadb4 (https://github.com/pnggroup/libpng/commit/faf06924688b62d7c1654b5ceddedbde66ffadb4); consult the GitHub security advisory GHSA-c4v6-gxrq-6g2x for the officially patched release version once confirmed. If a packaged release is not yet available for your distribution, apply the patch to pngpread.c directly, as the diff is self-contained. As a compensating control, applications that do not require animation support can switch from the push-mode API to the pull-mode API, which is not affected by this vulnerability, though this may require code changes if the streaming API is architecturally required. For internet-facing upload services, rejecting files detected as APNG (by checking for the acTL chunk) at the ingestion boundary until patched is an effective but operationally disruptive workaround, as it blocks all animated PNG processing. Sandboxing the image decoding process (e.g., running it in a seccomp-filtered subprocess) limits blast radius even if exploitation occurs.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
libpng-apng is the APNG (Animated PNG) patched variant of the canonical libpng library, which adds animation chunk handling (acTL, fcTL, fdAT) not present in stock libpng. The affected code resides in pngpread.c, which implements the push-mode (incremental/streaming) parsing API - used when image data arrives in chunks rather than all at once. CWE-436 (Interpretation Conflict) captures the root cause: prior to fix commit faf06924688b62d7c1654b5ceddedbde66ffadb4, calls to png_ensure_sequence_number (APNG frame sequence validation) and png_crc_finish (CRC checksum finalization) appeared in incorrect relative order and position within the chunk dispatch logic. This mismatch allowed a crafted file to present APNG chunks whose sequence numbers and CRC regions were validated against wrong boundaries, enabling a chunk-smuggling condition where the parser interprets chunk type or content inconsistently with what a strict reading of the PNG/APNG specification would mandate. The fix repositions these validation calls and relocates buffer-size guards inside the correct conditional branches, ensuring sequence numbers are checked and CRCs are consumed before chunk content is acted upon.
Know when PostgreSQL gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L
Primary rating from Vendor (CNA).
CVSS VectorVendor
Lifecycle Timeline
3Description PRE-NVD
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
More in PostgreSQL
View allPostgreSQL libpq functions PQescapeLiteral(), PQescapeIdentifier(), PQescapeString(), and PQescapeStringConn() improperl
An issue was discovered in Appsmith before 1.52. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl
Argument injection vulnerability in PostgreSQL 9.2.x before 9.2.4, 9.1.x before 9.1.9, and 9.0.x before 9.0.13 allows re
Unauthenticated arbitrary file write in Splunk Enterprise (below 10.2.4 and 10.0.7) and Splunk Cloud Platform (below 10.
Unauthenticated SQL injection in Sangoma Switchvox SMB Edition 8.3 (build 104997) lets remote attackers execute arbitrar
PostgreSQL versions before 9.2.22, 9.3.18, 9.4.13, 9.5.8 and 9.6.4 are vulnerable to incorrect authentication flaw allow
The build_tablename function in pgsql.c in the PostgreSQL (aka pgsql) extension in PHP through 5.6.7 does not validate t
A vulnerability in the h2oai/h2o-3 REST API versions 3.46.0.4 allows unauthenticated remote attackers to execute arbitra
In PostgreSQL 9.3 through 11.2, the "COPY TO/FROM PROGRAM" function allows superusers and users in the 'pg_execute_serve
Unauthenticated SQL injection in Vendure Shop API allows remote attackers to execute arbitrary SQL commands against the
Parse Server is an open source http web server backend. Rated critical severity (CVSS 10.0), this vulnerability is remot
Hard-coded default PostgreSQL credentials shipped in the docker-compose.yaml of langgenius Dify through version 1.5.1 al
EUVD-2026-34287
NVD
CVE.org
EPSS
GitHub
Exploit-DB