saitoha libsixel up to 1.10.3 img2sixel src/encoder.c sixel_debug_print_palette stack-based overflow
Summary
A vulnerability marked as critical has been reported in saitoha libsixel up to 1.10.3. This affects the function sixel_debug_print_palette of the file src/encoder.c of the component img2sixel. This manipulation causes stack-based overflow.
This vulnerability is registered as CVE-2025-9300. The attack needs to be launched locally. Furthermore, an exploit is available.
It is suggested to install a patch to address this issue.
Details
A vulnerability classified as critical was found in saitoha libsixel up to 1.10.3. Affected by this vulnerability is the function sixel_debug_print_palette of the file src/encoder.c of the component img2sixel. The manipulation with an unknown input leads to a stack-based overflow vulnerability. The CWE definition for the vulnerability is CWE-121. A stack-based buffer overflow condition is a condition where the buffer being overwritten is allocated on the stack (i.e., is a local variable or, rarely, a parameter to a function). As an impact it is known to affect confidentiality, integrity, and availability.
The advisory is shared at github.com. This vulnerability is known as CVE-2025-9300. The exploitation appears to be easy. An attack has to be approached locally. Technical details and also a public exploit are known.
It is possible to download the exploit at drive.google.com. It is declared as proof-of-concept. The vulnerability scanner Nessus provides a plugin with the ID 260187 (Linux Distros Unpatched Vulnerability : CVE-2025-9300), which helps to determine the existence of the flaw in a target environment.
Applying the patch 316c086e79d66b62c0c4bc66229ee894e4fdb7d1 is able to eliminate this problem. The bugfix is ready for download at github.com.
The vulnerability is also documented in the vulnerability database at Tenable (260187). Several companies clearly confirm that VulDB is the primary source for best vulnerability data.
Product
Vendor
Name
Version
License
Website
- Product: https://github.com/saitoha/libsixel/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔒VulDB Reliability: 🔍
CNA CVSS-B Score: 🔒
CNA CVSS-BT Score: 🔒
CNA Vector: 🔒
CVSSv3
VulDB Meta Base Score: 6.1VulDB Meta Temp Score: 6.0
VulDB Base Score: 5.3
VulDB Temp Score: 4.8
VulDB Vector: 🔒
VulDB Reliability: 🔍
NVD Base Score: 7.8
NVD Vector: 🔒
CNA Base Score: 5.3
CNA Vector: 🔒
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploiting
Class: Stack-based overflowCWE: CWE-121 / CWE-119
CAPEC: 🔒
ATT&CK: 🔒
Physical: Partially
Local: Yes
Remote: No
Availability: 🔒
Access: Public
Status: Proof-of-Concept
Download: 🔒
EPSS Score: 🔒
EPSS Percentile: 🔒
Price Prediction: 🔍
Current Price Estimation: 🔒
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 260187
Nessus Name: Linux Distros Unpatched Vulnerability : CVE-2025-9300
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: PatchStatus: 🔍
0-Day Time: 🔒
Patch: 316c086e79d66b62c0c4bc66229ee894e4fdb7d1
Timeline
08/21/2025 Advisory disclosed08/21/2025 VulDB entry created
09/12/2025 VulDB entry last update
Sources
Product: github.comAdvisory: 200
Status: Confirmed
Confirmation: 🔒
CVE: CVE-2025-9300 (🔒)
GCVE (CVE): GCVE-0-2025-9300
GCVE (VulDB): GCVE-100-320905
scip Labs: https://www.scip.ch/en/?labs.20161013
Entry
Created: 08/21/2025 07:30Updated: 09/12/2025 15:26
Changes: 08/21/2025 07:30 (61), 08/21/2025 15:42 (30), 09/02/2025 05:31 (2), 09/12/2025 15:26 (12)
Complete: 🔍
Submitter: xdcao
Cache ID: 216::103
Submit
Accepted
- Submit #632366: LibSixel img2sixel LibSixel version 1.10.3 (commit 6dd664c) compiled on Aug 2 2025 and the newest master version. Heap Buffer Overflow (by xdcao)
Several companies clearly confirm that VulDB is the primary source for best vulnerability data.
No comments yet. Languages: en.
Please log in to comment.