Heap-based Buffer Overflow Affecting sail package, versions *


Severity

Recommended
0.0
critical
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.4% (32nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIANUNSTABLE-SAIL-15325594
  • published21 Feb 2026
  • disclosed21 Feb 2026

Introduced: 21 Feb 2026

CVE-2026-27168  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

There is no fixed version for Debian:unstable sail.

NVD Description

Note: Versions mentioned in the description apply only to the upstream sail package and not the sail package as distributed by Debian. See How to fix? for Debian:unstable relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1