p PatchFirst

CVE-2026-23868

CVE-2026-23868

CVSS 5.1 · Medium · EPSS 0.2% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

  • giflibNo fix published
  • giflib Debian 12Update to 5.2.1-2.5+deb12u1
  • giflib Debian 13Update to 5.2.2-1+deb13u1
  • giflib Debian 14Update to 6.1.3-1
  • and 7 more

Check the installed version:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="giflib"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

This page shows selected source facts. See the linked advisories for the complete description and affected versions.

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.

Published
Updated

Fixes in distributions

Stack: system

Affected products and versions

  • giflib

    Versions
    • ≥ 5.0.0, ≤ 6.1.1: Affected (semver)

    No fix published

  • giflib Debian 12

    Versions
    • 5.2.1-2.5
    Affected ranges
    • ECOSYSTEM: < 5.2.1-2.5+deb12u1

    Update to 5.2.1-2.5+deb12u1

  • giflib Debian 13

    Versions
    • 5.2.2-1
    Affected ranges
    • ECOSYSTEM: < 5.2.2-1+deb13u1

    Update to 5.2.2-1+deb13u1

  • giflib Debian 14

    Versions
    • 5.2.2-1
    Affected ranges
    • ECOSYSTEM: < 6.1.3-1

    Update to 6.1.3-1

  • giflib Ubuntu Pro 16.04 LTS

    Versions
    • 4.1.6-11
    • 5.1.1-0ubuntu1
    • 5.1.1-0.1
    • 5.1.1-0.2
    • 5.1.2-0.1
    • 5.1.2-0.2
    All versions (9)
    • 5.1.4-0.3~16.04
    • 5.1.4-0.3~16.04.1
    • 5.1.4-0.3~16.04.1+esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • giflib Ubuntu Pro 18.04 LTS

    Versions
    • 5.1.4-1
    • 5.1.4-2
    • 5.1.4-2ubuntu0.1
    • 5.1.4-2ubuntu0.1+esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • giflib Ubuntu 20.04 LTS

    Versions
    • 5.1.4-3ubuntu1
    • 5.1.9-1
    • 5.1.9-1ubuntu0.1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • giflib Ubuntu 22.04 LTS

    Versions
    • 5.1.9-2build1
    • 5.1.9-2build2
    • 5.1.9-2ubuntu0.1
    Affected ranges
    • ECOSYSTEM: < 5.1.9-2ubuntu0.3

    Update to 5.1.9-2ubuntu0.3

  • giflib Ubuntu 24.04 LTS

    Versions
    • 5.2.1-2.5
    • 5.2.2-1ubuntu1
    Affected ranges
    • ECOSYSTEM: < 5.2.2-1ubuntu1.2

    Update to 5.2.2-1ubuntu1.2

  • giflib Ubuntu 25.10

    Versions
    • 5.2.2-1ubuntu2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • giflib Ubuntu 26.04 LTS

    Versions
    • 5.2.2-1ubuntu2
    • 5.2.2-1ubuntu3
    Affected ranges
    • ECOSYSTEM: < 5.2.2-1ubuntu3.2

    Update to 5.2.2-1ubuntu3.2

Original sources

Check your server →