CVE catalog

CVE-2026-19082

Imager versions from 0.45_02 before 1.034 for Perl may expose adjacent heap bytes via strlen() over-read from zero-count ASCII EXIF entries in copy_string_tags. copy_string_tags() computes an ASCII E

[CVE catalog]

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

Imager versions from 0.45_02 before 1.034 for Perl may expose adjacent heap bytes via strlen() over-read from zero-count ASCII EXIF entries in copy_string_tags. copy_string_tags() computes an ASCII EXIF tag's length as `entry->size - 1` to strip the trailing NUL. A zero-count ASCII entry sets `entry->size` to 0, and the derived length reaches i_tags_add() as -1, which is interpreted as a request to call strlen(), scanning past the entry to the next NUL and copying those bytes into the tag. JPEG reaches this path via im_decode_exif(), as does the separate Imager::File::WEBP distribution, which is fixed by upgrading Imager. Any caller of Imager->read() on an attacker-supplied image with such an entry may receive an exif_* tag holding adjacent heap bytes instead of an empty string.

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.034+dfsg-1not yet assignedNot reportedNot reported
Debianlibimager-perlsourceforky1.034+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

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