What’s Vulnerable › Vulnerabilities

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

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 products

How to fix

Upgrade to a fixed version: saitoha libsixel 1.8.7. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-9300 or the next vulnerability affects your stack