cve.bz

CVE-2026-23868 giflib project giflib: Double Free

5.1 mediumEPSS 0.2%Fix available

Medium (5.1) in giflib project giflib. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

5.1 medium
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.2% (unchanged from 0.2% a week ago; 0.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 7th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-03-11. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-415 Double Free
CWE-825 Expired Pointer Dereference
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-23868 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-23868?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-23868?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-23868 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
giflibfrom 5.0.0 through 6.1.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11giflib5.1.9-2+deb11u1DLA-4650-1
Debian12giflib5.2.1-2.5+deb12u1DEBIAN-CVE-2026-23868
Debian13giflib5.2.2-1+deb13u1DEBIAN-CVE-2026-23868
Debian14giflib6.1.3-1DEBIAN-CVE-2026-23868
Ubuntu20.04:LTS, 25.10, Pro:16.04:LTS and 1 moregiflibno fix listedUBUNTU-CVE-2026-23868
Ubuntu22.04:LTSgiflib5.1.9-2ubuntu0.3UBUNTU-CVE-2026-23868 USN-8583-1
Ubuntu24.04:LTSgiflib5.2.2-1ubuntu1.2UBUNTU-CVE-2026-23868 USN-8583-1
Ubuntu26.04:LTSgiflib5.2.2-1ubuntu3.2UBUNTU-CVE-2026-23868 USN-8583-1
Red Hatenterprise_linux:8::appstreamgiflib, giflib-debuginfo, giflib-debugsource and 1 more0:5.1.4-4.el8_10RHSA-2026:8861
Red Hatenterprise_linux:8::crbgiflib-devel, giflib-debuginfo, giflib-debugsource and 1 more0:5.1.4-4.el8_10RHSA-2026:8861
Red Hatenterprise_linux:9::appstreamgiflib, giflib-debuginfo, giflib-debugsource and 1 more0:5.2.1-10.el9_8.1RHSA-2026:19367
Red Hatenterprise_linux:9::appstreamgiflib, giflib-debuginfo, giflib-debugsource and 1 more0:5.2.1-9.el9_7.1RHSA-2026:8859
Red Hatenterprise_linux:9::crbgiflib-devel, giflib-debuginfo, giflib-debugsource and 1 more0:5.2.1-10.el9_8.1RHSA-2026:19367
Red Hatenterprise_linux:9::crbgiflib-devel, giflib-debuginfo, giflib-debugsource and 1 more0:5.2.1-9.el9_7.1RHSA-2026:8859
Red Hatenterprise_linux:10.1giflib, giflib-devel, giflib-debuginfo and 2 more0:5.2.1-22.el10_1.1RHSA-2026:8858
Red Hatenterprise_linux:10.2giflib, giflib-devel, giflib-debuginfo and 2 more0:5.2.1-24.el10_2RHSA-2026:19154
Red Hatenterprise_linux_eus:10.0giflib, giflib-devel, giflib-debuginfo and 2 more0:5.2.1-22.el10_0.1RHSA-2026:9290
Red Hatrhel_aus:8.2::appstreamgiflib, giflib-debuginfo, giflib-debugsource and 1 more0:5.1.4-3.el8_2.1RHSA-2026:8884
Red Hatrhel_aus:8.4::appstream, rhel_eus_long_life:8.4::appstreamgiflib, giflib-debuginfo, giflib-debugsource and 1 more0:5.1.4-3.el8_4.1RHSA-2026:8885
Red Hatrhel_aus:8.6::appstream, rhel_e4s:8.6::appstream, rhel_tus:8.6::appstreamgiflib, giflib-debuginfo, giflib-debugsource and 1 more0:5.1.4-3.el8_6.1RHSA-2026:8887
8 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise Module for Basesystem 15 SP7giflib5.2.2-150000.4.19.1SUSE-SU-2026:1338-1
SUSELinux Enterprise Server LTSS Extended Security 12 SP5giflib5.0.6-13.12.1SUSE-SU-2026:1005-1
openSUSELeap 15.6giflib5.2.2-150000.4.19.1SUSE-SU-2026:1338-1
openSUSELeap 16.0giflib5.2.2-160000.3.1openSUSE-SU-2026:20601-1
openSUSETumbleweedgiflib5.2.2-3.1openSUSE-SU-2026:10326-1
AlmaLinux8giflib, giflib-devel5.1.4-4.el8_10ALSA-2026:8861
AlmaLinux9giflib, giflib-devel5.2.1-10.el9_8.1ALSA-2026:19367
AlmaLinux9giflib, giflib-devel5.2.1-9.el9_7.1ALSA-2026:8859
AlmaLinux10giflib, giflib-devel5.2.1-22.el10_1.1ALSA-2026:8858
AlmaLinux10giflib, giflib-devel5.2.1-24.el10_2ALSA-2026:19154
Rocky Linux8giflib0:5.1.4-4.el8_10RLSA-2026:8861
Rocky Linux9giflib0:5.2.1-10.el9_8.1RLSA-2026:19367
Rocky Linux9giflib0:5.2.1-9.el9_7.1RLSA-2026:8859
Rocky Linux10giflib0:5.2.1-22.el10_1.1RLSA-2026:8858
Rocky Linux10giflib0:5.2.1-24.el10_2RLSA-2026:19154
Azure Linux3giflib5.2.1-11AZL-79662
Alpaquita23giflib5.2.2-r3BELL-CVE-2026-23868
Alpaquita25, streamgiflib5.2.2-r2BELL-CVE-2026-23868

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpaquita.

Red Hat

Red Hat rates this Important.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10giflib-0:5.2.1-22.el10_1.1Fixed 2026-04-20RHSA-2026:8858
Red Hat Enterprise Linux 10giflib-0:5.2.1-24.el10_2Fixed 2026-05-19RHSA-2026:19154
Red Hat Enterprise Linux 10.0 Extended Update Supportgiflib-0:5.2.1-22.el10_0.1Fixed 2026-04-21RHSA-2026:9290
Red Hat Enterprise Linux 7 Extended Lifecycle Supportgiflib-0:4.1.6-9.el7_9.1Fixed 2026-04-20RHSA-2026:8883
Red Hat Enterprise Linux 8giflib-0:5.1.4-4.el8_10Fixed 2026-04-20RHSA-2026:8861
Red Hat Enterprise Linux 8.2 Advanced Update Supportgiflib-0:5.1.4-3.el8_2.1Fixed 2026-04-20RHSA-2026:8884
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportgiflib-0:5.1.4-3.el8_4.1Fixed 2026-04-20RHSA-2026:8885
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-Ongiflib-0:5.1.4-3.el8_4.1Fixed 2026-04-20RHSA-2026:8885
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Supportgiflib-0:5.1.4-3.el8_6.1Fixed 2026-04-20RHSA-2026:8887
Red Hat Enterprise Linux 8.6 Telecommunications Update Servicegiflib-0:5.1.4-3.el8_6.1Fixed 2026-04-20RHSA-2026:8887
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutionsgiflib-0:5.1.4-3.el8_6.1Fixed 2026-04-20RHSA-2026:8887
Red Hat Enterprise Linux 8.8 Telecommunications Update Servicegiflib-0:5.1.4-3.el8_8.1Fixed 2026-04-20RHSA-2026:8886
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutionsgiflib-0:5.1.4-3.el8_8.1Fixed 2026-04-20RHSA-2026:8886
Red Hat Enterprise Linux 9giflib-0:5.2.1-10.el9_8.1Fixed 2026-05-19RHSA-2026:19367
Red Hat Enterprise Linux 9giflib-0:5.2.1-9.el9_7.1Fixed 2026-04-20RHSA-2026:8859
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutionsgiflib-0:5.2.1-9.el9_0.1Fixed 2026-04-21RHSA-2026:9291
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutionsgiflib-0:5.2.1-9.el9_2.1Fixed 2026-04-21RHSA-2026:9292
Red Hat Enterprise Linux 9.4 Extended Update Supportgiflib-0:5.2.1-9.el9_4.1Fixed 2026-04-21RHSA-2026:9295
Red Hat Enterprise Linux 9.6 Extended Update Supportgiflib-0:5.2.1-9.el9_6.1Fixed 2026-04-21RHSA-2026:9294
Red Hat Enterprise Linux 6giflibOut of support scope
7 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-23868.

References

Check your stackJSON