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.1 | 9.8 (CRITICAL) |
| Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| EPSS | 0.40% probability of exploitation · percentile 31.4% · 2026-06-18T12:00:27Z |
| Published | 2026-02-21 |
| Last modified | 2026-03-02 |
Underlying weaknesses· 1
References
1
| Type | Target | Confidence | Tier |
|---|---|---|---|
| Weakness | Heap-based Buffer Overflowcwe-122 | 0% | live |
Related by meaning· 6
Nearest entities by semantic similarity across the cs-graph corpus.