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
Check your servers for CVE-2026-19082
The PatchBrief agent sends the package list of each Linux server and of its container images once a day. PatchBrief shows every server where CVE-2026-19082 affects imager, with the command that installs the fix. The free plan covers one server and does not need a credit card.
Description
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.
Severity (CVSS)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity none, availability none: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.51%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 36.6% of all scored CVEs. Scores of 26 Nov 2026.
The assessment of CISA (SSVC, 7 Aug 2026):
- Exploitation
- poc: a proof of concept is public
- Automatable
- yes: an attacker can automate the attack across many targets
- Technical impact
- partial: limited control or limited data
Weakness
- CWE-125 Out-of-bounds Read
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
Imager
package
Imager |
affected from 0.45_02, before 1.034
Other versions: unaffected
|
Is my server affected?
Find the installed version of imager and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i imager
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2026-19082 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2026-19082RHEL, Rocky, Alma, Fedora
rpm -q imager
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2026-19082Alpine
apk list --installed | grep -i imagerWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-19082
trivy image --scanners vuln IMAGE | grep CVE-2026-19082
PatchBrief makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server or read how to install the agent.
References
Patches and release notes
- https://github.com/tonycoz/imager/commit/24bde0427a113264d53f45a9c29ae756d84c82fe.patch github.com · patch
- https://metacpan.org/release/TONYC/Imager-1.034/changes metacpan.org · release notes
Exploits and proof of concept
- https://github.com/tonycoz/imager/security/advisories/GHSA-hx46-55wp-hv6m github.com · vendor advisory, exploit
Other references
Source: the record CVE-2026-19082 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.