A flaw was found in the function `DJVU::GBitmap::decode()` that handles crafted djvu files, leading to a heap buffer overflow. This may cause an application crash and potentially allow a remote attacker to execute arbitrary code on the target system using a specially crafted djvu file.