Skip to content
Smuggling / CRLF Advisory Advanced CVE-2026-79151

Improper input validation in Safebrowsing (CVE-2026-79151)

Chromium's ZIP reader honours the Info-ZIP Unicode Path extra field and overrides the entry filename with it, while Windows Explorer ignores that field and extracts using the central directory name. An attacker could craft an archive that looks like a harmless text file to Safe Browsing but extracts as an executable, bypassing download reputation checks.

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 3 months

Project Fortify, an experimental security project, has identified the following potential security issue. If you're a feature owner CC-ed on this bug, please do your best to review these reports. Please see https://chromium.googlesource.com/chromium/src/+/main/docs/security/ai-generated-security-bugs-faq.md for more information.

Overview: A potential filename parser differential in Chromium's ZIP reader allows attackers to bypass Safe Browsing executable detection. By utilizing the Info-ZIP Unicode-Path Extra Field (0x7075), an archive can present a benign filename (e.g., '.txt') to Chromium's ZIP analyzer while native Windows Explorer extracts it as an executable. This results in malicious executables bypassing download reputation analysis and reaching the victim's filesystem.

Affected files:

  • third_party/zlib/google/zip_reader.cc
  • chrome/utility/safe_browsing/zip_analyzer.cc
  • chrome/common/safe_browsing/archive_analyzer_results.cc

Estimated timestamp from git blame: 2026-05-04

Root Cause Analysis

Chromium's ZIP reader in third_party/zlib/google/zip_reader.cc relies on a custom-patched version of minizip (third_party/zlib/contrib/minizip/unzip.c) which implements parsing for the Info-ZIP Unicode Path Extra Field (0x7075, or ux).

In third_party/zlib/google/zip_reader.cc:ZipReader::OpenEntry(), the parser checks for the presence of this extra field and, if validated, unconditionally overrides entry_.path_in_original_encoding with the extra field's UTF-8 path:

C++
if (info.size_utf8_filename > 0) {
  // Use the Info-ZIP Unicode Path Extra Field if present.
  DCHECK(info.utf8_filename[info.size_utf8_filename] == 0);
  entry_.path_in_original_encoding = info.utf8_filename;
}

For info.size_utf8_filename > 0 to be set, the following validation constraints in third_party/zlib/contrib/minizip/unzip.c must be met:

  1. The Extra Field ID must be 0x7075.
  2. The extra field payload must contain a valid size (at least 5 bytes for version and CRC32).
  3. The version field must be 1.
  4. The CRC32 checksum inside the extra field must match the CRC32 of the physical filename from the central directory.

Since an archive's creator has full control over all of these values, an attacker can easily craft a ZIP where these criteria are met. This unconditional override creates a severe parser differential because default OS-level extraction tools (specifically Windows Explorer's native zipfldr.dll) completely ignore the 0x7075 field and extract files using their standard Central Directory filename.


Potential Safe Browsing Bypass Vector

This differential allows an attacker to bypass executable reputation checks in Safe Browsing:

  1. Extension Bypass: An attacker packages a malicious Windows PE executable (malware.exe) and appends a 0x7075 Unicode-Path Extra Field pointing to a non-executable filename, such as receipt.txt.
  2. Analysis Flow: During download protection analysis, ZipAnalyzer::ResumeExtraction() iterates over the archive entries. Due to the override, the entry path is read as receipt.txt.
  3. Result Filtering: ArchiveAnalyzer::UpdateResultsForEntry() invokes IsCheckedBinaryFile('receipt.txt') via archive_analyzer_results.cc. Because .txt is not a checked binary extension, IsCheckedBinaryFile returns false. No binary reputation analysis (e.g., hashing, PE header inspection) is performed for this file.
  4. Download Allowed: The download is categorized as a safe archive and delivered to the user with no warnings.
  5. Extraction: When the user extracts the ZIP file using native Windows Explorer, the OS utility ignores the 0x7075 extra field and extracts the file using its physical name, delivering malware.exe to the filesystem.

Potential Steps to Reproduce / Trigger

Note: These are suggested steps based on static analysis; our tooling agent does not currently have the capability to run code to verify this live.

  1. Create a ZIP archive containing a single compressed Windows PE executable payload.
  2. Set the Central Directory and Local File Header filenames to malware.exe.
  3. Append an Info-ZIP Unicode Path Extra Field (0x7075) to the Central Directory entry containing:
    • Header ID = 0x7075
    • Version = 1
    • NameCRC32 = crc32('malware.exe')
    • UnicodeName = receipt.txt
  4. Download the ZIP file via Chrome on Windows.
  5. Inspect chrome://safe-browsing or the network log. The ClientDownloadRequest should classify the download as a safe ARCHIVE with an empty archived_binary list.
  6. Extract the downloaded archive using native Windows Explorer to verify that the file is extracted as malware.exe.

Fix Suggestion

To prevent parser differentials, the ZIP reader used by Safe Browsing should either:

  1. Validate both the standard Central Directory filename and the overridden Unicode-Path filename. If any restricted file extension (such as .exe) is present in either field, the entry must be treated as a checked binary.
  2. Alternatively, detect discrepancies between the standard Central Directory filename and the 0x7075 extra field, and mark any mismatch as suspicious or treat the archive as untrusted.

Evaluated with Chrome root at commit: b1520ef4a76878853a31f0943b565e42060edec8


Results so far have been promising, but there can be wrong deductions. Feel free to adjust as follows:

  • If you are familiar with the severity guidelines, you may adjust the severity.
  • If this is a false positive, and there's no work to be done, please close as WAI.
  • If there is work to do here but not a vulnerability, please change the issue type to Task/Bug/FR.

Data from false positives will be used to improve accuracy over time. And please feel free to reach out to me directly if you have concerns or feedback on the project.

The original report as published on the Chromium issue tracker. Images and videos are our own copies; raw HTML is shown as text. View it on Chromium issue tracker.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the ZIP reader unconditionally replaces the entry path with the Unicode Path extra field without comparing it to the central directory filename, creating a parser differential with OS extraction tools.

Impact

A malicious executable could reach the victim's filesystem without any Safe Browsing warning, though the report is based on static analysis and was not verified live.

What the attacker needed

Windows victim; victim downloads and extracts the ZIP; attacker crafts the archive

The fix

The ZIP reader should check both the central directory filename and the Unicode path field, treating the entry as a checked binary if either carries a restricted extension, or flag any mismatch as suspicious.

How it was found

  1. Create a ZIP archive containing a single compressed Windows PE executable payload.
  2. Set the Central Directory and Local File Header filenames to the executable name.
  3. Append an Info-ZIP Unicode Path Extra Field to the Central Directory entry with a matching CRC32 and a non-executable Unicode name.
  4. Download the ZIP file via Chrome on Windows.
  5. Inspect the download classification to confirm it is treated as a safe archive with no archived binary listed.
  6. Extract the downloaded archive using native Windows Explorer to verify the executable is written out.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

A ZIP file can store more than one name for the same file inside it. Chromium's download scanner reads one of those names and decides the file is harmless, but Windows' built-in unzip tool reads the other name and writes out an executable program. So the scanner checks a different file than the one the user actually gets.

What is Smuggling / CRLF?

A front end and a back end split one connection's bytes into requests differently, letting an attacker hide a request inside another user's.

More from Google Chrome

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Request smuggling and header injection

The lesson behind this report.

A front end and a back end split one connection's bytes into requests differently, letting an attacker hide a request inside another user's.