Skip to content
Fencer Vulns
medium 5.5

CVE-2023-39742 json

giflib v5.2.1 was discovered to contain a segmentation fault via the component getarg.c.

published 2023-08-25 3 y ago modified 2026-07-30 3 mo ago also EUVD-2023-43442 , JLSEC-2026-818

cvss
5.5
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
0.3%
EPSS 0.3% chance of exploitation in 30 days, percentile 28%
public exploits
0
none known

Summary

giflib v5.2.1 was discovered to contain a segmentation fault via the component getarg.c.

Patch / fix

  • julia Giflib_jll 5.2.2+0
  • giflib Ubuntu 20.04 LTS 5.1.9-1ubuntu0.1
  • giflib Ubuntu Pro 16.04 LTS 5.1.4-0.3~16.04.1+esm1
  • giflib Ubuntu Pro 18.04 LTS 5.1.4-2ubuntu0.1+esm1

ubuntu advisories UBUNTU-CVE-2023-39742

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • giflib SLES for SAP 12 SP5, SLES 12 SP5, SLE Software Development Kit 12 SP5 5.0.5-13.6.1
  • giflib SLES LTSS Extended Security 12 SP5 5.0.6-13.12.1

suse advisories SUSE-SU-2026:1005-1SUSE-SU-2024:2607-1

  • giflib Alpine 3.24, Alpine 3.23, Alpine 3.22 +5 more 5.2.2-r0

alpine advisories ALPINE-CVE-2023-39742

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • giflib CBL-Mariner 2.0, Azure Linux 3.0 5.2.1-8

azure linux advisories AZL-28091AZL-34728

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2023-39742 updated cvss 5.5

giflib: giflib: Denial of Service via getarg.c

  • Red Hat Enterprise Linux 6 giflib, giflib-utils Red Hat Enterprise Linux 7 giflib, giflib-utils
    affected: no fix planned “Out of support scope”
  • Red Hat Enterprise Linux 8 giflib Red Hat Enterprise Linux 9 giflib
    affected: no fix available “Fix deferred”

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
Proof of concept is public
Automatable
no
Technical impact
partial
Assessed
2 y ago

Exploit prediction

0.35% chance of exploitation in the next 30 days, higher than 28% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • sourceforge.net https://sourceforge.net/p/giflib/bugs/166/ referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 3.1 5.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
OSV 3.1 5.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected packages

ecosystem package affected fixed in
julia Giflib_jll
>=5.2.1+0, <5.2.2+0
5.2.2+0

Classification

Weakness
  • CWE-120 Buffer Copy without Checking Size of Input

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.