p PatchFirst

CVE-2026-33019

CVE-2026-33019 · libsixel: Integer overflow leads to Out-of-bounds Read in img2sixel

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

libsixel is a SIXEL encoder/decoder implementation derived from kmiya's sixel. Versions 1.8.7 and prior contain an integer overflow leading to an out-of-bounds heap read in the --crop option handling of img2sixel, where positive coordinates up to INT_MAX are accepted without overflow-safe bounds checking. In sixel_encoder_do_clip(), the expression clip_w + clip_x overflows to a large negative value when clip_x is INT_MAX, causing the bounds guard to be skipped entirely, and the unclamped coordinate is passed through sixel_frame_clip() to clip(), which computes a source pointer far beyond the image buffer and passes it to memmove(). An attacker supplying a specially crafted crop argument with any valid image can trigger an out-of-bounds read in the heap, resulting in a reliable crash and potential information disclosure. This issue has been fixed in version 1.8.7-r1.

CVSS 7.1 · High · EPSS 0.3% · Fix available

Published
Updated

Stack: system

Affected products and versions

  • libsixel

    Versions
    • < 1.8.7-r1: Affected

    No fix published

  • libsixel Debian:12

    Versions
    • 1.10.3-3
    • 1.10.5-1
    • 1:1.8.7-1
    • 1:1.8.7-2
    • 1:1.8.7-3
    • 1:1.8.7-4
    • 1:1.8.7-5
    • 1:1.8.7-6
    • 1:1.8.7-r2-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • libsixel Debian:13

    Versions
    • 1.10.5-1
    • 1:1.8.7-1
    • 1:1.8.7-2
    • 1:1.8.7-3
    • 1:1.8.7-4
    • 1:1.8.7-5
    • 1:1.8.7-6
    • 1:1.8.7-r2-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • libsixel Debian:14

    Versions
    • 1.10.5-1
    • 1:1.8.7-1
    • 1:1.8.7-2
    • 1:1.8.7-3
    • 1:1.8.7-4
    • 1:1.8.7-5
    • 1:1.8.7-6
    Affected ranges
    • ECOSYSTEM: < 1:1.8.7-r2-1

    Update to 1:1.8.7-r2-1

  • libsixel Ubuntu:16.04:LTS

    Versions
    • 1.4.2-1
    • 1.5.2-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • libsixel Ubuntu:18.04:LTS

    Versions
    • 1.5.2-2
    • 1.7.3-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • libsixel Ubuntu:20.04:LTS

    Versions
    • 1.8.2-1
    • 1.8.2-2.1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • libsixel Ubuntu:22.04:LTS

    Versions
    • 1.8.6-2
    • 1.10.3-2
    • 1.10.3-3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • libsixel Ubuntu:24.04:LTS

    Versions
    • 1.10.3-3
    • 1.10.3-3build1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • libsixel Ubuntu:25.10

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

    No fix published

  • libsixel Ubuntu:26.10

    Versions
    • 1.10.5-1build1
    • 1:1.8.7-r2-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • libsixel Ubuntu:26.04:LTS

    Versions
    • 1.10.5-1
    • 1.10.5-1build1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →