UBUNTU-CVE-2026-93018

Source
https://ubuntu.com/security/CVE-2026-93018
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-93018.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-93018
Upstream
Published
2026-09-21T00:00:00Z
Modified
2026-09-21T21:40:55Z
Severity
  • Ubuntu - medium
Summary
[none]
Details

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.

References

Affected packages

Ubuntu:16.04:LTS
libimager-perl

Package

Name
libimager-perl
Purl
pkg:deb/ubuntu/libimager-perl?arch=source&distro=xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.003+dfsg-1
1.004+dfsg-1
1.004+dfsg-1build1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "libimager-perl",
            "binary_version":  "1.004+dfsg-1build1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-93018.json"
Ubuntu:18.04:LTS
libimager-perl

Package

Name
libimager-perl
Purl
pkg:deb/ubuntu/libimager-perl?arch=source&distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.005+dfsg-2build1
1.006+dfsg-1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "libimager-perl",
            "binary_version":  "1.006+dfsg-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-93018.json"
Ubuntu:20.04:LTS
libimager-perl

Package

Name
libimager-perl
Purl
pkg:deb/ubuntu/libimager-perl?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.011+dfsg-1
1.011+dfsg-1build1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "libimager-perl",
            "binary_version":  "1.011+dfsg-1build1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-93018.json"
Ubuntu:22.04:LTS
libimager-perl

Package

Name
libimager-perl
Purl
pkg:deb/ubuntu/libimager-perl?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.012+dfsg-1build1
1.012+dfsg-2
1.012+dfsg-2build1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "libimager-perl",
            "binary_version":  "1.012+dfsg-2build1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-93018.json"
Ubuntu:24.04:LTS
libimager-perl

Package

Name
libimager-perl
Purl
pkg:deb/ubuntu/libimager-perl?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.019+dfsg-2
1.020+dfsg-1
1.022+dfsg-1
1.023+dfsg-1
1.023+dfsg-1build1
1.023+dfsg-1build2

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "libimager-perl",
            "binary_version":  "1.023+dfsg-1build2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-93018.json"
Ubuntu:26.04:LTS
libimager-perl

Package

Name
libimager-perl
Purl
pkg:deb/ubuntu/libimager-perl?arch=source&distro=resolute

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.027+dfsg-1
1.029+dfsg-1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "libimager-perl",
            "binary_version":  "1.029+dfsg-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-93018.json"