libsixel before 1.8.7-r1 and 1.9.0 through 1.10.5 contains a heap out-of-bounds write vulnerability in gif_init_frame() in src/fromgif.c, which never checks the GIF transparent color index against the palette size. Attackers can supply a crafted GIF with a small color table and large transparent index, processed with a background color set, to write bytes past the palette buffer, causing heap corruption or crashes.
Attack Parameters
Impact Assessment
CVSS Vector v4.0
Weakness Type (CWE)
Vulnerable Products 2
| Configuration | From (including) | Up to (excluding) |
|---|---|---|
|
Saitoha Libsixel
cpe:2.3:a:saitoha:libsixel:*:*:*:*:*:*:*:*
|
— |
1.8.7-r1
|
|
Saitoha Libsixel
cpe:2.3:a:saitoha:libsixel:*:*:*:*:*:*:*:*
|
1.9.0
|
<= 1.10.5
|