CVE-2026-23868
NixOS vulnerability analysis and mitigation

Overview

CVE-2026-23868 is a double-free vulnerability in the GIFLIB library, caused by a shallow copy in the GifMakeSavedImage function combined with incorrect error handling. It affects giflib versions 5.0.0 through 6.1.1. The vulnerability was disclosed on March 10, 2026, with the assigner credited as Meta (Facebook). It carries a CVSS v3.1 base score of 5.1 (Medium), reflecting a local attack vector with high complexity and no privileges required (Red Hat CVE, Feedly).

Technical details

The root cause is classified under CWE-415 (Double Free) and CWE-825 (Expired Pointer Dereference). When GifMakeSavedImage performs a shallow copy of a SavedImage structure, it duplicates the pointer to the ExtensionBlocks array without deep-copying the underlying data. If a subsequent error condition triggers cleanup, both the original and the copy attempt to free the same memory region, resulting in a double-free condition. Exploitation requires local access and high attack complexity, as specific error conditions must be triggered — typically through a specially crafted GIF file (Red Hat CVE, SourceForge Patch).

Impact

Successful exploitation could lead to memory corruption, potentially resulting in a denial of service (application crash) as the primary impact, given the CVSS availability impact is rated High with no confidentiality or integrity impact in the base score. However, in practice, double-free vulnerabilities can sometimes be leveraged for information disclosure or integrity compromise depending on heap layout and allocator behavior. The vulnerability affects any application that links against giflib 5.0.0–6.1.1 and processes untrusted GIF files, including image processing pipelines on Linux distributions (Red Hat CVE, Feedly).

Exploitability

There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation as of the time of this report. The EPSS score is approximately 0.018% (0.000180), indicating a very low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. The high attack complexity required to trigger the specific error conditions further reduces practical exploitability (Feedly, Red Hat CVE).

Mitigation and workarounds

Upgrade giflib to a version beyond 6.1.1, which includes the fix committed to the upstream SourceForge repository (commit f5b7267). Major Linux distributions have released patched packages: Red Hat has issued multiple errata (e.g., RHSA-2026:8858 through RHSA-2026:25096) for RHEL 8, 9, and 10; Fedora, openSUSE, Amazon Linux 2, AlmaLinux, Oracle Linux, and Mageia have also released updates. As a workaround, restrict local user access to systems processing GIF files and implement input validation or sandboxing for GIF file processing pipelines (SourceForge Patch, Red Hat Errata, Microsoft MSRC).

Community reactions

The vulnerability was assigned by Meta's security team and has received routine coverage across Linux distribution security channels, including openSUSE, Fedora, Red Hat, AlmaLinux, Oracle Linux, and Amazon Linux advisories. No notable researcher commentary or significant social media discussion has been identified beyond standard vulnerability tracking and patch announcements (Red Hat CVE, Facebook Advisory).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Fixed

bookworm

giflib: 5.2.1-2.5+deb12u1

Fixed

sid

giflib: 6.1.3-1

Fixed

trixie

giflib: 5.2.2-1+deb13u1

Fixed

Ubuntu

Fixed

bionic (esm-infra)

giflib

Affected

devel

giflib: 6.1.3-1

Affected

focal (esm-infra)

giflib

Affected

jammy

giflib: 5.1.9-2ubuntu0.3

Fixed

noble

giflib: 5.2.2-1ubuntu1.2

Fixed

resolute

giflib: 5.2.2-1ubuntu3.2

Fixed

xenial (esm-infra-legacy)

giflib

Affected

RHEL / CentOS

Fixed

RHEL 8

:appstream:giflib-0:5.1.4-4.el8_10.src

Fixed

RHEL 9

:appstream:giflib-0:5.2.1-9.el9_0.1.src

Fixed

RHEL 10

giflib-0:5.2.1-22.el10_0.1.src

Fixed

SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-86738CRITICAL9.3
  • NixOS logoNixOS
  • snipe-it
NoYesSep 08, 2026
CVE-2026-86734HIGH7.1
  • NixOS logoNixOS
  • snipe-it
NoYesSep 08, 2026
CVE-2026-86735MEDIUM5.9
  • NixOS logoNixOS
  • snipe-it
NoYesSep 08, 2026
CVE-2026-86737MEDIUM5.3
  • NixOS logoNixOS
  • snipe-it
NoYesSep 08, 2026
CVE-2026-86736MEDIUM5.3
  • NixOS logoNixOS
  • snipe-it
NoYesSep 08, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management