CVE-2025-31344

NameCVE-2025-31344
DescriptionHeap-based Buffer Overflow vulnerability in openEuler giflib on Linux. This vulnerability is associated with program files gif2rgb.C. This issue affects giflib: through 5.2.2.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1102520

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
giflib (PTS)bullseye5.1.9-2vulnerable
bookworm5.2.1-2.5vulnerable
sid, trixie5.2.2-1vulnerable

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
giflibsource(unstable)(unfixed)1102520

Notes

[bookworm] - giflib <no-dsa> (Minor issue)
[bullseye] - giflib <postponed> (Minor issue, revisit when fixed upstream)
https://www.openwall.com/lists/oss-security/2025/04/07/3
https://sourceforge.net/p/giflib/bugs/176/
Patch by Mandriva: https://github.com/OpenMandrivaAssociation/giflib/blob/master/giflib-5.2.2-cve-2025-31344.patch

Search for package or bug name: Reporting problems