SecurityContext

CVE-2023-39742: giflib - Buffer Overflow

  • Cve: CVE-2023-39742
  • Name: giflib - Buffer Overflow
  • Description: giflib v5.2.1 was discovered to contain a segmentation fault via the component getarg.c.
  • Impact: Attackers can cause application crashes or execute arbitrary code remotely, leading to denial of service or full system compromise.
  • Remediation: Update to the latest version of giflib where the issue is fixed.
  • Vulnerability type: buffer_overflow
  • Vulnerability impact: denial_of_service, remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.5
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
  • Epss score: 0.00344
  • Epss percentile: 0.2844
  • Assignee: [email protected]
  • Published at: 2023-08-25T14:15:09Z
  • Age in days: 1187
  • Modified at: 2026-06-17T06:12:50Z
  • Public exploits total: 1
  • References total: 5
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2023-39742
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-120Buffer Copy without Checking Size of Input

Public exploits

UrlSourceAdded date
https://sourceforge.net/p/giflib/bugs/166/nvd2023-08-25

References

Same in every row:

  • Source: nvd
UrlTags
https://sourceforge.net/p/giflib/bugs/166/Exploit, Issue Tracking
https://gist.github.com/huanglei3/ec9090096aa92445cf0a8baa8e929084Third Party Advisory
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/OPNBOB65TEA4ZEPLVENI26BY4LEX7TEF/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/T5WO6WL2TCGO6T4VKGACDIVSZI74WJAU/

Products

ProductAffectedPlatform boundSourcesUrl
giflib_project:giflib= 5.2.1nonvd/v1/products/giflib_project/giflib

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2023-08-25
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts