CVE-2026-93018: Imager versions before 1.036 for Perl disclose uninitialised heap memory reading a paletted image with pixel indexes past its colour map in i_gpix_p and i_glin_p
CVE-2026-93018: Imager for Perl versions before 1.036 disclose uninitialized heap memory when reading paletted images with pixel indexes past the colour map.
Stig Palmquist disclosed CVE-2026-93018, an information disclosure flaw in the Imager library for Perl. Versions before 1.036 return uninitialized heap memory through i_gpix_p and i_glin_p when a paletted image contains pixel indexes beyond its colour map, potentially leaking sensitive process memory via decoded image data. The fix is included in Imager 1.036; no exploitation has been reported.
- Uninitialized heap memory exposed via i_gpix_p and i_glin_p
- Triggered by paletted images with out-of-range pixel indexes
- Fixed in Imager 1.036 for Perl
Vulnerabilities mentionedAll →
- CVE-2026-930185.5—Heap Memory Disclosure in Imager Perl Module (< 1.036) via Paletted Image Parsingpublished · Imager project (CPAN) Imager (Perl module)
| CVE | Vulnerability | CVSS | EPSS | Flags | Affected | Exposure | Published |
|---|---|---|---|---|---|---|---|
| CVE-2026-93018 | Heap Memory Disclosure in Imager Perl Module (< 1.036) via Paletted Image Parsing Imager versions before 1.036 for Perl leak uninitialised heap memory when reading paletted images that contain pixel indexes at or beyond the image's colour map. The palette is allocated uninitialised and only entries actually populated by the reader count; the TGA reader stores pixel indexes without validating them against the colour map, and the bounds handling in i_gpix_p() (which only rejects indexes greater than the count) and i_glin_p() (which silently skips out-of-range pixels) lets reads at the boundary return the first unpopulated entry, so fetching pixels or converting the image to RGB exposes prior heap contents to the caller. An attacker who can submit a crafted paletted image (e.g., a TGA file) to an application that decodes it via Imager->read() can harvest fragments of process heap memory, potentially including sensitive data held by the host application. Any application, script, or service using the Imager module before 1.036 to process untrusted images is affected. No public proof-of-concept is known, the issue is not in CISA's KEV, and no CVSS score has been assigned, with no exploitation reported to date. |
Posted by Stig Palmquist on Sep 18 ======================================================================== https://metacpan.org/dist/Imager https://github.com/tonycoz/imager Imager versions before 1.036 for Perl...
This source does not provide full text. Read it at seclists.org.