{ "document": { "category": "csaf_security_advisory", "csaf_version": "2.0", "distribution": { "tlp": { "label": "WHITE", "url": "https://www.first.org/tlp/" } }, "lang": "en", "notes": [ { "category": "description", "text": "Imager::File::PNG versions from 1.003 before 1.004 for Perl write past the end of the row buffer reading a PNG with a tRNS transparency chunk in read_direct8.\n\nWith a tRNS chunk, read_direct8() adds an alpha channel to the image it creates but still sizes the row buffer from the original channel count. libpng expands the transparency into that extra channel, so png_read_row() fills one channel more than the buffer holds, at one byte per sample, and writes width bytes past the end of the allocation. Palette images go to read_paletted() and 16-bit images to read_direct16(), which sizes its buffer from png_get_rowbytes() and allocates enough for the expanded row.\n\nThe same reader ships bundled in the Imager distribution.\n\nReading an attacker-supplied PNG through Imager->read() corrupts the heap, which can crash the process.", "title": "Vulnerability Description" } ], "publisher": { "category": "other", "contact_details": "gdt@cpan.org", "name": "giterlizzi", "namespace": "https://github.com/giterlizzi/" }, "references": [ { "category": "self", "summary": "CPANSA-Imager-File-PNG-2026-73639 JSON", "url": "https://raw.githubusercontent.com/giterlizzi/perl-CPANSA-CSAF/develop/csaf/white/2026/cpansa-imager-file-png-2026-73639.json" }, { "category": "external", "summary": "https://github.com/tonycoz/imager/commit/d973bd7e8843f084e8071caa24b89545c88b1e4b.patch", "url": "https://github.com/tonycoz/imager/commit/d973bd7e8843f084e8071caa24b89545c88b1e4b.patch" }, { "category": "external", "summary": "https://github.com/tonycoz/imager/pull/567", "url": "https://github.com/tonycoz/imager/pull/567" }, { "category": "external", "summary": "https://github.com/tonycoz/imager/security/advisories/GHSA-jhx5-34j8-9g88", "url": "https://github.com/tonycoz/imager/security/advisories/GHSA-jhx5-34j8-9g88" }, { "category": "external", "summary": "https://metacpan.org/release/TONYC/Imager-1.035/changes", "url": "https://metacpan.org/release/TONYC/Imager-1.035/changes" }, { "category": "external", "summary": "https://metacpan.org/release/TONYC/Imager-File-PNG-1.004/changes", "url": "https://metacpan.org/release/TONYC/Imager-File-PNG-1.004/changes" }, { "category": "external", "summary": "http://www.openwall.com/lists/oss-security/2026/09/17/6", "url": "http://www.openwall.com/lists/oss-security/2026/09/17/6" }, { "category": "external", "summary": "CVE-2026-73639 (NVD)", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-73639" } ], "title": "Imager-File-PNG vulnerability", "tracking": { "current_release_date": "2026-09-17T00:00:00", "generator": { "engine": { "name": "CSAF Perl Toolkit", "version": "0.26" } }, "id": "CPANSA-Imager-File-PNG-2026-73639", "initial_release_date": "2026-09-17T00:00:00", "revision_history": [ { "date": "2026-09-17T00:00:00", "number": "1", "summary": "First release" } ], "status": "final", "version": "1" } }, "product_tree": { "branches": [ { "branches": [ { "category": "product_version_range", "name": "vers:cpan/>=1.003|<1.004", "product": { "name": "Imager-File-PNG greater than or equal 1.003 and less than 1.004", "product_id": "CSAFPID-0001", "product_identification_helper": { "purl": "pkg:cpan/Imager-File-PNG" } } }, { "category": "product_version_range", "name": "vers:cpan/>=1.004", "product": { "name": "Imager-File-PNG greater than or equal 1.004", "product_id": "CSAFPID-0002", "product_identification_helper": { "purl": "pkg:cpan/Imager-File-PNG" } } } ], "category": "product_name", "name": "Imager-File-PNG" } ] }, "vulnerabilities": [ { "cve": "CVE-2026-73639", "cwe": { "id": "CWE-787", "name": "Out-of-bounds Write" }, "notes": [ { "category": "description", "text": "Imager::File::PNG versions from 1.003 before 1.004 for Perl write past the end of the row buffer reading a PNG with a tRNS transparency chunk in read_direct8.\n\nWith a tRNS chunk, read_direct8() adds an alpha channel to the image it creates but still sizes the row buffer from the original channel count. libpng expands the transparency into that extra channel, so png_read_row() fills one channel more than the buffer holds, at one byte per sample, and writes width bytes past the end of the allocation. Palette images go to read_paletted() and 16-bit images to read_direct16(), which sizes its buffer from png_get_rowbytes() and allocates enough for the expanded row.\n\nThe same reader ships bundled in the Imager distribution.\n\nReading an attacker-supplied PNG through Imager->read() corrupts the heap, which can crash the process.", "title": "Vulnerability Description" } ], "product_status": { "fixed": [ "CSAFPID-0002" ], "known_affected": [ "CSAFPID-0001" ] }, "scores": [ { "cvss_v3": { "baseScore": 9.1, "baseSeverity": "CRITICAL", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H", "version": "3.1" }, "products": [ "CSAFPID-0001" ] } ] } ] }