USN-8583-2: GIFLIB vulnerabilities

Publication date

2 December 2026

Overview

GIFLIB could be made to crash or run programs if it opened a specially crafted file.


Packages

  • giflib - library for GIF images

Details

USN-8583-1 fixed vulnerabilities in GIFLIB. This update provides the
corresponding updates for Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, and Ubuntu
20.04 LTS.

Original advisory details:

It was discovered that GIFLIB incorrectly handled certain GIF image files.
If a user or automated system were tricked into opening a specially
crafted GIF file, a remote attacker could use this issue to cause GIFLIB
to crash, resulting in a denial of service, or possibly execute arbitrary
code.

USN-8583-1 fixed vulnerabilities in GIFLIB. This update provides the
corresponding updates for Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, and Ubuntu
20.04 LTS.

Original advisory details:

It was discovered that GIFLIB incorrectly handled certain GIF image files.
If a user or automated system were tricked into opening a specially
crafted GIF file, a remote attacker could use this issue to cause GIFLIB
to crash, resulting in a denial of service, or possibly execute arbitrary
code.

Update instructions

In general, a standard system update will make all the necessary changes.

Learn more about how to get the fixes.

The problem can be corrected by updating your system to the following package versions:

Ubuntu Release Package Version
20.04 LTS focal giflib-tools –  5.1.9-1ubuntu0.1+esm1  
libgif7 –  5.1.9-1ubuntu0.1+esm1  
18.04 LTS bionic giflib-tools –  5.1.4-2ubuntu0.1+esm2  
libgif7 –  5.1.4-2ubuntu0.1+esm2  
16.04 LTS xenial giflib-tools –  5.1.4-0.3~16.04.1+esm2  
libgif7 –  5.1.4-0.3~16.04.1+esm2  

Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.


Have additional questions?

Talk to a member of the team ›