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

Published Apr 14, 2026
·
Updated

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 INTMAX are accepted without overflow-safe bounds checking. In sixelencoderdoclip(), the expression clipw + clipx overflows to a large negative value when clipx is INTMAX, causing the bounds guard to be skipped entirely, and the unclamped coordinate is passed through sixelframeclip() 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.

Affected Software

2 affected components
Libsixel libsixel<=1.8.7
saitoha libsixel<1.8.7-r1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade libsixel to a version that resolves this vulnerability.

    Fixed in 1.8.7-r1

Event History

Apr 14, 2026
CVE Published
via MITRE·09:49 PM
Data Sourced
via MITRE·09:49 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:16 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-33019?

CVE-2026-33019 has a medium severity due to the potential for out-of-bounds reads that could be exploited.

2

How do I fix CVE-2026-33019?

To fix CVE-2026-33019, upgrade to libsixel version 1.8.8 or later.

3

What type of vulnerability is CVE-2026-33019?

CVE-2026-33019 is an integer overflow vulnerability that leads to out-of-bounds read.

4

Which versions of libsixel are affected by CVE-2026-33019?

Versions of libsixel up to and including 1.8.7 are affected by CVE-2026-33019.

5

What is the impact of CVE-2026-33019?

The impact of CVE-2026-33019 includes potential unauthorized memory access, leading to data leakage or crashes.

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