Heap-based Buffer Overflow Affecting saitoha/libsixel package, versions [1.4.4,1.8.7-r2)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.01% (3rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Heap-based Buffer Overflow vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-SAITOHALIBSIXEL-16700554
  • published15 May 2026
  • disclosed14 May 2026
  • creditUnknown

Introduced: 14 May 2026

NewCVE-2026-44636  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade saitoha/libsixel to version 1.8.7-r2 or higher.

Overview

Affected versions of this package are vulnerable to Heap-based Buffer Overflow due to improper allocation size calculation in the sixel_encode_highcolor process. An attacker can cause a heap buffer overflow by providing crafted input values for width and height that, when multiplied, exceed the maximum integer value, resulting in a wrapped allocation and subsequent out-of-bounds write.

CVSS Base Scores

version 4.0
version 3.1