Debian Package Tracker
Register | Log in
Subscribe

sail

Choose email to subscribe with

general
  • source: sail (main)
  • version: 1.2.0-1
  • maintainer: Sudip Mukherjee (DMD)
  • arch: any
  • std-ver: 4.7.4
  • VCS: Git (Browse, QA)
versions [more versions can be listed by madison] [old versions available from snapshot.debian.org]
[pool directory]
  • stable: 0.9.8-1+deb13u1
  • testing: 1.2.0-1
  • unstable: 1.2.0-1
versioned links
  • 0.9.8-1+deb13u1: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
  • 1.2.0-1: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
binaries
  • libsail-c++-dev
  • libsail-c++1
  • libsail-common-dev
  • libsail-common1
  • libsail-dev (1 bugs: 0, 1, 0, 0)
  • libsail-manip-dev
  • libsail-manip1
  • libsail1
  • sail-codecs
action needed
1 security issue in sid high

There is 1 open security issue in sid.

1 important issue:
  • CVE-2026-27168: SAIL is a cross-platform library for loading and saving images with support for animation, metadata, and ICC profiles. All versions are vulnerable to Heap-based Buffer Overflow through the XWD parser's use of the bytes_per_line value. The value os read directly from the file as the read size in io->strict_read(), and is never compared to the actual size of the destination buffer. An attacker can provide an XWD file with an arbitrarily large bytes_per_line, causing a massive write operation beyond the buffer heap allocated for the image pixels. The issue did not have a fix at the time of publication.
Created: 2026-02-21 Last update: 2026-09-22 10:30
1 security issue in forky high

There is 1 open security issue in forky.

1 important issue:
  • CVE-2026-27168: SAIL is a cross-platform library for loading and saving images with support for animation, metadata, and ICC profiles. All versions are vulnerable to Heap-based Buffer Overflow through the XWD parser's use of the bytes_per_line value. The value os read directly from the file as the read size in io->strict_read(), and is never compared to the actual size of the destination buffer. An attacker can provide an XWD file with an arbitrarily large bytes_per_line, causing a massive write operation beyond the buffer heap allocated for the image pixels. The issue did not have a fix at the time of publication.
Created: 2026-02-21 Last update: 2026-09-22 10:30
7 low-priority security issues in trixie low

There are 7 open security issues in trixie.

7 issues left for the package maintainer to handle:
  • CVE-2026-27168: (needs triaging) SAIL is a cross-platform library for loading and saving images with support for animation, metadata, and ICC profiles. All versions are vulnerable to Heap-based Buffer Overflow through the XWD parser's use of the bytes_per_line value. The value os read directly from the file as the read size in io->strict_read(), and is never compared to the actual size of the destination buffer. An attacker can provide an XWD file with an arbitrarily large bytes_per_line, causing a massive write operation beyond the buffer heap allocated for the image pixels. The issue did not have a fix at the time of publication.
  • CVE-2026-40492: (needs triaging) 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.
  • CVE-2026-40493: (needs triaging) SAIL is a cross-platform library for loading and saving images with support for animation, metadata, and ICC profiles. Prior to commit c930284445ea3ff94451ccd7a57c999eca3bc979, the PSD codec computes bytes-per-pixel (`bpp`) from raw header fields `channels * depth`, but the pixel buffer is allocated based on the resolved pixel format. For LAB mode with `channels=3, depth=16`, `bpp = (3*16+7)/8 = 6`, but the format `BPP40_CIE_LAB` allocates only 5 bytes per pixel. Every pixel write overshoots, causing a deterministic heap buffer overflow on every row. Commit c930284445ea3ff94451ccd7a57c999eca3bc979 contains a patch.
  • CVE-2026-40494: (needs triaging) 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.
  • CVE-2026-54626: (needs triaging) SAIL is a cross-platform library for loading and saving images with support for animation, metadata, and ICC profiles. In 0.9.10 and earlier, the TGA_INDEXED_RLE path selected by image_type == 9 allocates an image buffer using the one-byte-per-pixel SAIL_PIXEL_FORMAT_BPP8_INDEXED format returned by tga_private_sail_pixel_format() in src/sail-codecs/tga/helpers.c, while sail_codec_load_frame_v8_tga() in src/sail-codecs/tga/tga.c derives a two-to-four-byte pixel_size from an attacker-controlled header bpp value from 9 through 32. Loading a crafted color-mapped run-length-encoded TGA through sail_load_from_file() or sail_load_from_memory() therefore writes attacker-controlled bytes beyond the heap pixel buffer. The pixel-count clamp added for CVE-2026-40494 does not constrain the per-pixel write width, so this issue is an incomplete fix of that vulnerability and can cause heap corruption, a reliable crash, or potential code execution. This issue is fixed in version 1.0.0.
  • CVE-2026-54627: (needs triaging) SAIL is a cross-platform library for loading and saving images with support for animation, metadata, and ICC profiles. In 0.9.10 and earlier, psd_private_sail_pixel_format() in src/sail-codecs/psd/helpers.c resolves a one-channel PSD in Bitmap color mode to SAIL_PIXEL_FORMAT_BPP1_INDEXED without requiring the file depth to be one, so the pixel buffer uses one-bit rows while sail_codec_load_frame_v8_psd() in src/sail-codecs/psd/psd.c accepts depth == 8 and writes one attacker-controlled byte per pixel. Loading a crafted PSD through sail_load_from_file() or sail_load_from_memory() therefore writes beyond each heap row, causing memory corruption, a reliable crash, or potential code execution. This mode/depth mismatch is distinct from GHSA-rcqx-gc76-r9mv and GHSA-wcj8-hxxf-pq2c. This issue is fixed in version 1.0.0.
  • CVE-2026-54692: (needs triaging) SAIL is a cross-platform library for loading and saving images with support for animation, metadata, and ICC profiles. Prior to 1.0.0, sail_codec_load_frame_v8_xbm() in src/sail-codecs/xbm/xbm.c allocates the decoded pixel buffer using the X11 one-byte-per-literal layout, but an X10 static short file causes the flat decode loop to write two file-controlled bytes per literal. When ceil(width/8) produces an odd row stride, the X10 literal count includes a padding byte for every row, but the destination has no space for those bytes, so loading the XBM through sail_load_from_file, sail_load_from_memory, or sail_start_loading_* produces a forward heap overwrite that scales with image height. The X11 static char path is not affected. The overwrite can corrupt process state, cause reliable crashes, and potentially enable code execution in a susceptible consuming application. This issue is fixed in version 1.0.0.

