🛡️ CVE-2026-13705 on Ubuntu — libimager-perl
Description
Imager versions before 1.032 for Perl have a heap out-of-bounds read in the bundled Imager::File::SGI reader via a 16-bit RLE literal run in read_rgb_16_rle. read_rgb_16_rle guards each literal run with if (count > data_left), but count is a pixel count while every 16-bit sample consumes two bytes. The copy loop reads inp[0] * 256 + inp[1] and advances two bytes per pixel, so a run with data_left / 2 < count <= data_left passes the guard yet consumes 2 * count bytes and reads past the end of the buffer. The 8-bit path is unaffected because there one pixel is one byte. Reading a crafted SGI image through Imager->read triggers the over-read before the parser rejects the malformed image, which can crash the process.
Distribution advisory
This page covers CVE-2026-13705 as tracked by Ubuntu, for the package libimager-perl. No fixed version has been recorded for this distribution yet.
How this vulnerability can be exploited
This issue can be reached with local access to the system, attack complexity is low, an attacker needs no privileges on the target. A user must be tricked into taking some action. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality high, integrity none, availability high.
Affected software
UBUNTU-CVE-2026-13705 is recorded against 1 package.
- libimager-perl
Timeline and source
Published on 6 July 2026 and last revised on 9 July 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
ubuntu.com (Report)
www.cve.org (Report)
lists.security.metacpan.org (Report)
Details
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| libimager-perl | — | — |
References
Similar Threats
- Unknown DEBIAN-CVE-2026-19082
- Unknown DEBIAN-CVE-2026-14454
- Unknown UBUNTU-CVE-2026-14454
- Unknown DEBIAN-CVE-2026-13705
- Unknown DEBIAN-CVE-2026-13708
More UBUNTU CVE 2026 advisories
Browse all of UBUNTU CVE 2026 in the advisory index.
- UBUNTU-CVE-2026-13586
- UBUNTU-CVE-2026-13593
- UBUNTU-CVE-2026-13595
- UBUNTU-CVE-2026-13601
- UBUNTU-CVE-2026-13606
- UBUNTU-CVE-2026-13676
- UBUNTU-CVE-2026-13697
- UBUNTU-CVE-2026-13698
- UBUNTU-CVE-2026-13708
- UBUNTU-CVE-2026-13713
- UBUNTU-CVE-2026-13757
- UBUNTU-CVE-2026-13758
- UBUNTU-CVE-2026-13781
- UBUNTU-CVE-2026-13820
- UBUNTU-CVE-2026-13841
- UBUNTU-CVE-2026-13858
Site Security Check
Is libimager-perl part of your stack?
UBUNTU-CVE-2026-13705 is rated CVSS 7.1 High. BotEraser scans your installation against known CVE records and tells you whether this vulnerability applies to the versions you actually run.
Scan My Site Free →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.