CVE-2025-9300saitoha libsixel img2sixel encoder.c sixel_debug_print_palette stack-based overflow
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.
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | libsixel | Fix pending | UBUNTU-CVE-2025-9300 | |
| Ubuntu 26.04 | libsixel | Under investigation | UBUNTU-CVE-2025-9300 | |
| Ubuntu 25.10 | libsixel | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2025-9300 | |
| Ubuntu 24.04 | libsixel | Under investigation | UBUNTU-CVE-2025-9300 | |
| Ubuntu 22.04 | libsixel | Under investigation | UBUNTU-CVE-2025-9300 | |
| Ubuntu 20.04 | libsixel | Fix pending | UBUNTU-CVE-2025-9300 | |
| Ubuntu 18.04 | libsixel | Fix pending | UBUNTU-CVE-2025-9300 | |
| Ubuntu 16.04 | libsixel | Fix pending | UBUNTU-CVE-2025-9300 | |
| Debian 14 | libsixel | Fixed | 1:1.8.7-1 | DEBIAN-CVE-2025-9300 |
| Debian 13 | libsixel | Fix pending | DEBIAN-CVE-2025-9300 | |
| Debian 12 | libsixel | Fix pending | DEBIAN-CVE-2025-9300 |
What the vendor says
As published in the CVE record by VulDB, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- saitoha libsixel: affected: 1.10.0, 1.10.1, 1.10.2, 1.10.3
Vendor advisories:
References
- https://vuldb.com/?id.320905
- https://vuldb.com/?ctiid.320905
- https://vuldb.com/?submit.632366
- https://github.com/saitoha/libsixel/issues/200
- https://github.com/saitoha/libsixel/issues/200#issuecomment-3178785635
- https://drive.google.com/file/d/1IIvvRFgUQZcySqeoqXXhsxd0HZCjClJ7/view?usp=sharing
- https://github.com/saitoha/libsixel/commit/316c086e79d66b62c0c4bc66229ee894e4fdb7d1
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.