CVE-2026-27168
published high CVSS 3.1 · 8.8SAIL: Heap-based Buffer Overflow in Sail-codecs-xwd
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| HappySeaFox | — | sail<= 0.9.10 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.8 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| HappySeaFox | sail | <= 0.9.10 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-122 CWE-122: Heap-based Buffer Overflow
References
1Provider assertions
2GitHub_M · cna
SAIL: Heap-based Buffer Overflow in Sail-codecs-xwd
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 28cf4cdfef561e8abbe8222f1ee3347028ec2c82552a3ead918eaa5093e13634
- Ingested
- 23 Sep 2026, 09:07:24 UTC
- Source record
- Official CVE record