Buffer overflow in Saitoha Libsixel
CVE-2025-9300
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L.
EPSS exploit prediction
EPSS 0.003, 19.8th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Saitoha Libsixel — versions 1.10.0, 1.10.1, 1.10.2
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (fkie-cad/nvd-json-data-feeds). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- VDB-320905 | saitoha libsixel img2sixel encoder.c sixel_debug_print_palette stack-based overflow (technical-description, Third Party Advisory, VDB Entry, vdb-entry)
- VDB-320905 | CTI Indicators (IOB, IOC, IOA) (signature, Permissions Required, permissions-required, VDB Entry)
- Submit #632366 | LibSixel img2sixel LibSixel version 1.10.3 (commit 6dd664c) compiled on Aug 2 2025 and the newest master version. Heap Buffer Overflow (Exploit, Third Party Advisory, VDB Entry, third-party-advisory)
- github.com/saitoha/libsixel/issues/200 (issue-tracking, Exploit, Issue Tracking)
- github.com/saitoha/libsixel/issues/200 (issue-tracking, Exploit, Issue Tracking)
- drive.google.com/file/d/1IIvvRFgUQZcySqeoqXXhsxd0HZCjClJ7/view (Exploit, exploit)
- github.com/saitoha/libsixel/commit/316c086e79d66b62c0c4bc66229ee894e4fdb7d1 (Patch, patch)