giflib vulnerabilities and fixes
Recent CVEs affecting giflib, with upgrade or downgrade steps. 4 tracked.
giflib has 4 tracked vulnerabilities, 0 critical. A fixed release or vendor patch exists for 1. Most recent: 2026-03-18. Highest priority: CVE-2026-26740 (score 51/100).
- CVE-2023-48161 HIGH 7.1 DOWNGRADE Buffer Overflow vulnerability in GifLib Project GifLib v.5.2.1 allows a local attacker to obtain sensitive inf
- CVE-2026-26740 HIGH 8.2 DOWNGRADE Buffer Overflow vulnerability in giflib v.5.2.2 allows a remote attacker to cause a denial of service via the
- CVE-2026-23868 MEDIUM 5.1 UPGRADE Giflib contains a double-free vulnerability that is the result of a shallow copy in GifMakeSavedImage and inco
- CVE-2024-45993 MEDIUM 6.5 DOWNGRADE Giflib Project v5.2.2 is vulnerable to a heap buffer overflow via gif2rgb.
FAQ
How do I fix giflib vulnerabilities?
Open the CVE for your version, check the affected range, then follow the listed action: upgrade to the fixed release, or downgrade or mitigate if no fix exists yet. Commands for each OS are shown on every CVE page.
Is giflib being exploited right now?
None of the tracked giflib CVEs are on the CISA Known Exploited Vulnerabilities list at the moment. This is checked every 20 minutes.
Which giflib CVE should I patch first?
CVE-2026-26740 currently ranks highest (51/100): Buffer Overflow vulnerability in giflib v.5.2.2 allows a remote attacker to cause a denial of service via the .