CVE-2023-39742
published 2023-08-25CVE-2023-39742: giflib v5.2.1 was discovered to contain a segmentation fault via the component getarg.c.
PriorityP418medium5.5CVSS 3.1
AVLACLPRLUINSUCNINAH
EPSS
0.33%
24.6th percentile
giflib v5.2.1 was discovered to contain a segmentation fault via the component getarg.c.
Affected
9 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | giflib | — | — |
| giflib_project | giflib | — | — |
| giflib_project | giflib | >= 0 < 5.1.9-1ubuntu0.1 | 5.1.9-1ubuntu0.1 |
| giflib_project | giflib | >= 0 < 5.1.9-2ubuntu0.1 | 5.1.9-2ubuntu0.1 |
| giflib_project | giflib | >= 0 < 5.1.4-0.3~16.04.1+esm1 | 5.1.4-0.3~16.04.1+esm1 |
| giflib_project | giflib | >= 0 < 5.1.4-2ubuntu0.1+esm1 | 5.1.4-2ubuntu0.1+esm1 |
| msrc | azl3_giflib_5.2.1-10_on_azure_linux_3.0 | — | — |
| msrc | azl3_giflib_5.2.1-8_on_azure_linux_3.0 | — | — |
| msrc | cbl2_giflib_5.2.1-8_on_cbl_mariner_2.0 | — | — |
CVSS provenance
nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
osv8.8HIGH
vendor_ubuntu8.8HIGH
vendor_debian5.5LOW
vendor_msrc5.5MEDIUM
vendor_redhat5.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Ubuntu
GIFLIB vulnerabilities
vendor_ubuntu·2024-06-10·CVSS 8.8
CVE-2023-39742 [HIGH] GIFLIB vulnerabilities
Title: GIFLIB vulnerabilities
Summary: Several security issues were fixed in giflib.
It was discovered that GIFLIB incorrectly handled certain GIF files.
An attacker could possibly use this issue to cause a denial of service.
(CVE-2021-40633, CVE-2022-28506, CVE-2023-39742)
Instructions: In general, a standard system update will make all the necessary changes.
Red Hat
giflib: segfault via getarg.c
vendor_redhat·2023-08-25·CVSS 5.5
CVE-2023-39742 [MEDIUM] CWE-120 giflib: segfault via getarg.c
giflib: segfault via getarg.c
giflib v5.2.1 was discovered to contain a segmentation fault via the component getarg.c.
Package: giflib (Red Hat Enterprise Linux 6) - Out of support scope
Package: giflib (Red Hat Enterprise Linux 7) - Out of support scope
Package: giflib (Red Hat Enterprise Linux 8) - Fix deferred
Package: giflib (Red Hat Enterprise Linux 9) - Fix deferred
Microsoft
giflib v5.2.1 was discovered to contain a segmentation fault via the component getarg.c.
vendor_msrc·2023-08-08·CVSS 5.5
CVE-2023-39742 [MEDIUM] CWE-120 giflib v5.2.1 was discovered to contain a segmentation fault via the component getarg.c.
giflib v5.2.1 was discovered to contain a segmentation fault via the component getarg.c.
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.
Mariner: Mariner
mitre: mitre
Customer Action Required: Yes
Remediation: CBL-Mariner R
Debian
CVE-2023-39742: giflib - giflib v5.2.1 was discovered to contain a segmentation fault via the component g...
vendor_debian·2023·CVSS 5.5
CVE-2023-39742 [MEDIUM] CVE-2023-39742: giflib - giflib v5.2.1 was discovered to contain a segmentation fault via the component g...
giflib v5.2.1 was discovered to contain a segmentation fault via the component getarg.c.
Scope: local
bookworm: open
bullseye: open
forky: open
sid: open
trixie: open
OSV
giflib vulnerabilities
osv·2024-06-10·CVSS 8.8
CVE-2021-40633 [HIGH] giflib vulnerabilities
giflib vulnerabilities
It was discovered that GIFLIB incorrectly handled certain GIF files.
An attacker could possibly use this issue to cause a denial of service.
(CVE-2021-40633, CVE-2022-28506, CVE-2023-39742)
OSV
CVE-2023-39742: giflib v5
osv·2023-08-25·CVSS 5.5
CVE-2023-39742 [MEDIUM] CVE-2023-39742: giflib v5
giflib v5.2.1 was discovered to contain a segmentation fault via the component getarg.c.
GHSA
GHSA-29c8-646j-hvw9: giflib v5
ghsa_unreviewed·2023-08-25
CVE-2023-39742 [MEDIUM] CWE-120 GHSA-29c8-646j-hvw9: giflib v5
giflib v5.2.1 was discovered to contain a segmentation fault via the component getarg.c.
No detection rules found.
No public exploits indexed.
https://gist.github.com/huanglei3/ec9090096aa92445cf0a8baa8e929084https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/O4RLSFGPBPR3FMIUJCWPGVIYIU35YGQX/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OPNBOB65TEA4ZEPLVENI26BY4LEX7TEF/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/T5WO6WL2TCGO6T4VKGACDIVSZI74WJAU/https://sourceforge.net/p/giflib/bugs/166/https://gist.github.com/huanglei3/ec9090096aa92445cf0a8baa8e929084https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/O4RLSFGPBPR3FMIUJCWPGVIYIU35YGQX/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OPNBOB65TEA4ZEPLVENI26BY4LEX7TEF/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/T5WO6WL2TCGO6T4VKGACDIVSZI74WJAU/https://sourceforge.net/p/giflib/bugs/166/
2023-08-25
Published