Vulnerability · Published Aug 21, 2025 · Assigned by VulDB

CVE-2025-9300saitoha libsixel img2sixel encoder.c sixel_debug_print_palette stack-based overflow

Medium 5.3

In plain English

A medium-severity stack buffer overflow in libsixel from saitoha. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 17% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.3Medium
Exploit odds (30 days)0.3%top 82.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

A vulnerability was found in saitoha libsixel up to 1.10.3. Affected by this issue is the function sixel_debug_print_palette of the file src/encoder.c of the component img2sixel. The manipulation results in stack-based buffer overflow. The attack must be initiated from a local position. The exploit has been made public and could be used. The patch is identified as 316c086e79d66b62c0c4bc66229ee894e4fdb7d1. Applying a patch is advised to resolve this issue.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12libsixelno fix listedDEBIAN-CVE-2025-9300
Debian:13libsixelno fix listedDEBIAN-CVE-2025-9300
Debian:14libsixel1:1.8.7-1DEBIAN-CVE-2025-9300
Ubuntu:22.04:LTSlibsixelno fix listedUBUNTU-CVE-2025-9300
Ubuntu:24.04:LTSlibsixelno fix listedUBUNTU-CVE-2025-9300
Ubuntu:25.10libsixelno fix listedUBUNTU-CVE-2025-9300
Ubuntu:26.04:LTSlibsixelno fix listedUBUNTU-CVE-2025-9300
Ubuntu:26.10libsixelno fix listedUBUNTU-CVE-2025-9300

Affected products (as reported)

VendorProductVersions
saitoha libsixel 1.10.01.10.11.10.21.10.3

Weakness: CWE-121, CWE-119 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C

References