The DGifDecompressLine function in dgif_lib.c in GIFLIB (possibly version 3.0.x), as later shipped in cgif.c in sam2p 0.49.4, has a heap-based buffer overflow because a certain CrntCode array index is not checked. This will lead to a denial of service or possibly unspecified other impact.
{
"unresolved_ranges": [
{
"source": "CPE_RANGE",
"vendor_product": "giflib_project:giflib",
"cpes": [
"cpe:2.3:a:giflib_project:giflib:*:*:*:*:*:*:*:*"
],
"extracted_events": [
{
"introduced": "3.0"
},
{
"last_affected": "3.1.1"
}
]
}
]
}