Out-of-bounds ReadWeakness · CWE-125

CVE-2023-52169

HIGH · 8.2 CVSS v3.1 Published 2024-07-03
Mitigation only
No fix yet — a mitigation exists. There is no fixed release. A documented workaround reduces exposure in the meantime.
See remediation →
91/100
Remediation priority · Urgent
Remotely reachable No privileges Zero-click

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
The NtfsHandler.cpp NTFS handler in 7-Zip before 24.01 (for 7zz) contains an out-of-bounds read that allows an attacker to read beyond the intended buffer. The bytes read beyond the intended buffer are presented as a part of a filename listed in the file system image. This has security relevance in some known web-service use cases where untrusted users can upload files and have them extracted by a server-side 7-Zip process.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

The NTFS handler in 7-Zip versions before 24.01 contains an out-of-bounds read vulnerability in NtfsHandler.cpp. When processing a specially crafted NTFS filesystem image, the handler reads beyond the allocated buffer, exposing memory contents that appear as filenames in the directory listing. This allows an attacker to potentially leak sensitive memory contents through untrusted file extraction workflows.

MitigationUpgrade to 7-Zip 24.01 or later to obtain the patched NTFS handler. If immediate upgrading is not feasible, implement strict validation to reject or sandbox untrusted NTFS images before server-side extraction, or disable automated extraction of uploaded files entirely.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Find the installed 7-Zip executable
    Locate 7z.exe (typically in C:\Program Files\7-Zip\ or C:\Program Files (x86)\7-Zip\) or check your system's PATH for the 7z command
    Affected if 7-Zip executable is present on the system
  2. Determine the 7-Zip version
    Run '7z' or '7z --help' from command line and look for the version number in the output, or right-click the 7z.exe file, select Properties, and check the Details tab for the Product version
    Affected if The displayed version is earlier than 24.01 (for example, 23.01, 22.01, etc.)
  3. Identify if NTFS image processing occurs
    Search your workflows for any automated or manual extraction of NTFS filesystem images (.img, .vhd, .vhdx, or raw disk images known to contain NTFS) from untrusted sources, including user uploads, email attachments, or network shares
    Affected if Untrusted NTFS filesystem images are processed by 7-Zip in any extraction workflow

You are affected if 7-Zip version is below 24.01 AND your environment processes NTFS filesystem images from untrusted or external sources using 7-Zip's extraction functionality.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Mitigation available No clean upgrade yet — mitigate in the meantime
Mitigation

Upgrade to 7-Zip 24.01 or later to obtain the patched NTFS handler. If immediate upgrading is not feasible, implement strict validation to reject or sandbox untrusted NTFS images before server-side extraction, or disable automated extraction of uploaded files entirely.

Recommended fix High confidence

7-Zip 24.01 or later

  1. Identify all systems running 7-Zip versions before 24.01 that handle untrusted NTFS images
  2. Download 7-Zip version 24.01 or later from the official 7-Zip website (https://www.7-zip.org/)
  3. Install the updated version on affected systems
  4. Verify the installation shows version 24.01 or later by checking Help > About in the 7-Zip GUI or running '7z' command with version flag

Generated from the published advisory — verify against the referenced sources before acting.

Have this fixed Scoped from the published advisory
  • Consultation3.0 h
  • Implementation6.0 h
  • Testing4.0 h
  • Review / QA2.0 h
15.0 hours of engineering $2,640
Get help mitigating

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $4,224.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2023-52169 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2023-52169 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data