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.
INFO
Published Date :
Aug. 21, 2025, 1:15 p.m.
Last Modified :
Sept. 12, 2025, 1:08 p.m.
Remotely Exploit :
No
Source :
[email protected]
CVSS Scores
Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
---|---|---|---|---|---|---|
CVSS 2.0 | MEDIUM | [email protected] | ||||
CVSS 3.1 | MEDIUM | [email protected] | ||||
CVSS 3.1 | HIGH | [email protected] | ||||
CVSS 4.0 | MEDIUM | [email protected] |
Solution
- Apply the provided patch to the libsixel source code.
- Update the libsixel library to a patched version.
- Recompile and deploy the application using the updated library.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2025-9300
.
URL | Resource |
---|---|
https://drive.google.com/file/d/1IIvvRFgUQZcySqeoqXXhsxd0HZCjClJ7/view?usp=sharing | Exploit |
https://github.com/saitoha/libsixel/commit/316c086e79d66b62c0c4bc66229ee894e4fdb7d1 | Patch |
https://github.com/saitoha/libsixel/issues/200 | Exploit Issue Tracking |
https://github.com/saitoha/libsixel/issues/200#issuecomment-3178785635 | Exploit Issue Tracking |
https://vuldb.com/?ctiid.320905 | Permissions Required VDB Entry |
https://vuldb.com/?id.320905 | Third Party Advisory VDB Entry |
https://vuldb.com/?submit.632366 | Exploit Third Party Advisory VDB Entry |
https://github.com/saitoha/libsixel/commit/316c086e79d66b62c0c4bc66229ee894e4fdb7d1 | Patch |
https://github.com/saitoha/libsixel/issues/200 | Exploit Issue Tracking |
https://github.com/saitoha/libsixel/issues/200#issuecomment-3178785635 | Exploit Issue Tracking |
https://vuldb.com/?submit.632366 | Exploit Third Party Advisory VDB Entry |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2025-9300
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2025-9300
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2025-9300
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2025-9300
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Sep. 12, 2025
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Added CWE CWE-787 Added CPE Configuration OR *cpe:2.3:a:libsixel_project:libsixel:*:*:*:*:*:*:*:* versions up to (including) 1.10.3 Added Reference Type VulDB: https://drive.google.com/file/d/1IIvvRFgUQZcySqeoqXXhsxd0HZCjClJ7/view?usp=sharing Types: Exploit Added Reference Type CISA-ADP: https://github.com/saitoha/libsixel/commit/316c086e79d66b62c0c4bc66229ee894e4fdb7d1 Types: Patch Added Reference Type VulDB: https://github.com/saitoha/libsixel/commit/316c086e79d66b62c0c4bc66229ee894e4fdb7d1 Types: Patch Added Reference Type CISA-ADP: https://github.com/saitoha/libsixel/issues/200 Types: Exploit, Issue Tracking Added Reference Type VulDB: https://github.com/saitoha/libsixel/issues/200 Types: Exploit, Issue Tracking Added Reference Type CISA-ADP: https://github.com/saitoha/libsixel/issues/200#issuecomment-3178785635 Types: Exploit, Issue Tracking Added Reference Type VulDB: https://github.com/saitoha/libsixel/issues/200#issuecomment-3178785635 Types: Exploit, Issue Tracking Added Reference Type VulDB: https://vuldb.com/?ctiid.320905 Types: Permissions Required, VDB Entry Added Reference Type VulDB: https://vuldb.com/?id.320905 Types: Third Party Advisory, VDB Entry Added Reference Type CISA-ADP: https://vuldb.com/?submit.632366 Types: Exploit, Third Party Advisory, VDB Entry Added Reference Type VulDB: https://vuldb.com/?submit.632366 Types: Exploit, Third Party Advisory, VDB Entry -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Aug. 21, 2025
Action Type Old Value New Value Added Reference https://github.com/saitoha/libsixel/commit/316c086e79d66b62c0c4bc66229ee894e4fdb7d1 Added Reference https://github.com/saitoha/libsixel/issues/200 Added Reference https://github.com/saitoha/libsixel/issues/200#issuecomment-3178785635 Added Reference https://vuldb.com/?submit.632366 -
New CVE Received by [email protected]
Aug. 21, 2025
Action Type Old Value New Value Added 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. Added CVSS V4.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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L Added CVSS V2 (AV:L/AC:L/Au:S/C:P/I:P/A:P) Added CWE CWE-119 Added CWE CWE-121 Added Reference https://drive.google.com/file/d/1IIvvRFgUQZcySqeoqXXhsxd0HZCjClJ7/view?usp=sharing Added Reference https://github.com/saitoha/libsixel/commit/316c086e79d66b62c0c4bc66229ee894e4fdb7d1 Added Reference https://github.com/saitoha/libsixel/issues/200 Added Reference https://github.com/saitoha/libsixel/issues/200#issuecomment-3178785635 Added Reference https://vuldb.com/?ctiid.320905 Added Reference https://vuldb.com/?id.320905 Added Reference https://vuldb.com/?submit.632366