{"id":"CVE-2025-9300","published":"2025-08-21T13:02:08Z","modified":"2025-08-21T14:46:37Z","title":"saitoha libsixel img2sixel encoder.c sixel_debug_print_palette stack-based overflow","vendor":"saitoha","product":"libsixel","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00292,"percentile":0.22113,"provenance":"source"},"cwes":[{"id":"CWE-121","name":"Stack-based Buffer Overflow"},{"id":"CWE-119","name":"Improper Restriction of Operations within the Bounds of a Memory Buffer"}],"references":[{"url":"https://vuldb.com/?id.320905","tags":["vdb-entry","technical-description"]},{"url":"https://vuldb.com/?ctiid.320905","tags":["signature","permissions-required"]},{"url":"https://vuldb.com/?submit.632366","tags":["third-party-advisory"]},{"url":"https://github.com/saitoha/libsixel/issues/200","tags":["issue-tracking"]},{"url":"https://github.com/saitoha/libsixel/issues/200#issuecomment-3178785635","tags":["issue-tracking"]},{"url":"https://drive.google.com/file/d/1IIvvRFgUQZcySqeoqXXhsxd0HZCjClJ7/view?usp=sharing","tags":["exploit"]},{"url":"https://github.com/saitoha/libsixel/commit/316c086e79d66b62c0c4bc66229ee894e4fdb7d1","tags":["patch"]}],"priority":{"score":13.1,"factors":[{"name":"EPSS percentile","points":4.42},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"saitoha","affectedVersions":[{"vendor":"saitoha","product":"libsixel","versions":["1.10.0","1.10.1","1.10.2","1.10.3"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2025-08-21T13:22:45.636966Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-25444","exploited":false,"provenance":"source"},"exploitRefs":["https://drive.google.com/file/d/1IIvvRFgUQZcySqeoqXXhsxd0HZCjClJ7/view?usp=sharing"],"lineage":{"familyId":"fam-saitoha-libsixel-cve-2025-9300","children":[{"from":"CVE-2025-9300","to":"CVE-2025-61146","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["Makefile.am","Makefile.in"],"commits":["https://github.com/saitoha/libsixel/commit/e0ba6685262a3679cc5b9009c0c5b7dc8a3f262e","https://github.com/saitoha/libsixel/commit/316c086e79d66b62c0c4bc66229ee894e4fdb7d1"],"basis":"rarely changed file"}]}]}}