7.1 HIGH
- CVSS version (CVSS): 3.1
- Attack Vector (AV): Local (L)
- Attack Complexity (AC): Low (L)
- Privileges Required (PR): None (N)
- User Interaction (UI): Required (R)
- Scope (S): Unchanged (U)
- Confidentiality (C): High (H)
- Integrity (I): None (N)
- Availability (A): High (H)
- Modified Attack Vector (MAV): Local (L)
- Modified Attack Complexity (MAC): Low (L)
- Modified Privileges Required (MPR): None (N)
- Modified User Interaction (MUI): Required (R)
- Modified Confidentiality (MC): High (H)
- Modified Scope (MS): Unchanged (U)
- Modified Integrity (MI): None (N)
- Modified Availability (MA): High (H)
by @LeSuisse Activity log
- Created suggestion
-
@LeSuisse
ignored
10 packages
- gimagereader-qt
- imager
- usbimager
- vcdimager
- rpi-imager
- gImageReader
- gimagereader
- gImageReader-qt
- perlPackages.ImagerQRCode
- perl5Packages.ImagerQRCode
- @LeSuisse accepted
- @LeSuisse published on GitHub
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
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.
References
Affected products
- <1.032
Matching in nixpkgs
pkgs.perlPackages.Imager
Perl extension for Generating 24 bit Images
Ignored packages (10)
pkgs.imager
Interferometric imaging package
pkgs.usbimager
Very minimal GUI app that can write compressed disk images to USB drives
pkgs.vcdimager
Full-featured mastering suite for authoring, disassembling and analyzing Video CDs and Super Video CDs
pkgs.rpi-imager
Raspberry Pi Imaging Utility
pkgs.gImageReader
Simple Gtk/Qt front-end to tesseract-ocr
-
nixos-unstable 5aff249fdc119caa1464af9405259799b4f69d8b
- nixpkgs-unstable 5aff249fdc119caa1464af9405259799b4f69d8b
- nixos-unstable-small 5aff249fdc119caa1464af9405259799b4f69d8b
-
nixos-26.05 5aff249fdc119caa1464af9405259799b4f69d8b
- nixos-26.05-small 5aff249fdc119caa1464af9405259799b4f69d8b
- nixpkgs-26.05-darwin 5aff249fdc119caa1464af9405259799b4f69d8b
pkgs.gimagereader
Simple Gtk/Qt front-end to tesseract-ocr
-
nixos-unstable 5aff249fdc119caa1464af9405259799b4f69d8b
- nixpkgs-unstable 5aff249fdc119caa1464af9405259799b4f69d8b
- nixos-unstable-small 5aff249fdc119caa1464af9405259799b4f69d8b
-
nixos-26.05 5aff249fdc119caa1464af9405259799b4f69d8b
- nixos-26.05-small 5aff249fdc119caa1464af9405259799b4f69d8b
- nixpkgs-26.05-darwin 5aff249fdc119caa1464af9405259799b4f69d8b
pkgs.gImageReader-qt
Simple Gtk/Qt front-end to tesseract-ocr
-
nixos-unstable 5aff249fdc119caa1464af9405259799b4f69d8b
- nixpkgs-unstable 5aff249fdc119caa1464af9405259799b4f69d8b
- nixos-unstable-small 5aff249fdc119caa1464af9405259799b4f69d8b
-
nixos-26.05 5aff249fdc119caa1464af9405259799b4f69d8b
- nixos-26.05-small 5aff249fdc119caa1464af9405259799b4f69d8b
- nixpkgs-26.05-darwin 5aff249fdc119caa1464af9405259799b4f69d8b
pkgs.gimagereader-qt
Simple Gtk/Qt front-end to tesseract-ocr
-
nixos-unstable 5aff249fdc119caa1464af9405259799b4f69d8b
- nixpkgs-unstable 5aff249fdc119caa1464af9405259799b4f69d8b
- nixos-unstable-small 5aff249fdc119caa1464af9405259799b4f69d8b
-
nixos-26.05 5aff249fdc119caa1464af9405259799b4f69d8b
- nixos-26.05-small 5aff249fdc119caa1464af9405259799b4f69d8b
- nixpkgs-26.05-darwin 5aff249fdc119caa1464af9405259799b4f69d8b
pkgs.perlPackages.ImagerQRCode
Generate QR Code with Imager using libqrencode