You can find information about how to handle these issues in the security team's documentation.

Created: 2026-02-21 Last update: 2026-09-22 10:30
news
[rss feed]
  • [2026-09-16] sail 1.2.0-1 MIGRATED to testing (Debian testing watch)
  • [2026-09-05] Accepted sail 1.2.0-1 (source amd64) into unstable (Debian FTP Masters) (signed by: Sudip Mukherjee)
  • [2026-06-21] sail 0.9.10-3 MIGRATED to testing (Debian testing watch)
  • [2026-06-15] Accepted sail 0.9.10-3 (source) into unstable (Sudip Mukherjee)
  • [2026-05-17] Accepted sail 0.9.10-2 (source) into unstable (Sudip Mukherjee)
  • [2026-05-14] sail REMOVED from testing (Debian testing watch)
  • [2026-01-04] sail 0.9.10-1 MIGRATED to testing (Debian testing watch)
  • [2025-12-29] Accepted sail 0.9.10-1 (source) into unstable (Sudip Mukherjee)
  • [2025-11-02] Accepted sail 0.9.8-1+deb13u1 (source) into proposed-updates (Debian FTP Masters) (signed by: Sudip Mukherjee)
  • [2025-09-07] sail 0.9.9-1 MIGRATED to testing (Debian testing watch)
  • [2025-09-02] Accepted sail 0.9.9-1 (source) into unstable (Sudip Mukherjee)
  • [2025-04-12] sail 0.9.8-1 MIGRATED to testing (Debian testing watch)
  • [2025-04-06] Accepted sail 0.9.8-1 (source) into unstable (Sudip Mukherjee)
  • [2024-12-30] sail 0.9.7-1 MIGRATED to testing (Debian testing watch)
  • [2024-12-24] Accepted sail 0.9.7-1 (source) into unstable (Sudip Mukherjee)
  • [2024-10-20] sail 0.9.6-1 MIGRATED to testing (Debian testing watch)
  • [2024-10-14] Accepted sail 0.9.6-1 (source) into unstable (Sudip Mukherjee)
  • [2024-05-30] sail 0.9.5-1 MIGRATED to testing (Debian testing watch)
  • [2024-05-24] Accepted sail 0.9.5-1 (source) into unstable (Sudip Mukherjee)
  • [2024-04-25] sail 0.9.0+repack-2.1 MIGRATED to testing (Debian testing watch)
  • [2024-03-17] sail REMOVED from testing (Debian testing watch)
  • [2024-02-29] Accepted sail 0.9.0+repack-2.1 (source) into unstable (Benjamin Drung)
  • [2024-02-03] Accepted sail 0.9.0+repack-2.1~exp1 (source) into experimental (Sergio Durigan Junior)
  • [2024-01-07] sail 0.9.0+repack-2 MIGRATED to testing (Debian testing watch)
  • [2023-12-31] Accepted sail 0.9.0+repack-2 (source) into unstable (Sudip Mukherjee)
  • [2023-12-30] Accepted sail 0.9.0+repack-1 (source amd64) into unstable (Debian FTP Masters) (signed by: Sudip Mukherjee)
bugs [bug history graph]
  • all: 2
  • RC: 0
  • I&N: 2
  • M&W: 0
  • F&P: 0
  • patch: 0
links
  • homepage
  • lintian
  • buildd: logs, reproducibility, cross
  • popcon
  • browse source code
  • other distros
  • security tracker
ubuntu Ubuntu logo [Information about Ubuntu for Debian Developers]
  • version: 0.9.10-3

Debian Package Tracker — Copyright 2013-2025 The Distro Tracker Developers
Report problems to the tracker.debian.org pseudo-package in the Debian BTS.
Documentation — Bugs — Git Repository — Contributing