{"id":"CVE-2025-9300","aliases":["CVE-2025-9300"],"related":[],"kind":"vulnerability","state":"published","title":"saitoha libsixel img2sixel encoder.c sixel_debug_print_palette stack-based overflow","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"de","text":"Es wurde eine Schwachstelle in saitoha libsixel bis 1.10.3 entdeckt. Das betrifft die Funktion sixel_debug_print_palette der Datei src/encoder.c der Komponente img2sixel. Die Manipulation führt zu stack-based buffer overflow. Der Angriff muss lokal durchgeführt werden. Der Exploit steht zur öffentlichen Verfügung. Der Name des Patches ist 316c086e79d66b62c0c4bc66229ee894e4fdb7d1. Als bestmögliche Massnahme wird Patching empfohlen.","source":"cvelist"},{"lang":"es","text":"Se encontró una vulnerabilidad en saitoha libsixel hasta la versión 1.10.3. Este problema afecta a la función sixel_debug_print_palette del archivo src/encoder.c del componente img2sixel. La manipulación provoca un desbordamiento del búfer en la pila. El ataque debe iniciarse localmente. Se ha hecho público el exploit y puede que sea utilizado. El parche se identifica como 316c086e79d66b62c0c4bc66229ee894e4fdb7d1. Se recomienda aplicar un parche para resolver este problema.","source":"nvd"}],"published":"2025-08-21T13:02:08.108Z","modified":"2026-06-17T10:08:42.300Z","severity":{"scorer":"VulDB","scheme":"CVSS:4.0","vector":"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","score":4.8,"rating":"MEDIUM"},"severities":[{"scorer":"VulDB","scheme":"CVSS:4.0","vector":"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","score":4.8,"rating":"MEDIUM"},{"scorer":"VulDB","scheme":"CVSS: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","score":5.3,"rating":"MEDIUM"},{"scorer":"VulDB","scheme":"CVSS:3.0","vector":"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","score":5.3,"rating":"MEDIUM"},{"scorer":"VulDB","scheme":"CVSS:2.0","vector":"AV:L/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:OF/RC:C","score":4.3,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-119","CWE-121","CWE-787"],"affected":[{"ranges":[{"version":"1.10.0","status":"affected"},{"version":"1.10.1","status":"affected"},{"version":"1.10.2","status":"affected"},{"version":"1.10.3","status":"affected"}],"vendor":"saitoha","product":"libsixel","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"1.8.7"}],"vendor":"saitoha","product":"libsixel","cpe":"cpe:2.3:a:saitoha:libsixel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://vuldb.com/?id.320905","tags":["technical-description","third-party-advisory","vdb-entry"],"sources":["cvelist","nvd"]},{"url":"https://vuldb.com/?ctiid.320905","tags":["permissions-required","signature","vdb-entry"],"sources":["cvelist","nvd"]},{"url":"https://vuldb.com/?submit.632366","tags":["exploit","third-party-advisory","vdb-entry"],"sources":["cvelist","nvd"]},{"url":"https://github.com/saitoha/libsixel/issues/200","tags":["exploit","issue-tracking"],"sources":["cvelist","nvd"]},{"url":"https://github.com/saitoha/libsixel/issues/200#issuecomment-3178785635","tags":["exploit","issue-tracking"],"sources":["cvelist","nvd"]},{"url":"https://drive.google.com/file/d/1IIvvRFgUQZcySqeoqXXhsxd0HZCjClJ7/view?usp=sharing","tags":["exploit"],"sources":["cvelist","nvd"]},{"url":"https://github.com/saitoha/libsixel/commit/316c086e79d66b62c0c4bc66229ee894e4fdb7d1","tags":["exploit","patch"],"sources":["cvelist","nvd"]}],"credits":["xdcao (VulDB User)"],"assigner":"VulDB","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2025-08-21T13:22:45.636Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-9300","url":"https://www.cve.org/CVERecord?id=CVE-2025-9300","licence":"CVE Terms of Use","modified":"2025-08-21T14:46:37.782Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-9300","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-9300","licence":"Public domain","modified":"2026-06-17T10:08:42.300Z"}],"updatedAt":"2026-11-25T22:59:03.467Z","epss":{"score":0.00292,"percentile":0.23482,"date":"2026-12-01T12:00:22.000Z"}}