SecurityContext

CVE-2024-37407: Libarchive - Buffer Overflow

  • Cve: CVE-2024-37407
  • Name: Libarchive - Buffer Overflow
  • Description: Libarchive before 3.7.4 allows name out-of-bounds access when a ZIP archive has an empty-name file and mac-ext is enabled. This occurs in slurp_central_directory in archive_read_support_format_zip.c.
  • Impact: Attackers can cause application crashes or potential code execution by crafting malicious ZIP files with empty filenames.
  • Remediation: Update to version 3.7.4 or later.
  • Vulnerability type: buffer_overflow
  • Vulnerability impact: denial_of_service, remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.1
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
  • Epss score: 0.00971
  • Epss percentile: 0.62625
  • Assignee: [email protected]
  • Published at: 2024-06-08T13:15:58Z
  • Age in days: 899
  • Modified at: 2026-06-17T07:38:18Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 3
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-37407
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-125Out-of-bounds Read

Public exploits

UrlSourceAdded date
https://github.com/libarchive/libarchive/pull/2145nvd2024-06-08

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/libarchive/libarchive/releases/tag/v3.7.4Patch
https://github.com/libarchive/libarchive/pull/2145Exploit, Issue Tracking
https://github.com/libarchive/libarchive/commit/b6a979481b7d77c12fa17bbed94576b63bbcb0c0Issue Tracking

Products

ProductAffectedPlatform boundSourcesUrl
libarchive:libarchive= 3.7.3nonvd/v1/products/libarchive/libarchive

Projects

RepositoryLink kindsIndexedUrl
libarchive/libarchivecommit, fix, pull, releasesyes/v1/repositories/libarchive/libarchive

Index

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

Exploitation

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