CVE-2026-13165

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.
CVSS

No CVSS.

Configurations

No configuration.

History

25 Oct 2026, 21:10

Type Values Removed Values Added
Summary
  • (es) SzafirHost verifica el archivo de biblioteca nativa descargado con un analizador JarFile (leyendo el Directorio Central) pero extrae bibliotecas nativas con un analizador JarInputStream (leyendo secuencialmente desde las cabeceras de archivos locales). Un atacante que controla el archivo servido puede insertar una DLL/SO/DYLIB maliciosa como una entrada de cabecera de archivo local entre la última entrada legítima y el Directorio Central, sin añadirla al Directorio Central. El verificador de firmas nunca ve la entrada inyectada y acepta el archivo como válidamente firmado; el extractor la lee secuencialmente y escribe la biblioteca del atacante en el directorio temporal nativo sin verificación de hash), mientras que la verificación del tamaño del archivo sigue pasando. Esto puede llevar a ejecución remota de código. Este problema se solucionó en la versión 1.2.2.

29 Jun 2026, 14:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-06-29 14:16

Updated : 2026-10-25 21:10


NVD link : CVE-2026-13165

Mitre link : CVE-2026-13165

CVE.ORG link : CVE-2026-13165


JSON object : View

Products Affected

No product.

CWE
CWE-434

Unrestricted Upload of File with Dangerous Type