7.0
HIGH CVSS 3.1
CVE-2026-23868
Giflib Double-Free Vulnerability
Description

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.

INFO

Published Date :

March 10, 2026, 8:16 p.m.

Last Modified :

June 30, 2026, 3:17 a.m.

Remotely Exploit :

No
Affected Products

The following products are affected by CVE-2026-23868 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Giflib_project giflib
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 134c704f-9b21-4f2e-91b3-4a467353bcc0
CVSS 3.1 MEDIUM 134c704f-9b21-4f2e-91b3-4a467353bcc0
CVSS 3.1 HIGH 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
Solution
Apply updates to address the double-free vulnerability.
  • Update Giflib to a patched version.
  • Review error handling logic.
  • Avoid shallow copies where possible.
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2026-23868.

URL Resource
https://sourceforge.net/p/giflib/code/ci/f5b7267aed3665ef025c13823e454170d031c106/tree/gifalloc.c?diff=5146815377b7395944cb683a08c43eee3f631eb7 Patch
https://www.facebook.com/security/advisories/cve-2026-23868 Third Party Advisory
https://access.redhat.com/errata/RHSA-2026:16008
https://access.redhat.com/errata/RHSA-2026:16009
https://access.redhat.com/errata/RHSA-2026:16030
https://access.redhat.com/errata/RHSA-2026:16174
https://access.redhat.com/errata/RHSA-2026:19154
https://access.redhat.com/errata/RHSA-2026:19367
https://access.redhat.com/errata/RHSA-2026:19724
https://access.redhat.com/errata/RHSA-2026:19725
https://access.redhat.com/errata/RHSA-2026:25096
https://access.redhat.com/errata/RHSA-2026:8858
https://access.redhat.com/errata/RHSA-2026:8859
https://access.redhat.com/errata/RHSA-2026:8861
https://access.redhat.com/errata/RHSA-2026:8883
https://access.redhat.com/errata/RHSA-2026:8884
https://access.redhat.com/errata/RHSA-2026:8885
https://access.redhat.com/errata/RHSA-2026:8886
https://access.redhat.com/errata/RHSA-2026:8887
https://access.redhat.com/errata/RHSA-2026:9290
https://access.redhat.com/errata/RHSA-2026:9291
https://access.redhat.com/errata/RHSA-2026:9292
https://access.redhat.com/errata/RHSA-2026:9294
https://access.redhat.com/errata/RHSA-2026:9295
https://access.redhat.com/security/cve/CVE-2026-23868
https://bugzilla.redhat.com/show_bug.cgi?id=2446207
https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-23868.json
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-23868 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-23868 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-23868 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-23868 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    May. 07, 2026

    Action Type Old Value New Value
    Added CPE Configuration OR *cpe:2.3:a:giflib_project:giflib:*:*:*:*:*:*:*:* versions from (including) 5.0.0 up to (including) 6.1.1
    Added Reference Type Facebook, Inc.: https://sourceforge.net/p/giflib/code/ci/f5b7267aed3665ef025c13823e454170d031c106/tree/gifalloc.c?diff=5146815377b7395944cb683a08c43eee3f631eb7 Types: Patch
    Added Reference Type Facebook, Inc.: https://www.facebook.com/security/advisories/cve-2026-23868 Types: Third Party Advisory
  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Mar. 11, 2026

    Action Type Old Value New Value
    Added CVSS V3.1 AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
    Added CWE CWE-415
  • New CVE Received by [email protected]

    Mar. 10, 2026

    Action Type Old Value New Value
    Added Description 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.
    Added Reference https://sourceforge.net/p/giflib/code/ci/f5b7267aed3665ef025c13823e454170d031c106/tree/gifalloc.c?diff=5146815377b7395944cb683a08c43eee3f631eb7
    Added Reference https://www.facebook.com/security/advisories/cve-2026-23868
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.