# CVE-2023-39742

- Priority: **Routine**
- Reason: Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2023-08-25 · Modified: 2024-10-02
- Aliases: ALPINE-CVE-2023-39742, MGASA-2023-0278, UBUNTU-CVE-2023-39742, DEBIAN-CVE-2023-39742
- Record: https://cvemate.com/vulnerability/CVE-2023-39742 · JSON: https://cvemate.com/vulnerability/CVE-2023-39742/json

## Description

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

## Signals

- CVSS: 5.5 medium (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.344%, percentile 29.868%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected

- alpine giflib (Alpine Linux): \< 5.2.2-r0
- debian giflib (Debian): All versions (No fix recorded)
- ubuntu giflib (Ubuntu): \< 5.1.4-0.3~16.04.1+esm1 \| \< 5.1.4-2ubuntu0.1+esm1 \| \< 5.1.9-1ubuntu0.1
- giflib\_project giflib: 5.2.1
- mageia giflib (Mageia): \< 5.2.1-5.2.mga8
- mageia giflib (Mageia): \< 5.2.1-7.1.mga9

## References

- <https://sourceforge.net/p/giflib/bugs/166/>
- <https://gist.github.com/huanglei3/ec9090096aa92445cf0a8baa8e929084>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/O4RLSFGPBPR3FMIUJCWPGVIYIU35YGQX/>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/T5WO6WL2TCGO6T4VKGACDIVSZI74WJAU/>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OPNBOB65TEA4ZEPLVENI26BY4LEX7TEF/>
- <https://security.alpinelinux.org/vuln/CVE-2023-39742>
- <https://advisories.mageia.org/MGASA-2023-0278.html>
- <https://bugs.mageia.org/show_bug.cgi?id=32303>
- <https://www.cve.org/CVERecord?id=CVE-2023-39742>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/O4RLSFGPBPR3FMIUJCWPGVIYIU35YGQX/>
- <https://ubuntu.com/security/CVE-2023-39742>
- <https://ubuntu.com/security/notices/USN-6824-1>
- <https://security-tracker.debian.org/tracker/CVE-2023-39742>
- <https://nvd.nist.gov/vuln/detail/CVE-2023-39742>

---

Data as of 2026-12-05T04:58:43.127Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
