Search criteria
1 vulnerability by HappySeaFox
CVE-2026-27168 (GCVE-0-2026-27168)
Vulnerability from cvelistv5 – Published: 2026-02-20 23:34 – Updated: 2026-02-20 23:34
VLAI?
Title
SAIL: Heap-based Buffer Overflow in Sail-codecs-xwd
Summary
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.
Severity ?
8.8 (High)
CWE
- CWE-122 - Heap-based Buffer Overflow
Assigner
References
| URL | Tags | ||||
|---|---|---|---|---|---|
|
|||||
Impacted products
| Vendor | Product | Version | ||
|---|---|---|---|---|
| HappySeaFox | sail |
Affected:
<= 0.9.10
|
{
"containers": {
"cna": {
"affected": [
{
"product": "sail",
"vendor": "HappySeaFox",
"versions": [
{
"status": "affected",
"version": "\u003c= 0.9.10"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "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\u0027s use of the bytes_per_line value. The value os read directly from the file as the read size in io-\u003estrict_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."
}
],
"metrics": [
{
"cvssV3_1": {
"attackComplexity": "LOW",
"attackVector": "ADJACENT_NETWORK",
"availabilityImpact": "HIGH",
"baseScore": 8.8,
"baseSeverity": "HIGH",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"version": "3.1"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-122",
"description": "CWE-122: Heap-based Buffer Overflow",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-02-20T23:34:54.580Z",
"orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"shortName": "GitHub_M"
},
"references": [
{
"name": "https://github.com/HappySeaFox/sail/security/advisories/GHSA-3g38-x2pj-mv55",
"tags": [
"x_refsource_CONFIRM"
],
"url": "https://github.com/HappySeaFox/sail/security/advisories/GHSA-3g38-x2pj-mv55"
}
],
"source": {
"advisory": "GHSA-3g38-x2pj-mv55",
"discovery": "UNKNOWN"
},
"title": "SAIL: Heap-based Buffer Overflow in Sail-codecs-xwd"
}
},
"cveMetadata": {
"assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"assignerShortName": "GitHub_M",
"cveId": "CVE-2026-27168",
"datePublished": "2026-02-20T23:34:54.580Z",
"dateReserved": "2026-02-18T00:18:53.963Z",
"dateUpdated": "2026-02-20T23:34:54.580Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}