Skip to main content
Meet us at Black Hat USA 2026— Las Vegas, August 1–6Book a Meeting
Mallory
Unrated

Remote Code Execution in SzafirHost Native Library Archive Verification

IdentifiersCVE-2026-13165CWE-434

CVE-2026-13165 is a remote code execution vulnerability in SzafirHost affecting versions prior to 1.2.2. The flaw is caused by inconsistent parsing of downloaded native library archives during verification and extraction. SzafirHost verifies the archive signature using a JarFile parser that reads the ZIP/JAR Central Directory, but extracts native libraries using JarInputStream, which processes entries sequentially from local file headers. An attacker who controls the served archive can append or insert a malicious native library entry (DLL, SO, or DYLIB) as a local-file-header entry between the last legitimate file and the Central Directory without listing that entry in the Central Directory. Because the verifier only evaluates Central Directory entries, it does not see the injected file and accepts the archive as validly signed. The extractor, however, reads the injected entry sequentially and writes the attacker-controlled library into the native temporary directory without an additional hash check. The archive-size check still passes, enabling signature-bypass-driven loading of attacker-supplied native code.

Share:
For your environment

Are you exposed to this one?

Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.

ANALYST BRIEF

Impact, mitigation & remediation

What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation can result in remote code execution in the context of the SzafirHost process by causing the application to extract and subsequently use an attacker-controlled native library. This undermines the integrity of the signed archive mechanism, allowing a malicious DLL/SO/DYLIB to bypass signature verification and be placed in the native temp directory as if it were trusted content.

Mitigation

If you can’t patch tonight, do this now.

If immediate upgrade is not possible, reduce exposure by ensuring the native library archive cannot be attacker-controlled in transit or at source, enforcing trusted distribution channels only, and adding independent integrity validation of extracted native libraries before load. Reviewing and hardening native library extraction logic to reject entries not present in the verified Central Directory would also mitigate exploitation. These are interim measures; the primary fix is upgrading to 1.2.2.

Remediation

Patch, then assume compromise.

Upgrade SzafirHost to version 1.2.2 or later, which fixes the inconsistent archive parsing issue. The vulnerable logic should be replaced so that verification and extraction operate over the same canonical set of archive entries, and extracted native libraries should be validated against the verified manifest or cryptographic hashes before being written or loaded.
PUBLIC EXPLOITS

Exploits

No public exploits tracked yet. Mallory keeps watching.

VALID 0 / 0 TOTALView more in app

No public exploit code observed for this vulnerability.

What this page doesn’t show

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, which detections to deploy, and what to do tonight.
Exposure mapping

Query your assets running an affected version, and investigate the blast radius.

Threat actor evidence

Every observed campaign linking this CVE to a named adversary.

Associated malware

Malware families riding this exploit, with evidence and IOCs.

Detection signatures

YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.

Vendor-by-vendor mapping

Cross-references every affected SKU, including bundled OEM variants.

Social activity5

Community discussion across Reddit, Mastodon, and other social sources.