libimager-perl — security advisory
Imager versions before 1.036 for Perl disclose uninitialised heap memory reading a paletted image with pixel indexes past its colour map in i_gpix_p and i_glin_p. The palette is allocated uninitialised, and only the entries a reader adds count as populated. The TGA reader stores pixel indexes without checking them against the colour map. i_gpix_p() rejects only an index greater than the count, so an index equal to it reads the first unpopulated entry, and getpixel() returns it. i_glin_p() skips any index at or beyond the count without writing that pixel to the caller's buffer. The palette-to-RGB conversion reads each row through an uninitialised buffer, so those pixels of the converted image hold prior heap contents. Reading an attacker-supplied image through Imager->read() and then fetching its pixels or converting it to RGB discloses process heap memory.
- 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-93018
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 03:32 UTC · Revision 1
Source evidence
Imager versions before 1.036 for Perl disclose uninitialised heap memory reading a paletted image with pixel indexes past its colour map in i_gpix_p and i_glin_p. The palette is allocated uninitialised, and only the entries a reader adds count as populated. The TGA reader stores pixel indexes without checking them against the colour map. i_gpix_p() rejects only an index greater than the count, so an index equal to it reads the first unpopulated entry, and getpixel() returns it. i_glin_p() skips any index at or beyond the count without writing that pixel to the caller's buffer. The palette-to-RGB conversion reads each row through an uninitialised buffer, so those pixels of the converted image hold prior heap contents. Reading an attacker-supplied image through Imager->read() and then fetching its pixels or converting it to RGB discloses process heap memory.
osv:UBUNTU-CVE-2026-93018
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": "76c606e7ae47d37bd8420b3d20bd8ddc6eb6cdd3210a35789dc280d49bc04be3",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-93018",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2026-93018",
"summary": "Imager versions before 1.036 for Perl disclose uninitialised heap memory reading a paletted image with pixel indexes past its colour map in i_gpix_p and i_glin_p. The palette is allocated uninitialised, and only the entries a reader adds count as populated. The TGA reader stores pixel indexes without checking them against the colour map. i_gpix_p() rejects only an index greater than the count, so an index equal to it reads the first unpopulated entry, and getpixel() returns it. i_glin_p() skips any index at or beyond the count without writing that pixel to the caller's buffer. The palette-to-RGB conversion reads each row through an uninitialised buffer, so those pixels of the converted image hold prior heap contents. Reading an attacker-supplied image through Imager->read() and then fetching its pixels or converting it to RGB discloses process heap memory.",
"evidence": "osv:UBUNTU-CVE-2026-93018",
"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": "medium",
"structured": {
"id": "UBUNTU-CVE-2026-93018",
"aliases": [
"UBUNTU-CVE-2026-93018"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N"
},
{
"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-93018.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-93018.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-93018.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-93018.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-93018.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-93018.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-93018.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libimager-perl",
"binary_version": "1.029+dfsg-1"
}
]
}
}
],
"modified": "2026-10-17T13:01:17.868335234Z",
"provider": "osv",
"upstream": [
"CVE-2026-93018"
],
"references": [
"https://ubuntu.com/security/CVE-2026-93018",
"https://www.cve.org/CVERecord?id=CVE-2026-93018",
"https://lists.security.metacpan.org/cve-announce/msg/43654795/",
"https://github.com/tonycoz/imager/security/advisories/GHSA-j7v7-cm4g-vrgf",
"https://github.com/tonycoz/imager/commit/dcf0a52e2732399d42ab44d98af6934658d068ee.patch",
"https://metacpan.org/release/TONYC/Imager-1.036/changes"
]
},
"related_cves": [
{
"value": "CVE-2026-93018",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 361544,
"published_at": "2026-09-18T14:19:00+00:00"
}