CVE-2026-27168: SAIL: Heap-based Buffer Overflow in Sail-codecs-xwd

Published Feb 20, 2026
·
Updated

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 bytesperline value. The value os read directly from the file as the read size in io->strictread(), and is never compared to the actual size of the destination buffer. An attacker can provide an XWD file with an arbitrarily large bytesperline, 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 Software

2 affected components
SAIL
SAIL SAIL<=0.9.10

Event History

Feb 20, 2026
CVE Published
via MITRE·11:34 PM
Data Sourced
via MITRE·11:34 PM
DescriptionSeverityWeakness
Feb 21, 2026
Data Sourced
via NVD·12:16 AM
DescriptionSeverityWeaknessAffected Software
Oct 1, 58139
Event
via FIRST·03:47 PM

Frequently Asked Questions

1

What is the severity of CVE-2026-27168?

CVE-2026-27168 is classified as a high-severity vulnerability due to its potential for remote code execution.

2

How do I fix CVE-2026-27168?

To fix CVE-2026-27168, update the Sail library to the latest version that addresses this buffer overflow vulnerability.

3

What are the potential impacts of CVE-2026-27168?

The impacts of CVE-2026-27168 may include unauthorized access or execution of arbitrary code, leading to system compromise.

4

Which versions of Sail are affected by CVE-2026-27168?

All versions of the SAIL library are affected by CVE-2026-27168, and immediate action is required.

5

How can I mitigate risks associated with CVE-2026-27168?

To mitigate risks associated with CVE-2026-27168, avoid using vulnerable versions of the SAIL library until a patched version is implemented.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203