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

- Severity: Medium 4.8 (CVSS:4.0, scored by VulDB) `CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.29%, higher than 23% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 5 links below, marked "exploit"
- Published: 2025-08-21T13:02:08.108Z
- Modified: 2026-06-17T10:08:42.300Z
- Weaknesses: CWE-119, CWE-121, CWE-787
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

## 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.

(As written by CVE List.)

## Affected

- saitoha libsixel: 1.10.0; 1.10.1; 1.10.2; 1.10.3; before 1.8.7

## Every score

- VulDB: CVSS:4.0 4.8 Medium `CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P`
- VulDB: CVSS:3.1 5.3 Medium `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`
- VulDB: CVSS:3.0 5.3 Medium `CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C`
- VulDB: CVSS:2.0 4.3 Medium `AV:L/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:OF/RC:C`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://vuldb.com/?submit.632366> (exploit, third-party-advisory, vdb-entry)
- <https://github.com/saitoha/libsixel/issues/200> (exploit, issue-tracking)
- <https://github.com/saitoha/libsixel/issues/200#issuecomment-3178785635> (exploit, issue-tracking)
- <https://drive.google.com/file/d/1IIvvRFgUQZcySqeoqXXhsxd0HZCjClJ7/view?usp=sharing> (exploit)
- <https://github.com/saitoha/libsixel/commit/316c086e79d66b62c0c4bc66229ee894e4fdb7d1> (exploit, patch)
- <https://vuldb.com/?id.320905> (technical-description, third-party-advisory, vdb-entry)
- <https://vuldb.com/?ctiid.320905> (permissions-required, signature, vdb-entry)

## Sources

- CVE List: [CVE-2025-9300](https://www.cve.org/CVERecord?id=CVE-2025-9300), CVE Terms of Use, modified 2025-08-21
- NVD: [CVE-2025-9300](https://nvd.nist.gov/vuln/detail/CVE-2025-9300), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-9300 · Whole record: https://cve.day/CVE-2025-9300.json · Rebuilt by cve.day 2026-11-25T22:59:03.467Z
