CVE catalog

CVE-2026-93019

Imager versions before 1.036 for Perl exit the process reading a TGA with a colour map length of 32768 or more in tga_palette_read. The reader unpacks the two-byte colour map length into a signed sho

[CVE catalog]

Severity
Critical · CVSS 9.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Published
Updated
Source
[NVD] · [CVE record]
EPSS
0.65% · Oct 25, 2026

Imager versions before 1.036 for Perl exit the process reading a TGA with a colour map length of 32768 or more in tga_palette_read. The reader unpacks the two-byte colour map length into a signed short, so a length of 32768 or more becomes negative. tga_palette_read() casts that value to size_t and asks mymalloc() for a size near SIZE_MAX. The allocation fails and Imager's allocator calls exit(3). Reading an attacker-supplied file through Imager->read() triggers an uncatchable exit.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianlibimager-perlsid1.040+dfsg-1fixed
Debianlibimager-perlforky1.037+dfsg-2fixed
Debianlibimager-perltrixie1.027+dfsg-1vulnerable
Debianlibimager-perlbookworm1.019+dfsg-1vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianlibimager-perlsourcesid1.036+dfsg-1not yet assignedNot reportedNot reported
Debianlibimager-perlsourceforky1.036+dfsg-1not yet assignedNot reportedNot reported
Debianlibimager-perlsourcetrixie(unfixed)not yet assignedNot reportedNot reported
Debianlibimager-perlsourcebookworm(unfixed)not yet assignedNot reportedNot reported

Notes

[trixie] libimager-perl: Minor issue [bookworm] libimager-perl: Minor issue; crafted TGA colour-map length makes the process exit

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [libimager-perl]Affected

    Source package: [libimager-perl]

    Details (2)
    • 1.019+dfsg-1+b2 · amd64 · bookworm

      Affected

      nvd · libimager-perl · debian · bookworm; nvd · libimager-perl · debian · 12

    • 1.019+dfsg-1+b2 · arm64 · bookworm

      Affected

      nvd · libimager-perl · debian · bookworm; nvd · libimager-perl · debian · 12

[Debian 13 (Trixie)]

  • [libimager-perl]Affected
    Details (2)
    • 1.027+dfsg-1 · amd64 · trixie

      Affected

      nvd · libimager-perl · debian · 13

    • 1.027+dfsg-1 · arm64 · trixie

      Affected

      nvd · libimager-perl · debian · 13

Observed:

References