CVEfocus › CVE database › CVE-2026-23868

CVE-2026-23868

CVSS 5.1 MediumEPSS 0.2% (higher than 8% of CVEs)Published 2026-03-10Updated 2026-07-15Assigner: Meta

Giflib contains a double-free vulnerability that is the result of a shallow copy in GifMakeSavedImage and incorrect error handling. The conditions needed to trigger this vulnerability are difficult but may be possible.

CWE-415CWE-825

What to do

Fixed builds are available from AlmaLinux, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

21Fixed
3Fix pending
4Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04giflibFixed5.2.2-1ubuntu3.2UBUNTU-CVE-2026-23868
Ubuntu 25.10giflibWill not fix
The commit listed below zeroes out sp->ExtensionBlockCount but then never updates it again, causing a regression.
UBUNTU-CVE-2026-23868
Ubuntu 24.04giflibFixed5.2.2-1ubuntu1.2UBUNTU-CVE-2026-23868
Ubuntu 22.04giflibFixed5.1.9-2ubuntu0.3UBUNTU-CVE-2026-23868
Ubuntu 20.04giflibFix pendingUBUNTU-CVE-2026-23868
Ubuntu 18.04giflibFix pendingUBUNTU-CVE-2026-23868
Ubuntu 16.04giflibFix pendingUBUNTU-CVE-2026-23868
Debian 14giflibFixed6.1.3-1DEBIAN-CVE-2026-23868
Debian 13giflibFixed5.2.2-1+deb13u1DEBIAN-CVE-2026-23868
Debian 12giflibFixed5.2.1-2.5+deb12u1DEBIAN-CVE-2026-23868
Red Hat Enterprise Linux 10giflibFixed0:5.2.1-24.el10_2RHSA-2026:8858
Red Hat Enterprise Linux 10giflib-develFixed0:5.2.1-24.el10_2RHSA-2026:8858
Red Hat Enterprise Linux 9giflibFixed0:5.2.1-9.el9_7.1RHSA-2026:19367
Red Hat Enterprise Linux 9giflib-develFixed0:5.2.1-10.el9_8.1RHSA-2026:8859
Red Hat Enterprise Linux 8giflibFixed0:5.1.4-4.el8_10RHSA-2026:8861
Red Hat Enterprise Linux 8giflib-develFixed0:5.1.4-4.el8_10RHSA-2026:8861
Red Hat Enterprise Linux 6giflibWill not fix
Out of support scope
Red Hat Enterprise Linux 6giflib-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6giflib-utilsWill not fix
Out of support scope
AlmaLinux 10giflibFixed5.2.1-22.el10_1.1ALSA-2026:19154
AlmaLinux 10giflib-develFixed5.2.1-22.el10_1.1ALSA-2026:19154
AlmaLinux 9giflibFixed5.2.1-10.el9_8.1ALSA-2026:8859
AlmaLinux 9giflib-develFixed5.2.1-10.el9_8.1ALSA-2026:8859
AlmaLinux 8giflibFixed5.1.4-4.el8_10ALSA-2026:8861
AlmaLinux 8giflib-develFixed5.1.4-4.el8_10ALSA-2026:8861
Rocky Linux 10giflibFixed0:5.2.1-24.el10_2RLSA-2026:8858
Rocky Linux 9giflibFixed0:5.2.1-9.el9_7.1RLSA-2026:19367
Rocky Linux 8giflibFixed0:5.1.4-4.el8_10RLSA-2026:8861

What the vendor says

As published in the CVE record by Meta, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.