Security Advisories (1)
CVE-2026-112202 (2026-10-20)

Imager::File::GIF versions before 1.006 for Perl allow out-of-bounds reads when consolidating GIF images. With `gif_consolidate => 1`, palette indices from the image are used without checking the colour table's bounds. The i_readgif_low routine reads beyond the heap allocation and copies the bytes into output pixels. The default GIF reader is not affected. The same code ships bundled in the Imager distribution. An attacker supplying a crafted GIF can disclose adjacent heap memory through the decoded output and may crash the process.

NAME

Imager::ExtUtils - functions handy in writing Imager extensions

SYNOPSIS

# make Imager easier to use with Inline
# perldoc Imager::Inline
use Inline with => 'Imager';

DESCRIPTION

base_dir

Returns the base directory where Imager is installed.

inline_config

Implements Imager's Inline::C with hook.

includes

Returns -I options suitable for use with ExtUtils::MakeMaker's INC option.

typemap

Returns the full path to Imager's installed typemap.

AUTHOR

Tony Cook <tonyc@cpan.org>

REVISION

$Revision$

SEE ALSO

Imager, Imager::API, Imager::Inline, Imager::APIRef.