DescriptionHeap-based buffer overflow in util/gif2rgb.c in gif2rgb in giflib 5.1.2 allows remote attackers to cause a denial of service (application crash) via the background color index in a GIF file.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
Debian Bugs820526

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
giflib (PTS)buster5.1.4-3fixed
bookworm, sid5.2.1-2.5fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs


[stretch] - giflib <no-dsa> (Minor issue)
[jessie] - giflib <no-dsa> (Minor issue)
[wheezy] - giflib <no-dsa> (minor issue)
The issue was originally fixed in 5.1.4-0.3 but then the NMU upload
5.1.4-0.4 just dropped the patch claiming the patch was already present
which is untrue and reopening the issue.

Search for package or bug name: Reporting problems