{"id":"CVE-2026-27168","state":"PUBLISHED","title":"SAIL: Heap-based Buffer Overflow in Sail-codecs-xwd","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.","publishedAt":"2026-02-20T23:34:54.580Z","updatedAt":"2026-02-25T21:27:45.488Z","severity":{"score":8.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["HappySeaFox sail"],"affected":[{"vendor":"HappySeaFox","product":"sail","versions":[{"version":"<= 0.9.10","status":"affected"}]}],"references":["https://github.com/HappySeaFox/sail/security/advisories/GHSA-3g38-x2pj-mv55"],"weaknesses":["CWE-122"],"ingestedAt":"2026-10-29T20:11:31.369Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/27xxx/CVE-2026-27168.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-27168","state":"PUBLISHED","datePublished":"2026-02-20T23:34:54.580Z","dateUpdated":"2026-02-25T21:27:45.488Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-02-18T00:18:53.963Z"},"containers":{"cna":{"title":"SAIL: Heap-based Buffer Overflow in Sail-codecs-xwd","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'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."}],"affected":[{"vendor":"HappySeaFox","product":"sail","versions":[{"version":"<= 0.9.10","status":"affected"}]}],"references":[{"url":"https://github.com/HappySeaFox/sail/security/advisories/GHSA-3g38-x2pj-mv55","name":"https://github.com/HappySeaFox/sail/security/advisories/GHSA-3g38-x2pj-mv55","tags":["x_refsource_CONFIRM"]}],"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","lang":"en","description":"CWE-122: Heap-based Buffer Overflow","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-02-20T23:34:54.580Z"},"source":{"advisory":"GHSA-3g38-x2pj-mv55","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-02-25T21:27:33.611904Z","id":"CVE-2026-27168","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-02-25T21:27:45.488Z"}}]}}}