OESA-2026-2533 (CVE-2026-40930)
Vulnerability from osv_openeuler – Published: 2026-05-29 11:11 – Updated: 2026-08-06 11:11 – Source website
VLAI
Summary
libpng security update
Severity
5.4 (Medium)
References
| URL | Type | |
|---|---|---|
{
"affected": [
{
"ecosystem_specific": {
"aarch64": [
"libpng-1.6.40-12.oe2403.aarch64.rpm",
"libpng-debuginfo-1.6.40-12.oe2403.aarch64.rpm",
"libpng-debugsource-1.6.40-12.oe2403.aarch64.rpm",
"libpng-devel-1.6.40-12.oe2403.aarch64.rpm",
"libpng-static-1.6.40-12.oe2403.aarch64.rpm",
"libpng-tools-1.6.40-12.oe2403.aarch64.rpm"
],
"noarch": [
"libpng-help-1.6.40-12.oe2403.noarch.rpm"
],
"src": [
"libpng-1.6.40-12.oe2403.src.rpm"
],
"x86_64": [
"libpng-1.6.40-12.oe2403.x86_64.rpm",
"libpng-debuginfo-1.6.40-12.oe2403.x86_64.rpm",
"libpng-debugsource-1.6.40-12.oe2403.x86_64.rpm",
"libpng-devel-1.6.40-12.oe2403.x86_64.rpm",
"libpng-static-1.6.40-12.oe2403.x86_64.rpm",
"libpng-tools-1.6.40-12.oe2403.x86_64.rpm"
]
},
"package": {
"ecosystem": "openEuler:24.03-LTS",
"name": "libpng",
"purl": "pkg:rpm/openEuler/libpng\u0026distro=openEuler-24.03-LTS"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.6.40-12.oe2403"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"database_specific": {
"severity": "Medium"
},
"details": "The libpng package contains libraries used by other programs for reading and writing PNG format files. The PNG format was designed as a replacement for GIF and, to a lesser extent, TIFF, with many improvements and extensions and lack of patent problems.\r\n\r\nSecurity Fix(es):\n\n[\u0026apos;Hello, everyone,\\n\\nThis is an out-of-band notice. Unlike previous libpng announcements,\\nthis one doesn\\\u0026apos;t coincide with a libpng release, and the disclosure\\ncadence differs from the usual coordinated pattern:\\n\\n- The fix landed on the libpng18 development branch (commit\\n faf0692468) approximately one month before this announcement.\\n libpng 1.8.0 is in late beta with no tagged release yet, so\\n there is no upstream release version with which to align the\\n disclosure. Downstream consumers building directly from the\\n libpng18 branch have had the fix available since it landed.\\n- The vulnerable code originates in the third-party libpng-apng\\n patch, which is not under upstream libpng control. The patch\\n is applied downstream by Firefox and Thunderbird, as well as\\n several Linux distributions (Gentoo and LFS/BLFS among others).\\n The libpng-apng maintainer, Daisuke Nishikawa, has since released\\n fixed revisions (libpng-1.6.57-apng.patch v2 and\\n libpng-1.6.58-apng.patch); downstream consumers should either\\n update to those (verifying that both upstream commits are\\n included), or backport the upstream commits themselves (see\\n \u0026quot;Related fix\u0026quot; below).\\n\\n=== CVE-2026-40930 ===\\n\\nChunk smuggling in the push-mode APNG parser via unconsumed\\nchunk body\\n\\nSecurity advisory:\u0026apos;, \u0026apos;Fix on libpng18:\u0026apos;, \u0026quot;CVSS 3.1: 5.4 (Medium); CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L\\nCWE: CWE-436 (Interpretation Conflict)\\nAffected (upstream): libpng 1.8.0 development branch (libpng18)\\nAffected (downstream): libpng-1.6.49-apng.patch through\\n libpng-1.6.57-apng.patch (original v1) on SourceForge\\nNot affected: upstream libpng 1.6.x releases (no APNG support)\\nFixed (upstream): libpng18 at commit faf0692468\\nFixed (downstream): libpng-1.6.57-apng.patch v2 and\\n libpng-1.6.58-apng.patch on SourceForge, released by the\\n libpng-apng maintainer\\nBuild-time mitigation: building libpng 1.8 with APNG disabled\\n (i.e., without PNG_APNG_SUPPORTED), or building libpng 1.6\\n without the libpng-apng patch, removes the vulnerable code.\\n No runtime workaround exists for push-mode applications.\\n\\nThree inter-frame chunk discard paths in the push-mode APNG parser\\nclear the chunk-header flag without consuming the chunk body and\\nCRC, allowing attacker-controlled bytes inside a discarded chunk\\nto be reinterpreted as a fresh chunk header on the next call to\\npng_process_data.\\n\\nImpact depends on the application\u0026apos;s CRC handling:\\n\\n- Default configuration: libpng calls png_error on the resulting\\n CRC mismatch or APNG sequence-number violation, and the image\\n fails to load. Impact is denial of service.\\n- Relaxed configuration (png_set_crc_action with PNG_CRC_QUIET_USE\\n or PNG_CRC_WARN_USE): smuggled bytes reach the APNG sequence\\n counter and the zlib decompressor, and are decoded as frame\\n pixel data. No code execution: zlib output writes into a\\n pre-allocated row buffer. A crafted fake length exceeding the\\n carrier chunk body causes cascading desynchronization beyond\\n the carrier.\\n\\nSequential-mode reading (png_read_info / png_read_row /\\npng_read_end) is not affected. Only push-mode (png_process_data)\\nis vulnerable, and the Gecko-based browsers (for example) use it.\\n\\n=== Related fix ===\\n\\nA sibling defect in the same push-mode fdAT path was reported\\nseparately in GitHub issue pnggroup/libpng#854 and fixed on the\\nlibpng18 branch in commit 9ec49c2d56. It is distinct from\\nCVE-2026-40930 and is not covered by the advisory above.\\nDownstream consumers of libpng-apng should apply both commits to\\nfully remediate the push-mode fdAT path. Those updating to the\\nfixed libpng-apng revisions instead should verify that both commits\\nare included; otherwise, 9ec49c2d56 must be backported separately.\\n\\nRelated fix on libpng18:\u0026quot;, \u0026apos;Credits:\\n- Seung Min Shin (CVE-2026-40930 discovery)\\n- Ryo Shimada (GitHub issue pnggroup/libpng#854)\\n\\n---\\nCosmin Truta\\nlibpng maintainer\u0026apos;](CVE-2026-40930)",
"id": "OESA-2026-2533",
"modified": "2026-08-06T11:11:28Z",
"published": "2026-05-29T11:11:28Z",
"references": [
{
"type": "ADVISORY",
"url": "https://www.openeuler.org/zh/security/security-bulletins/detail/?id=openEuler-SA-2026-2533"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-40930"
}
],
"schema_version": "1.7.2",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L",
"type": "CVSS_V3"
}
],
"summary": "libpng security update",
"upstream": [
"CVE-2026-40930"
]
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
The MITRE ATT&CK techniques below are AI-generated suggestions, inferred from the description of the
vulnerability by the CIRCL/vulnerability-attack-technique-classification-roberta-base
model, served locally by ML-Gateway.
They have not been verified by an analyst and are provided for guidance only.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Loading…
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.
Loading…