CVEfocus › CVE database › CVE-2026-19082

CVE-2026-19082Imager versions from 0.45_02 before 1.034 for Perl may expose adjacent heap bytes via…

CVSS 7.5 HighEPSS 0.4% (higher than 31% of CVEs)Published 2026-08-07Updated 2026-08-07Assigner: CPANSec

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.

CWE-125

What to do

Fixed builds are available from Debian: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

1Fixed
6Fix pending
3Under investigation

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10libimager-perlFix pendingUBUNTU-CVE-2026-19082
Ubuntu 26.04libimager-perlUnder investigationUBUNTU-CVE-2026-19082
Ubuntu 24.04libimager-perlUnder investigationUBUNTU-CVE-2026-19082
Ubuntu 22.04libimager-perlUnder investigationUBUNTU-CVE-2026-19082
Ubuntu 20.04libimager-perlFix pendingUBUNTU-CVE-2026-19082
Ubuntu 18.04libimager-perlFix pendingUBUNTU-CVE-2026-19082
Ubuntu 16.04libimager-perlFix pendingUBUNTU-CVE-2026-19082
Debian 14libimager-perlFixed1.034+dfsg-1DEBIAN-CVE-2026-19082
Debian 13libimager-perlFix pendingDEBIAN-CVE-2026-19082
Debian 12libimager-perlFix pendingDEBIAN-CVE-2026-19082

What the vendor says

As published in the CVE record by CPANSec, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Solution: Upgrade to Imager 1.034 or later.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.