Stack-based Buffer Overflow Affecting saitoha/libsixel package, versions [,1.8.7)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.01% (2nd 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 IDSNYK-UNMANAGED-SAITOHALIBSIXEL-12304060
  • published1 Sept 2025
  • disclosed21 Aug 2025
  • creditUnknown

Introduced: 21 Aug 2025

NewCVE-2025-9300  (opens in a new tab)
CWE-121  (opens in a new tab)

How to fix?

Upgrade saitoha/libsixel to version 1.8.7 or higher.

Overview

Affected versions of this package are vulnerable to Stack-based Buffer Overflow via the sixel_debug_print_palette function in the encoder.c file. An attacker can execute arbitrary code or cause a crash by providing specially crafted input that triggers a stack-based buffer overflow.

CVSS Base Scores

version 4.0
version 3.1