Use After Free Affecting saitoha/libsixel package, versions [,1.8.7-r1)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.25% (16th 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 Use After Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-SAITOHALIBSIXEL-16110809
  • published20 Apr 2026
  • disclosed14 Apr 2026
  • creditnicoppida

Introduced: 14 Apr 2026

CVE-2026-33021  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

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

Overview

Affected versions of this package are vulnerable to Use After Free in the sixel_encoder_encode_bytes process. An attacker can cause a crash or potentially execute arbitrary code by repeatedly triggering a resize operation that frees a caller-owned buffer, leaving a dangling pointer accessible for further manipulation.

CVSS Base Scores

version 4.0
version 3.1