CVE-2026-102505

NameCVE-2026-102505
DescriptionImager versions before 1.037 for Perl overflow a heap buffer fetching float samples from a paletted image in i_gsampf_fp. For a paletted image, getsamples() with type "float" allocates a buffer of one sample per pixel and fetches every requested channel of each pixel into it. Requesting more than one channel writes past its end. An attacker-supplied image controls the overflowing bytes through its palette.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libimager-perl (PTS)bookworm1.019+dfsg-1vulnerable
trixie1.027+dfsg-1vulnerable
forky, sid1.036+dfsg-1vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libimager-perlsource(unstable)(unfixed)

Notes

https://lists.security.metacpan.org/cve-announce/msg/43998313/
https://github.com/tonycoz/imager/security/advisories/GHSA-4rx6-cgv3-fmxp
Fixed by: https://github.com/tonycoz/imager/commit/aae49c6be065aa467e834105c816359394a634db (v1.037)

Search for package or bug name: Reporting problems