# CVE-2026-23868: Giflib contains a double-free vulnerability that is the result of a shallow copy in GifMakeSavedImage and incorrect error handling.

- Severity: Medium 5.1 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 7% of CVEs (2026-12-01)
- Published: 2026-03-10T18:53:25.606Z
- Modified: 2026-07-15T02:49:19.402Z
- Weaknesses: CWE-415, CWE-825
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Meta

## 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.

(As written by CVE List.)

## Affected

- giflib giflib: from 5.0.0 up to 6.1.1
- giflib: no versions given (not affected: from 0:5.2.1-22.el10_1.1 before *; from 0:5.2.1-24.el10_2 before *; from 0:5.2.1-22.el10_0.1 before *; from 0:4.1.6-9.el7_9.1 before *; from 0:5.1.4-4.el8_10 before *; from 0:5.1.4-3.el8_2.1 before *; from 0:5.1.4-3.el8_4.1 before *; from 0:5.1.4-3.el8_6.1 before *; from 0:5.1.4-3.el8_8.1 before *; from 0:5.2.1-10.el9_8.1 before *; from 0:5.2.1-9.el9_7.1 before *; from 0:5.2.1-9.el9_0.1 before *)
- rhaiis/vllm-cuda-rhel9: no versions given (not affected: from 1779223654 before *; from 1778274666 before *)
- rhaiis/vllm-rocm-rhel9: no versions given (not affected: from 1779223651 before *; from 1778244531 before *)
- rhaiis/model-opt-cuda-rhel9: no versions given (not affected: from 1780681984 before *; from 1778244559 before *)
- rhaiis/vllm-spyre-rhel9: no versions given (not affected: from 1778244546 before *)
- giflib_project giflib: from 5.0.0 up to 6.1.1

## Every score

- CISA-ADP: 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`
- redhat-SADP: CVSS:3.1 7.0 High `CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://www.facebook.com/security/advisories/cve-2026-23868> (third-party-advisory)
- <https://sourceforge.net/p/giflib/code/ci/f5b7267aed3665ef025c13823e454170d031c106/tree/gifalloc.c?diff=5146815377b7395944cb683a08c43eee3f631eb7> (patch)
- <https://access.redhat.com/security/cve/CVE-2026-23868> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2446207> (issue-tracking)
- <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-23868.json>
- <https://access.redhat.com/errata/RHSA-2026:8883> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:9290> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:8858> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:19154> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:8861> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:8884> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:8885> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:8887> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:8886> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:9291> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:9292> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:9295> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:9294> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:8859> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:19367> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:25096> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:19724> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:19725> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:16008> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:16030> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:16009> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:16174> (vendor-advisory)

## Sources

- CVE List: [CVE-2026-23868](https://www.cve.org/CVERecord?id=CVE-2026-23868), CVE Terms of Use, modified 2026-07-15
- NVD: [CVE-2026-23868](https://nvd.nist.gov/vuln/detail/CVE-2026-23868), Public domain, modified 2026-07-15

---

Page: https://cve.day/CVE-2026-23868 · Whole record: https://cve.day/CVE-2026-23868.json · Rebuilt by cve.day 2026-11-25T22:59:15.644Z
