High severity · published Aug 21, 2025
CVE-2025-9300
saitoha libsixel img2sixel encoder.c sixel_debug_print_palette stack-based overflow
7.8
CVSS
0.3%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
Local
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.3% · higher than 17% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
LI
libsixel · saitoha
1.10.0; 1.10.1; 1.10.2; 1.10.3 · source: vendor, NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-9300
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-9300
Exploit
https://drive.google.com/file/d/1IIvvRFgUQZcySqeoqXXhsxd0HZCjClJ7/view?usp=sharing
Patch
https://github.com/saitoha/libsixel/commit/316c086e79d66b62c0c4bc66229ee894e4fdb7d1
Exploit
https://github.com/saitoha/libsixel/issues/200
Exploit
https://github.com/saitoha/libsixel/issues/200#issuecomment-3178785635
Permissions Required
https://vuldb.com/?ctiid.320905
Third Party Advisory
https://vuldb.com/?id.320905
More from libsixel
9.8
CVE-2019-19638
An issue was discovered in libsixel 1.8.2
9.8
CVE-2019-19637
An issue was discovered in libsixel 1.8.2
9.8
CVE-2019-19636
An issue was discovered in libsixel 1.8.2
9.8
CVE-2019-19635
An issue was discovered in libsixel 1.8.2
8.8
CVE-2022-27046
libsixel 1.8.6 suffers from a Heap Use After Free vulnerability in in libsixel/src/dither.c:388
