CVSS 3.1
5.5 mediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HMedium (5.5) in giflib project giflib. EPSS 0.3% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExplain CVE-2023-39742 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-39742?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-39742?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-39742 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| giflib_project:giflib | 5.2.1 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12, 13, 14 | giflib | no fix listed | DEBIAN-CVE-2023-39742 |
| Ubuntu | 20.04:LTS | giflib | 5.1.9-1ubuntu0.1 | UBUNTU-CVE-2023-39742 USN-6824-1 |
| Ubuntu | 22.04:LTS | giflib | 5.1.9-2ubuntu0.1 | USN-6824-1 |
| Ubuntu | Pro:16.04:LTS | giflib | 5.1.4-0.3~16.04.1+esm1 | UBUNTU-CVE-2023-39742 USN-6824-1 |
| Ubuntu | Pro:18.04:LTS | giflib | 5.1.4-2ubuntu0.1+esm1 | UBUNTU-CVE-2023-39742 USN-6824-1 |
| SUSE | Linux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5, Linux Enterprise Software Development Kit 12 SP5 | giflib | 5.0.5-13.6.1 | SUSE-SU-2024:2607-1 |
| SUSE | Linux Enterprise Server LTSS Extended Security 12 SP5 | giflib | 5.0.6-13.12.1 | SUSE-SU-2026:1005-1 |
| Alpine | v3.17, v3.18, v3.19 and 5 more | giflib | 5.2.2-r0 | ALPINE-CVE-2023-39742 |
| Azure Linux | 2 | giflib | 5.2.1-8 | AZL-28091 |
| Azure Linux | 3 | giflib | 5.2.1-8 | AZL-34728 |
| Alpaquita | 23, stream | giflib | 5.2.2-r0 | BELL-CVE-2023-39742 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · Alpine · Alpaquita.
Red Hat rates this Low.
This vulnerability is a segmentation fault triggered when the library's argument-parsing utility encounters unexpected input or malformed command-line arguments. This leads to a local Denial of Service (DoS), causing the utility to crash during execution. Because the impact is limited to the local process and does not facilitate unauthorized access or persistent service disruption, the overall security risk is considered low.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 6 | giflib | Out of support scope | |
| Red Hat Enterprise Linux 7 | giflib | Out of support scope | |
| Red Hat Enterprise Linux 8 | giflib | Fix deferred | |
| Red Hat Enterprise Linux 9 | giflib | Fix deferred |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-39742.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-120 (13).