CVE-2025-11187
CVE-2025-11187 · Improper validation of PBMAC1 parameters in PKCS#12 MAC verification
Cette page présente des faits issus de sources publiques. Consultez l’avis original avant toute mise à jour.
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 · Moyenne · EPSS 5,2% · Correctif disponible
- Publication
- Mise à jour
Pile logicielle: system · network
Produits et versions concernés
openssl
- Versions du logiciel
- ≥ 3.6.0, < 3.6.1: Concernée (semver)
- ≥ 3.5.0, < 3.5.5: Concernée (semver)
- ≥ 3.4.0, < 3.4.4: Concernée (semver)
Mettez à jour vers 3.4.4; Mettez à jour vers 3.5.5; Mettez à jour vers 3.6.1
openssl Debian:13
- Versions du logiciel
- 3.5.1-1
- 3.5.1-1+deb13u1
- 3.5.2-1
- 3.5.3-1
- 3.5.4-1~deb13u1
- Plages de versions concernées
- ECOSYSTEM: < 3.5.4-1~deb13u2
Mettez à jour vers 3.5.4-1~deb13u2
openssl Debian:14
- Versions du logiciel
- 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
- Plages de versions concernées
- ECOSYSTEM: < 3.5.5-1
Mettez à jour vers 3.5.5-1
nodejs Ubuntu:Pro:16.04:LTS
- Versions du logiciel
- 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
- Plages de versions concernées
- ECOSYSTEM: (−∞, +∞)
Aucun correctif publié
nodejs Ubuntu:Pro:18.04:LTS
- Versions du logiciel
- 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
- Plages de versions concernées
- ECOSYSTEM: (−∞, +∞)
Aucun correctif publié
nodejs Ubuntu:Pro:22.04:LTS
- Versions du logiciel
- 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
- Plages de versions concernées
- ECOSYSTEM: (−∞, +∞)
Aucun correctif publié
openssl Ubuntu:25.10
- Versions du logiciel
- 3.4.1-1ubuntu3
- 3.5.0-2ubuntu1
- 3.5.2-1ubuntu1
- 3.5.3-1ubuntu2
- Plages de versions concernées
- ECOSYSTEM: < 3.5.3-1ubuntu3
Mettez à jour vers 3.5.3-1ubuntu3
openssl Ubuntu:26.04:LTS
- Versions du logiciel
- 3.5.3-1ubuntu2
- Plages de versions concernées
- ECOSYSTEM: < 3.5.5-1ubuntu1
Mettez à jour vers 3.5.5-1ubuntu1
Sources 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