libimager-perl — security advisory
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. With 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. The same reader ships bundled in the Imager distribution. Reading an attacker-supplied PNG through Imager->read() corrupts the heap, which can crash the process.
- Products
- libimager-perl
- Affected versions
- 1.003+dfsg-1, 1.004+dfsg-1, 1.004+dfsg-1build1, 1.005+dfsg-2build1, 1.006+dfsg-1, 1.011+dfsg-1, 1.011+dfsg-1build1, 1.012+dfsg-1build1, 1.012+dfsg-2, 1.012+dfsg-2build1, 1.019+dfsg-2, 1.020+dfsg-1, 1.022+dfsg-1, 1.023+dfsg-1, 1.023+dfsg-1build1, 1.023+dfsg-1build2, 1.027+dfsg-1, 1.029+dfsg-1, 1.031+dfsg-1, 1.033+dfsg-1, 1.035+dfsg-1
- Fixed versions
- Not specified
- CVEs
- CVE-2026-73639
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 03:16 UTC · Revision 1
Source evidence
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. With 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. The same reader ships bundled in the Imager distribution. Reading an attacker-supplied PNG through Imager->read() corrupts the heap, which can crash the process.
osv:UBUNTU-CVE-2026-73639
libimager-perl
Fixed versions: Not specified
libimager-perl
Fixed versions: Not specified
libimager-perl
Fixed versions: Not specified
libimager-perl
Fixed versions: Not specified
libimager-perl
Fixed versions: Not specified
libimager-perl
Fixed versions: Not specified
libimager-perl
Fixed versions: Not specified
Complete source record
{
"id": "8f3e5bf58140e967681584ab1f0bbc586fceb53681286e45ce39925cb5962be5",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-73639",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2026-73639",
"summary": "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. With 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. The same reader ships bundled in the Imager distribution. Reading an attacker-supplied PNG through Imager->read() corrupts the heap, which can crash the process.",
"evidence": "osv:UBUNTU-CVE-2026-73639",
"products": [
{
"name": {
"value": "libimager-perl",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.003+dfsg-1",
"evidence": "/affected/0/versions"
},
{
"value": "1.004+dfsg-1",
"evidence": "/affected/0/versions"
},
{
"value": "1.004+dfsg-1build1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "libimager-perl",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.005+dfsg-2build1",
"evidence": "/affected/1/versions"
},
{
"value": "1.006+dfsg-1",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "libimager-perl",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.011+dfsg-1",
"evidence": "/affected/2/versions"
},
{
"value": "1.011+dfsg-1build1",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "libimager-perl",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.012+dfsg-1build1",
"evidence": "/affected/3/versions"
},
{
"value": "1.012+dfsg-2",
"evidence": "/affected/3/versions"
},
{
"value": "1.012+dfsg-2build1",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "libimager-perl",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.019+dfsg-2",
"evidence": "/affected/4/versions"
},
{
"value": "1.020+dfsg-1",
"evidence": "/affected/4/versions"
},
{
"value": "1.022+dfsg-1",
"evidence": "/affected/4/versions"
},
{
"value": "1.023+dfsg-1",
"evidence": "/affected/4/versions"
},
{
"value": "1.023+dfsg-1build1",
"evidence": "/affected/4/versions"
},
{
"value": "1.023+dfsg-1build2",
"evidence": "/affected/4/versions"
}
]
},
{
"name": {
"value": "libimager-perl",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.029+dfsg-1",
"evidence": "/affected/5/versions"
},
{
"value": "1.031+dfsg-1",
"evidence": "/affected/5/versions"
},
{
"value": "1.033+dfsg-1",
"evidence": "/affected/5/versions"
},
{
"value": "1.035+dfsg-1",
"evidence": "/affected/5/versions"
}
]
},
{
"name": {
"value": "libimager-perl",
"evidence": "/affected/6/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.027+dfsg-1",
"evidence": "/affected/6/versions"
},
{
"value": "1.029+dfsg-1",
"evidence": "/affected/6/versions"
}
]
}
],
"severity": "critical",
"structured": {
"id": "UBUNTU-CVE-2026-73639",
"aliases": [
"UBUNTU-CVE-2026-73639"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "libimager-perl",
"purl": "pkg:deb/ubuntu/libimager-perl?arch=source&distro=xenial",
"ecosystem": "Ubuntu:16.04:LTS"
},
"versions": [
"1.003+dfsg-1",
"1.004+dfsg-1",
"1.004+dfsg-1build1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-73639.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libimager-perl",
"binary_version": "1.004+dfsg-1build1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "libimager-perl",
"purl": "pkg:deb/ubuntu/libimager-perl?arch=source&distro=bionic",
"ecosystem": "Ubuntu:18.04:LTS"
},
"versions": [
"1.005+dfsg-2build1",
"1.006+dfsg-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-73639.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libimager-perl",
"binary_version": "1.006+dfsg-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "libimager-perl",
"purl": "pkg:deb/ubuntu/libimager-perl?arch=source&distro=focal",
"ecosystem": "Ubuntu:20.04:LTS"
},
"versions": [
"1.011+dfsg-1",
"1.011+dfsg-1build1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-73639.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libimager-perl",
"binary_version": "1.011+dfsg-1build1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "libimager-perl",
"purl": "pkg:deb/ubuntu/libimager-perl?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"versions": [
"1.012+dfsg-1build1",
"1.012+dfsg-2",
"1.012+dfsg-2build1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-73639.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libimager-perl",
"binary_version": "1.012+dfsg-2build1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "libimager-perl",
"purl": "pkg:deb/ubuntu/libimager-perl?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"1.019+dfsg-2",
"1.020+dfsg-1",
"1.022+dfsg-1",
"1.023+dfsg-1",
"1.023+dfsg-1build1",
"1.023+dfsg-1build2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-73639.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libimager-perl",
"binary_version": "1.023+dfsg-1build2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "libimager-perl",
"purl": "pkg:deb/ubuntu/libimager-perl?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"1.029+dfsg-1",
"1.031+dfsg-1",
"1.033+dfsg-1",
"1.035+dfsg-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-73639.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libimager-perl",
"binary_version": "1.035+dfsg-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "libimager-perl",
"purl": "pkg:deb/ubuntu/libimager-perl?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"1.027+dfsg-1",
"1.029+dfsg-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-73639.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libimager-perl",
"binary_version": "1.029+dfsg-1"
}
]
}
}
],
"modified": "2026-10-17T13:01:03.630104903Z",
"provider": "osv",
"upstream": [
"CVE-2026-73639"
],
"references": [
"https://ubuntu.com/security/CVE-2026-73639",
"https://www.cve.org/CVERecord?id=CVE-2026-73639",
"https://github.com/tonycoz/imager/security/advisories/GHSA-jhx5-34j8-9g88",
"https://github.com/tonycoz/imager/pull/567"
]
},
"related_cves": [
{
"value": "CVE-2026-73639",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 360911,
"published_at": "2026-09-17T22:17:00+00:00"
}