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 TGA RLE decoder — raw packet path missing bounds check
SAIL is a cross-platform library for loading and saving images with support for animation, metadata, and ICC profiles. Prior to commit 45d48d1f2e8e0d73e80bc1fd5310cb57f4547302, the TGA codec's RLE decoder in `tga.c` has an asymmetric bounds check vulnerability. The run-packet path (line 297) correctly clamps the repeat count to the remaining buffer space, but the raw-packet path (line 305-311) has no equivalent bounds check. This allows writing up to 496 bytes of attacker-controlled data past the end of a heap buffer. Commit 45d48d1f2e8e0d73e80bc1fd5310cb57f4547302 patches the issue.
References
Affected products
- ==< 45d48d1f2e8e0d73e80bc1fd5310cb57f4547302
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>