libimager-perl — security advisory
Imager versions before 1.037 for Perl exit the process reading a raw image with an out-of-range raw_datachannels value in i_readraw_wiol. Nothing range-checks raw_datachannels. The line buffer is sized as the image width times the channel count with no overflow check, so a negative or very large count requests an excessive allocation. When it fails, Imager's allocator calls exit(3). Passing an untrusted raw_datachannels value to Imager->read() triggers an uncatchable exit.
- 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-102504
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 02:53 UTC · Revision 1
Source evidence
Imager versions before 1.037 for Perl exit the process reading a raw image with an out-of-range raw_datachannels value in i_readraw_wiol. Nothing range-checks raw_datachannels. The line buffer is sized as the image width times the channel count with no overflow check, so a negative or very large count requests an excessive allocation. When it fails, Imager's allocator calls exit(3). Passing an untrusted raw_datachannels value to Imager->read() triggers an uncatchable exit.
osv:UBUNTU-CVE-2026-102504
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": "68cfa1516541a0fa63794eebd7c2e2bc78a2ae9b9cffa1a29b9f0de487354750",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-102504",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2026-102504",
"summary": "Imager versions before 1.037 for Perl exit the process reading a raw image with an out-of-range raw_datachannels value in i_readraw_wiol. Nothing range-checks raw_datachannels. The line buffer is sized as the image width times the channel count with no overflow check, so a negative or very large count requests an excessive allocation. When it fails, Imager's allocator calls exit(3). Passing an untrusted raw_datachannels value to Imager->read() triggers an uncatchable exit.",
"evidence": "osv:UBUNTU-CVE-2026-102504",
"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": "high",
"structured": {
"id": "UBUNTU-CVE-2026-102504",
"aliases": [
"UBUNTU-CVE-2026-102504"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/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-102504.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-102504.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-102504.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-102504.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-102504.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-102504.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-102504.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libimager-perl",
"binary_version": "1.029+dfsg-1"
}
]
}
}
],
"modified": "2026-10-17T12:59:45.420753605Z",
"provider": "osv",
"upstream": [
"CVE-2026-102504"
],
"references": [
"https://ubuntu.com/security/CVE-2026-102504",
"https://www.cve.org/CVERecord?id=CVE-2026-102504",
"https://lists.security.metacpan.org/cve-announce/msg/43998314/",
"https://github.com/tonycoz/imager/security/advisories/GHSA-g549-r73g-x7x6",
"https://github.com/tonycoz/imager/commit/21b0df9eef1dffe1fdcd3706bfea9f1338031679.patch",
"https://metacpan.org/release/TONYC/Imager-1.037/changes"
]
},
"related_cves": [
{
"value": "CVE-2026-102504",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 359746,
"published_at": "2026-10-01T14:17:00+00:00"
}