CVE-2026-27168CRITICAL 9.8EPSS p31.4%

CVE-2026-27168CVE-2026-27168

Description

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.

Scoring

CVSS 3.19.8 (CRITICAL)
VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS0.40% probability of exploitation · percentile 31.4% · 2026-06-18T12:00:27Z
Published2026-02-21
Last modified2026-03-02

Underlying weaknesses· 1

CWE-122

References

  1. https://github.com/HappySeaFox/sail/security/advisories/GHSA-3g38-x2pj-mv55

1

TypeTargetConfidenceTier
WeaknessHeap-based Buffer Overflowcwe-1220%live

Related by meaning· 6

Nearest entities by semantic similarity across the cs-graph corpus.

CVE
CVE-2026-40492
CVE
CVE-2026-40493
CVE
CVE-2026-40494
CVE
CVE-2025-32468
CVE
CVE-2025-53510
CVE
CVE-2025-53085
Sourced from NVD + FIRST.org EPSS. Curated for EU compliance use cases by Adam Lundqvist, Founder at SQUR.