saitoha libsixel
cpe:2.3:a:libsixel_project:libsixel:*:*:*:*:*:*:*
A heap buffer overflow vulnerability has been identified in the LibSixel library, specifically in the img2sixel converter, version 1.10.3 and prior. The issue arises in the 'sixel_debug_print_palette' function within 'src/encoder.c', where insufficient bounds checking allows for out-of-bounds read access. This vulnerability can be exploited by processing malformed image files, leading to memory corruption and potential arbitrary code execution.
Exploitation of this vulnerability causes a heap-based buffer overflow, which can lead to memory corruption and potentially allow for arbitrary code execution.
The vulnerability can be reproduced by compiling LibSixel with AddressSanitizer enabled, and then running the 'img2sixel' converter with the '--7bit-mode', '-8', '--invert', '--palette-type=auto', and '--verbose' options, along with the crafted image file 'POC_img2sixel_heap_buffer_overflow'.
Users are advised to update to the patched version of LibSixel, which is available in the official repository.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.