CVE-2026-13165CWE-434

Remote Code Execution in SzafirHost

High · published June 29, 2026

CVSS v4.0
8.6
EPSS
1%
Percentile
52.9
In the wild
Unconfirmed
What it is

SzafirHost verifies the downloaded native library archive with one JarFile parser (reading the Central Directory) but extracts native libraries with JarInputStream parser (reading sequentially from local file headers). An attacker who controls the served archive can insert a malicious DLL/SO/DYLIB as a local-file-header entry between the last legitimate entry and the Central Directory, without adding it to the Central Directory. The signature verifier never sees the injected entry and accepts the archive as validly signed; the extractor reads it sequentially and writes the attacker library to the native temp directory with no hash check), while the archive-size check still passes. This can lead to remote code execution.

This issue was fixed in version 1.2.2.

The record
Technical detail
CVSS v4.0
8.6 · HIGH
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:L/SI:L/SA:L
EPSS
0.00709 · 52.9th percentile
Weakness
CWE-434 · Unrestricted Upload of File with Dangerous Type
Published
2026-06-29T12:16Z
EPSS history
Timeline
  • 29 JUN 12:16Z
    Remote Code Execution in SzafirHost
    cvelistv5