CVE-2025-11187
CVE-2025-11187 · Improper validation of PBMAC1 parameters in PKCS#12 MAC verification
Esta página presenta datos de fuentes públicas de vulnerabilidades. Consulta el aviso original antes de actualizar.
Issue summary: PBMAC1 parameters in PKCS#12 files are missing validation which can trigger a stack-based buffer overflow, invalid pointer or NULL pointer dereference during MAC verification. Impact summary: The stack buffer overflow or NULL pointer dereference may cause a crash leading to Denial of Service for an application that parses untrusted PKCS#12 files. The buffer overflow may also potentially enable code execution depending on platform mitigations. When verifying a PKCS#12 file that uses PBMAC1 for the MAC, the PBKDF2 salt and keylength parameters from the file are used without validation. If the value of keylength exceeds the size of the fixed stack buffer used for the derived key (64 bytes), the key derivation will overflow the buffer. The overflow length is attacker-controlled. Also, if the salt parameter is not an OCTET STRING type this can lead to invalid or NULL pointer dereference. Exploiting this issue requires a user or application to process a maliciously crafted PKCS#12 file. It is uncommon to accept untrusted PKCS#12 files in applications as they are usually used to store private keys which are trusted by definition. For this reason the issue was assessed as Moderate severity. The FIPS modules in 3.6, 3.5 and 3.4 are not affected by this issue, as PKCS#12 processing is outside the OpenSSL FIPS module boundary. OpenSSL 3.6, 3.5 and 3.4 are vulnerable to this issue. OpenSSL 3.3, 3.0, 1.1.1 and 1.0.2 are not affected by this issue as they do not support PBMAC1 in PKCS#12.
CVSS 6.1 · Media · EPSS 5,2% · Corrección disponible
- Publicación
- Actualización
Pila tecnológica: system · network
Productos y versiones afectados
openssl
- Versiones
- ≥ 3.6.0, < 3.6.1: Afectada (semver)
- ≥ 3.5.0, < 3.5.5: Afectada (semver)
- ≥ 3.4.0, < 3.4.4: Afectada (semver)
Actualiza a 3.4.4; Actualiza a 3.5.5; Actualiza a 3.6.1
openssl Debian:13
- Versiones
- 3.5.1-1
- 3.5.1-1+deb13u1
- 3.5.2-1
- 3.5.3-1
- 3.5.4-1~deb13u1
- Intervalos de versiones afectados
- ECOSYSTEM: < 3.5.4-1~deb13u2
Actualiza a 3.5.4-1~deb13u2
openssl Debian:14
- Versiones
- 3.5.1-1
- 3.5.2-1
- 3.5.3-1
- 3.5.4-1
- 3.5.4-1~deb13u1
- 3.5.4-1~deb13u2
- 3.5.5-1~deb13u1
- 3.5.5-1~deb13u2
- Intervalos de versiones afectados
- ECOSYSTEM: < 3.5.5-1
Actualiza a 3.5.5-1
nodejs Ubuntu:Pro:16.04:LTS
- Versiones
- 0.10.25~dfsg2-2ubuntu1
- 4.2.2~dfsg-1
- 4.2.3~dfsg-1
- 4.2.4~dfsg-1ubuntu1
- 4.2.4~dfsg-2
- 4.2.6~dfsg-1ubuntu1
- 4.2.6~dfsg-1ubuntu4
- 4.2.6~dfsg-1ubuntu4.1
- 4.2.6~dfsg-1ubuntu4.2
- 4.2.6~dfsg-1ubuntu4.2+esm1
- 4.2.6~dfsg-1ubuntu4.2+esm2
- 4.2.6~dfsg-1ubuntu4.2+esm3
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
nodejs Ubuntu:Pro:18.04:LTS
- Versiones
- 6.11.4~dfsg-1ubuntu1
- 6.11.4~dfsg-1ubuntu2
- 6.12.0~dfsg-1ubuntu1
- 6.12.0~dfsg-2ubuntu1
- 6.12.0~dfsg-2ubuntu2
- 8.10.0~dfsg-2
- 8.10.0~dfsg-2ubuntu0.2
- 8.10.0~dfsg-2ubuntu0.3
- 8.10.0~dfsg-2ubuntu0.4
- 8.10.0~dfsg-2ubuntu0.4+esm1
- 8.10.0~dfsg-2ubuntu0.4+esm2
- 8.10.0~dfsg-2ubuntu0.4+esm3
- 8.10.0~dfsg-2ubuntu0.4+esm4
- 8.10.0~dfsg-2ubuntu0.4+esm5
- 8.10.0~dfsg-2ubuntu0.4+esm6
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
nodejs Ubuntu:Pro:22.04:LTS
- Versiones
- 12.22.5~dfsg-5ubuntu1
- 12.22.7~dfsg-2ubuntu1
- 12.22.7~dfsg-2ubuntu3
- 12.22.9~dfsg-1ubuntu2
- 12.22.9~dfsg-1ubuntu3
- 12.22.9~dfsg-1ubuntu3.1
- 12.22.9~dfsg-1ubuntu3.2
- 12.22.9~dfsg-1ubuntu3.3
- 12.22.9~dfsg-1ubuntu3.4
- 12.22.9~dfsg-1ubuntu3.5
- 12.22.9~dfsg-1ubuntu3.6
- 12.22.9~dfsg-1ubuntu3.6+esm2
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
openssl Ubuntu:25.10
- Versiones
- 3.4.1-1ubuntu3
- 3.5.0-2ubuntu1
- 3.5.2-1ubuntu1
- 3.5.3-1ubuntu2
- Intervalos de versiones afectados
- ECOSYSTEM: < 3.5.3-1ubuntu3
Actualiza a 3.5.3-1ubuntu3
openssl Ubuntu:26.04:LTS
- Versiones
- 3.5.3-1ubuntu2
- Intervalos de versiones afectados
- ECOSYSTEM: < 3.5.5-1ubuntu1
Actualiza a 3.5.5-1ubuntu1
Fuentes originales
- https://openssl-library.org/news/secadv/20260127.txt
- https://github.com/openssl/openssl/commit/8caf359d6e46fb413e8f5f0df765d2e8a51df4e8
- https://github.com/openssl/openssl/commit/e1079bc17ed93ff16f6b86f33a2fe3336e78817e
- https://github.com/openssl/openssl/commit/205e3a55e16e4bd08c12fdbd3416ab829c0f6206
- https://github.com/metadust/CVE-2025-11187
- https://nvd.nist.gov/vuln/detail/CVE-2025-11187