Skip to main content
EPSS 0.2%top 93%

Libimager perl: Imager versions from 0.45_02 before 1.035 for Perl read outside the EXIF block via unchecked start offsets in tiff_load_ifd. (CVE-2026-73638)

0
Medium
Published: 09/17/2026 (09/17/2026, 22:17:00 UTC)
Source: GCVE Database
Product: libimager-perl

Description

Imager versions from 0.45_02 before 1.035 for Perl read outside the EXIF block via unchecked start offsets in tiff_load_ifd. tiff_load_ifd() validates an IFD entry's data by checking that `entry->offset + entry->size` stays within the EXIF block, and never checks the start offset itself. Where that sum is not the real end of the data, the check passes with the entry starting outside the block. Through 1.032 `entry->offset` is a plain int, so on the usual two's-complement implementations an offset with the high bit set converts to negative and the sum can land back inside the block. From 1.033 the field is a size_t and the addition wraps only where size_t is 32 bits. The IFD's own start offset is checked the same way and wraps where unsigned long is 32 bits, which includes 64-bit Windows. Any caller of Imager->read() on an attacker-supplied image may receive EXIF tags holding bytes from outside the block, or crash the process.

CVSS v3.1

Score 6.2medium

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected software

Ubuntu:16.04:LTSmore threats →ghsa
libimager-perl
pkg:deb/ubuntu/libimager-perl?arch=source&distro=xenial
Affected versions
=1.003+dfsg-1=1.004+dfsg-1=1.004+dfsg-1build1
Ubuntu:18.04:LTSmore threats →ghsa
libimager-perl
pkg:deb/ubuntu/libimager-perl?arch=source&distro=bionic
Affected versions
=1.005+dfsg-2build1=1.006+dfsg-1
Ubuntu:20.04:LTSmore threats →ghsa
libimager-perl
pkg:deb/ubuntu/libimager-perl?arch=source&distro=focal
Affected versions
=1.011+dfsg-1=1.011+dfsg-1build1
Ubuntu:22.04:LTSmore threats →ghsa
libimager-perl
pkg:deb/ubuntu/libimager-perl?arch=source&distro=jammy
Affected versions
=1.012+dfsg-1build1=1.012+dfsg-2=1.012+dfsg-2build1
Ubuntu:24.04:LTSmore threats →ghsa
libimager-perl
pkg:deb/ubuntu/libimager-perl?arch=source&distro=noble
Affected versions
=1.019+dfsg-2=1.020+dfsg-1=1.022+dfsg-1=1.023+dfsg-1=1.023+dfsg-1build1=1.023+dfsg-1build2
Ubuntu:26.04:LTSmore threats →ghsa
libimager-perl
pkg:deb/ubuntu/libimager-perl?arch=source&distro=resolute
Affected versions
=1.027+dfsg-1=1.029+dfsg-1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/25/2026, 01:59:11 UTC

Technical Analysis

The vulnerability in libimager-perl affects versions from 0.45_02 before 1.035. The function tiff_load_ifd validates an IFD entry's data by ensuring that the sum of entry->offset and entry->size remains within the EXIF block, but it does not validate the start offset itself. Due to this, entries starting outside the EXIF block can pass validation if the sum falls within the block. The offset field was an int through version 1.032, allowing negative values on two's complement systems, and changed to size_t in 1.033, affecting how wrapping occurs on 32-bit systems. This flaw allows reading bytes outside the EXIF block or crashing the process when Imager->read() processes crafted images.

Potential Impact

An attacker supplying a malicious image to Imager->read() may cause the application to read memory outside the intended EXIF block, potentially leaking memory contents or causing a denial of service via process crash. There is no indication of confidentiality or integrity impact beyond this memory read and crash.

Mitigation Recommendations

No explicit patch or fix is stated in the provided data. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid processing untrusted images with vulnerable versions of libimager-perl.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
UBUNTU-CVE-2026-73638
Osv Schema Version
1.7.0
Ecosystems
["Ubuntu:16.04:LTS","Ubuntu:18.04:LTS","Ubuntu:20.04:LTS","Ubuntu:22.04:LTS","Ubuntu:24.04:LTS","Ubuntu:26.04:LTS"]

Threat ID: 6a870a94acd9273b49b5a50e

Added to database: 08/20/2026, 14:09:24 UTC

Last enriched: 09/25/2026, 01:59:11 UTC

Last updated: 10/05/2026, 06:48:18 UTC

Views: 63

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses