{"id":"CVE-2026-27168","published":"2026-02-20T23:34:54Z","modified":"2026-02-25T21:27:45Z","title":"SAIL: Heap-based Buffer Overflow in Sail-codecs-xwd","vendor":"HappySeaFox","product":"sail","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00679,"percentile":0.47503,"provenance":"source"},"cwes":[{"id":"CWE-122","name":"Heap-based Buffer Overflow"}],"references":[{"url":"https://github.com/HappySeaFox/sail/security/advisories/GHSA-3g38-x2pj-mv55","tags":["x_refsource_CONFIRM"]}],"priority":{"score":15.7,"factors":[{"name":"EPSS percentile","points":9.5},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"happyseafox","affectedVersions":[{"vendor":"HappySeaFox","product":"sail","versions":["<= 0.9.10"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-02-25T21:27:33.611904Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-7747","exploited":false,"provenance":"source"}}