p PatchFirst

CVE-2026-27168

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

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 8.8 · High · EPSS 0.4%

Published
Updated

Stack: system

Affected products and versions

  • sail

    Versions
    • <= 0.9.10: Affected

    No fix published

  • sail Debian:13

    Versions
    • 0.9.10-1
    • 0.9.10-2
    • 0.9.10-3
    • 0.9.8-1
    • 0.9.8-1+deb13u1
    • 0.9.9-1
    • 1.2.0-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • sail Debian:14

    Versions
    • 0.9.10-1
    • 0.9.10-2
    • 0.9.10-3
    • 0.9.8-1
    • 0.9.9-1
    • 1.2.0-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • sail Ubuntu:24.04:LTS

    Versions
    • 0.9.0+repack-1
    • 0.9.0+repack-2
    • 0.9.0+repack-2.1
    • 0.9.0+repack-2.1build1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • sail Ubuntu:25.10

    Versions
    • 0.9.7-1build1
    • 0.9.8-1
    • 0.9.9-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • sail Ubuntu:26.10

    Versions
    • 0.9.10-1
    • 0.9.10-3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • sail Ubuntu:26.04:LTS

    Versions
    • 0.9.9-1
    • 0.9.10-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →