CVE-2024-37407: 
NixOS vulnerability analysis and mitigation

Overview

CVE-2024-37407 is a security vulnerability affecting Libarchive versions before 3.7.4. The vulnerability allows name out-of-bounds access when a ZIP archive has an empty-name file and mac-ext is enabled. This issue specifically occurs in the slurp_central_directory function within archive_read_support_format_zip.c (NVD, RedHat).

Technical details

The vulnerability is classified as an out-of-bounds read (CWE-125) with a CVSS v3.1 base score of 9.1 (CRITICAL), having a vector string of CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H. The issue manifests when processing ZIP archives that contain files with empty names while the mac-ext option is enabled, leading to an out-of-bounds memory access in the slurp_central_directory function (NVD).

Impact

The vulnerability can lead to undefined behavior, including potential exploitation by attackers to execute arbitrary code, cause denial of service conditions, or exfiltrate sensitive information through improper handling of file names that leads to memory access violations (RedHat).

Exploitability

A proof of concept has been developed demonstrating the vulnerability by creating an invalid ZIP file with an empty filename. When this file is processed with the mac-ext option enabled, it triggers the out-of-bounds access, though interestingly, it may not be detected by address sanitizer tools (GitHub PR).

Mitigation and workarounds

The vulnerability has been fixed in Libarchive version 3.7.4. Users are advised to upgrade to this version, which includes the security patch along with other important bugfixes (GitHub Release).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Fixed

bookworm

libarchive

Fixed

bullseye

libarchive

Fixed

sid

libarchive

Fixed

trixie

libarchive

Fixed

Source: This report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-121964HIGH8.7
  • NixOS logoNixOS
  • freerdp
NoYesNov 04, 2026
CVE-2026-120757MEDIUM6.9
  • NixOS logoNixOS
  • hdf5
NoYesNov 03, 2026
CVE-2026-120758MEDIUM5.4
  • NixOS logoNixOS
  • hdf5
NoYesNov 03, 2026
CVE-2026-120755MEDIUM4.7
  • NixOS logoNixOS
  • hdf5
NoYesNov 03, 2026
CVE-2026-120756LOW1.9
  • NixOS logoNixOS
  • cpe:2.3:a:hdfgroup:hdf5
NoYesNov 03, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management