{"api_version":"1","generated_at":"2026-09-20T14:46:02+00:00","cve":"CVE-2026-73639","urls":{"html":"https://cve.report/CVE-2026-73639","api":"https://cve.report/api/cve/CVE-2026-73639.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-73639","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-73639"},"summary":{"title":"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","description":"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.","state":"PUBLISHED","assigner":"CPANSec","published_at":"2026-09-17 22:17:03","updated_at":"2026-09-18 17:49:29"},"problem_types":["CWE-787","CWE-787 CWE-787 Out-of-bounds Write"],"metrics":[],"references":[{"url":"http://www.openwall.com/lists/oss-security/2026/09/17/6","name":"http://www.openwall.com/lists/oss-security/2026/09/17/6","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://metacpan.org/release/TONYC/Imager-1.035/changes","name":"https://metacpan.org/release/TONYC/Imager-1.035/changes","refsource":"9b29abf9-4ab0-4765-b253-1875cd9b441e","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://metacpan.org/release/TONYC/Imager-File-PNG-1.004/changes","name":"https://metacpan.org/release/TONYC/Imager-File-PNG-1.004/changes","refsource":"9b29abf9-4ab0-4765-b253-1875cd9b441e","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/tonycoz/imager/security/advisories/GHSA-jhx5-34j8-9g88","name":"https://github.com/tonycoz/imager/security/advisories/GHSA-jhx5-34j8-9g88","refsource":"9b29abf9-4ab0-4765-b253-1875cd9b441e","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/tonycoz/imager/pull/567","name":"https://github.com/tonycoz/imager/pull/567","refsource":"9b29abf9-4ab0-4765-b253-1875cd9b441e","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/tonycoz/imager/commit/d973bd7e8843f084e8071caa24b89545c88b1e4b.patch","name":"https://github.com/tonycoz/imager/commit/d973bd7e8843f084e8071caa24b89545c88b1e4b.patch","refsource":"9b29abf9-4ab0-4765-b253-1875cd9b441e","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-73639","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-73639","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[{"source":"CNA","time":"2026-08-19T00:00:00.000Z","lang":"en","value":"Imager-File-PNG 1.004 and Imager 1.035 released with fix."}],"solutions":[{"source":"CNA","title":"","value":"Upgrade to Imager-File-PNG 1.004 or later, or to Imager 1.035 or later if the bundled copy is in use.","time":"","lang":"en"}],"workarounds":[],"exploits":[],"credits":[{"source":"CNA","value":"Alexander Bluhm (bluhm)","lang":"en"}],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"73639","cve":"CVE-2026-73639","epss":"0.001760000","percentile":"0.074510000","score_date":"2026-09-19","updated_at":"2026-09-20 00:14:30"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2026-09-18T00:18:32.862Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"url":"http://www.openwall.com/lists/oss-security/2026/09/17/6"}],"title":"CVE Program Container"}],"cna":{"affected":[{"collectionURL":"https://cpan.org/modules","defaultStatus":"unaffected","modules":["Imager::File::PNG"],"packageName":"Imager-File-PNG","packageURL":"pkg:cpan/Imager-File-PNG","programFiles":["impng.c"],"programRoutines":[{"name":"read_direct8"}],"repo":"https://github.com/tonycoz/imager","versions":[{"lessThan":"1.004","status":"affected","version":"1.003","versionType":"custom"}]},{"collectionURL":"https://cpan.org/modules","defaultStatus":"unaffected","modules":["Imager::File::PNG"],"packageName":"Imager","packageURL":"pkg:cpan/Imager","programFiles":["PNG/impng.c"],"programRoutines":[{"name":"read_direct8"}],"repo":"https://github.com/tonycoz/imager","versions":[{"lessThan":"1.035","status":"affected","version":"1.034","versionType":"custom"}]}],"credits":[{"lang":"en","type":"finder","value":"Alexander Bluhm (bluhm)"}],"descriptions":[{"lang":"en","value":"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."}],"problemTypes":[{"descriptions":[{"cweId":"CWE-787","description":"CWE-787 Out-of-bounds Write","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-09-17T21:18:59.207Z","orgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","shortName":"CPANSec"},"references":[{"tags":["vendor-advisory"],"url":"https://github.com/tonycoz/imager/security/advisories/GHSA-jhx5-34j8-9g88"},{"tags":["patch"],"url":"https://github.com/tonycoz/imager/commit/d973bd7e8843f084e8071caa24b89545c88b1e4b.patch"},{"tags":["issue-tracking"],"url":"https://github.com/tonycoz/imager/pull/567"},{"tags":["release-notes"],"url":"https://metacpan.org/release/TONYC/Imager-File-PNG-1.004/changes"},{"tags":["release-notes"],"url":"https://metacpan.org/release/TONYC/Imager-1.035/changes"}],"solutions":[{"lang":"en","value":"Upgrade to Imager-File-PNG 1.004 or later, or to Imager 1.035 or later if the bundled copy is in use."}],"source":{"discovery":"UNKNOWN"},"timeline":[{"lang":"en","time":"2026-08-19T00:00:00.000Z","value":"Imager-File-PNG 1.004 and Imager 1.035 released with fix."}],"title":"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","x_generator":{"engine":"cpansec-cna-tool 0.1"}}},"cveMetadata":{"assignerOrgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","assignerShortName":"CPANSec","cveId":"CVE-2026-73639","datePublished":"2026-09-17T21:18:59.207Z","dateReserved":"2026-08-13T12:51:42.912Z","dateUpdated":"2026-09-18T00:18:32.862Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-09-17 22:17:03","lastModifiedDate":"2026-09-18 17:49:29","problem_types":["CWE-787","CWE-787 CWE-787 Out-of-bounds Write"],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"73639","Ordinal":"1","Title":"Imager::File::PNG versions from 1.003 before 1.004 for Perl writ","CVE":"CVE-2026-73639","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"73639","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"Imager::File::PNG versions from 1.003 before 1.004 for Perl writ"}]}}}