9.8 CRITICAL
- CVSS version: 3.1
- Attack vector (AV): NETWORK
- Attack complexity (AC): LOW
- Privileges required (PR): NONE
- User interaction (UI): NONE
- Scope (S): UNCHANGED
- Confidentiality impact (C): HIGH
- Integrity impact (I): HIGH
- Availability impact (A): HIGH
Activity log
- Created suggestion
SAIL has heap buffer overflow in XWD decoder — bits_per_pixel vs pixmap_depth type confusion in byte-swap
SAIL is a cross-platform library for loading and saving images with support for animation, metadata, and ICC profiles. Prior to commit 36aa5c7ec8a2bb35f6fb867a1177a6f141156b02, the XWD codec resolves pixel format based on `pixmap_depth` but the byte-swap code uses `bits_per_pixel` independently. When `pixmap_depth=8` (BPP8_INDEXED, 1 byte/pixel buffer) but `bits_per_pixel=32`, the byte-swap loop accesses memory as `uint32_t*`, reading/writing 4x the allocated buffer size. This is a different vulnerability from the previously reported GHSA-3g38-x2pj-mv55 (CVE-2026-27168), which addressed `bytes_per_line` validation. Commit 36aa5c7ec8a2bb35f6fb867a1177a6f141156b02 contains a patch.
References
Affected products
- ==< 36aa5c7ec8a2bb35f6fb867a1177a6f141156b02
Matching in nixpkgs
pkgs.sail
Spark-compatible compute engine built on Apache Arrow and DataFusion
pkgs.sailsd
Simulator daemon for autonomous sailing boats
pkgs.mainsail
Web interface for managing and controlling 3D printers with Klipper
pkgs.sail-riscv
Formal specification of the RISC-V architecture, written in Sail
pkgs.ocamlPackages.sail
Language for describing the instruction-set architecture (ISA) semantics of processors
pkgs.sailfish-access-control
Thin wrapper on top of pwd.h and grp.h of glibc
pkgs.ocamlPackages_latest.sail
Language for describing the instruction-set architecture (ISA) semantics of processors
pkgs.haskellPackages.amazonka-lightsail
Amazon Lightsail SDK
-
nixos-unstable 2.0-unstable-2025-04-16
- nixpkgs-unstable 2.0-unstable-2025-04-16
- nixos-unstable-small 2.0-unstable-2025-04-16
-
nixos-25.11 2.0-unstable-2025-04-16
- nixos-25.11-small 2.0-unstable-2025-04-16
- nixpkgs-25.11-darwin 2.0-unstable-2025-04-16
pkgs.python312Packages.mypy-boto3-lightsail
Type annotations for boto3 lightsail
-
nixos-25.11 boto3-lightsail-1.41.0
- nixos-25.11-small boto3-lightsail-1.41.0
- nixpkgs-25.11-darwin boto3-lightsail-1.41.0
pkgs.python313Packages.mypy-boto3-lightsail
Type annotations for boto3 lightsail
-
nixos-unstable boto3-lightsail-1.42.84
- nixpkgs-unstable boto3-lightsail-1.42.84
- nixos-unstable-small boto3-lightsail-1.42.84
-
nixos-25.11 boto3-lightsail-1.41.0
- nixos-25.11-small boto3-lightsail-1.41.0
- nixpkgs-25.11-darwin boto3-lightsail-1.41.0
pkgs.python314Packages.mypy-boto3-lightsail
Type annotations for boto3 lightsail
-
nixos-unstable boto3-lightsail-1.42.84
- nixpkgs-unstable boto3-lightsail-1.42.84
- nixos-unstable-small boto3-lightsail-1.42.84
pkgs.libsForQt5.sailfish-access-control-plugin
QML interface for sailfish-access-control
pkgs.kdePackages.sailfish-access-control-plugin
QML interface for sailfish-access-control
pkgs.qt6Packages.sailfish-access-control-plugin
QML interface for sailfish-access-control
pkgs.python312Packages.types-aiobotocore-lightsail
Type annotations for aiobotocore lightsail
pkgs.python313Packages.types-aiobotocore-lightsail
Type annotations for aiobotocore lightsail
Package maintainers
-
@OPNA2608 Cosima Neidahl <opna2608@protonmail.com>
-
@lovesegfault Bernardo Meurer <meurerbernardo@gmail.com>
-
@Wulfsta Wulfsta <wulfstawulfsta@gmail.com>
-
@fabaff Fabian Affolter <mail@fabian-affolter.ch>
-
@davidlghellin David López <hola@devel0pez.com>
-
@kragniz Louis Taylor <louis@kragniz.eu>
-
@mbalatsko Maksym Balatsko <mbalatsko@gmail.com>