CVE-2025-69421NULL Pointer Dereference in PKCS12_item_decrypt_d2i_ex function
Issue summary: Processing a malformed PKCS#12 file can trigger a NULL pointer dereference in the PKCS12_item_decrypt_d2i_ex() function. Impact summary: A NULL pointer dereference can trigger a crash which leads to Denial of Service for an application processing PKCS#12 files. The PKCS12_item_decrypt_d2i_ex() function does not check whether the oct parameter is NULL before dereferencing it. When called from PKCS12_unpack_p7encdata() with a malformed PKCS#12 file, this parameter can be NULL, causing a crash. The vulnerability is limited to Denial of Service and cannot be escalated to achieve code execution or memory disclosure. Exploiting this issue requires an attacker to provide a malformed PKCS#12 file to an application that processes it. For that reason the issue was assessed as Low severity according to our Security Policy. The FIPS modules in 3.6, 3.5, 3.4, 3.3 and 3.0 are not affected by this issue, as the PKCS#12 implementation is outside the OpenSSL FIPS module boundary. OpenSSL 3.6, 3.5, 3.4, 3.3, 3.0, 1.1.1 and 1.0.2 are vulnerable to this issue.
What to do
Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.
Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | edk2 | Not affected vulnerable_code_not_present | ||
| Ubuntu 26.04 | nodejs | Not affected vulnerable_code_not_present | ||
| Ubuntu 26.04 | openssl | Fixed | 3.5.5-1ubuntu1 | UBUNTU-CVE-2025-69421 |
| Ubuntu 25.10 | edk2 | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | nodejs | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | openssl | Fixed | 3.5.3-1ubuntu3 | UBUNTU-CVE-2025-69421 |
| Ubuntu 24.04 | edk2 | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | nodejs | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | openssl | Fixed | 3.0.13-0ubuntu3.7 | UBUNTU-CVE-2025-69421 |
| Ubuntu 22.04 | edk2 | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | nodejs | Fix pending | UBUNTU-CVE-2025-69421 | |
| Ubuntu 22.04 | openssl | Fixed | 3.0.2-0ubuntu1.21 | UBUNTU-CVE-2025-69421 |
| Ubuntu 20.04 | openssl | Fix pending | 1.1.1f-1ubuntu2.24+esm2 (Ubuntu Pro) | UBUNTU-CVE-2025-69421 |
| Ubuntu 18.04 | nodejs | Fix pending | UBUNTU-CVE-2025-69421 | |
| Ubuntu 18.04 | openssl | Fix pending | 1.1.1-1ubuntu2.1~18.04.23+esm7 (Ubuntu Pro) | UBUNTU-CVE-2025-69421 |
| Ubuntu 18.04 | openssl1.0 | Fix pending | 1.0.2n-1ubuntu5.13+esm3 (Ubuntu Pro) | UBUNTU-CVE-2025-69421 |
| Ubuntu 16.04 | nodejs | Fix pending | UBUNTU-CVE-2025-69421 | |
| Ubuntu 16.04 | openssl | Fix pending | 1.0.2g-1ubuntu4.20+esm14 (Ubuntu Pro) | UBUNTU-CVE-2025-69421 |
| Ubuntu 14.04 | openssl | Fix pending | 1.0.1f-1ubuntu2.27+esm12 (Ubuntu Pro) | UBUNTU-CVE-2025-69421 |
| Debian 14 | openssl | Fixed | 3.5.5-1 | DEBIAN-CVE-2025-69421 |
| Debian 13 | openssl | Fixed | 3.5.4-1~deb13u2 | DEBIAN-CVE-2025-69421 |
| Debian 12 | openssl | Fixed | 3.0.18-1~deb12u2 | DEBIAN-CVE-2025-69421 |
| Red Hat Enterprise Linux 10 | edk2 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | edk2-aarch64 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | edk2-ovmf | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | edk2-tools | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | edk2-tools-doc | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | mokutil | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | openssl | Fixed | 1:3.5.1-7.el10_1 | RHSA-2026:1472 |
| Red Hat Enterprise Linux 10 | openssl-devel | Fixed | 1:3.5.1-7.el10_1 | RHSA-2026:1472 |
| Red Hat Enterprise Linux 10 | openssl-libs | Fixed | 1:3.5.1-7.el10_1 | RHSA-2026:1472 |
| Red Hat Enterprise Linux 10 | openssl-perl | Fixed | 1:3.5.1-7.el10_1 | RHSA-2026:1472 |
| Red Hat Enterprise Linux 10 | shim-aa64 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | shim-unsigned-aarch64 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | shim-unsigned-x64 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | shim-x64 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | compat-openssl11 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | edk2 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | edk2-aarch64 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | edk2-ovmf | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | edk2-tools | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | edk2-tools-doc | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | openssl | Fixed | 1:3.5.1-7.el9_7 | RHSA-2026:1473 |
| Red Hat Enterprise Linux 9 | openssl-devel | Fixed | 1:3.5.1-7.el9_7 | RHSA-2026:1473 |
| Red Hat Enterprise Linux 9 | openssl-libs | Fixed | 1:3.5.1-7.el9_7 | RHSA-2026:1473 |
| Red Hat Enterprise Linux 9 | openssl-perl | Fixed | 1:3.5.1-7.el9_7 | RHSA-2026:1473 |
| Red Hat Enterprise Linux 9 | shim | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | shim-aa64 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | shim-unsigned-aarch64 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | shim-unsigned-x64 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | shim-x64 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | compat-openssl10 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | edk2 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | edk2-aarch64 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | edk2-ovmf | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | mingw-openssl | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | mingw32-openssl | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | mingw64-openssl | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | openssl | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | openssl-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | openssl-libs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | openssl-perl | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | openssl-static | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | shim | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | shim-aa64 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | shim-ia32 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | shim-unsigned-x64 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | shim-x64 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | AAVMF | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | OVMF | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | openssl | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | openssl-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | openssl-libs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | openssl-perl | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | openssl-static | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | ovmf | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 6 | openssl | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 6 | openssl-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 6 | openssl-perl | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 6 | openssl-static | Fix pending Fix deferred | ||
| AlmaLinux 10 | openssl | Fixed | 1:3.5.1-7.el10_1.alma.1 | ALSA-2026:1472 |
| AlmaLinux 10 | openssl-devel | Fixed | 1:3.5.1-7.el10_1.alma.1 | ALSA-2026:1472 |
| AlmaLinux 10 | openssl-libs | Fixed | 1:3.5.1-7.el10_1.alma.1 | ALSA-2026:1472 |
| AlmaLinux 10 | openssl-perl | Fixed | 1:3.5.1-7.el10_1.alma.1 | ALSA-2026:1472 |
| AlmaLinux 9 | openssl | Fixed | 1:3.5.1-7.el9_7 | ALSA-2026:1473 |
| AlmaLinux 9 | openssl-devel | Fixed | 1:3.5.1-7.el9_7 | ALSA-2026:1473 |
| AlmaLinux 9 | openssl-libs | Fixed | 1:3.5.1-7.el9_7 | ALSA-2026:1473 |
| AlmaLinux 9 | openssl-perl | Fixed | 1:3.5.1-7.el9_7 | ALSA-2026:1473 |
| Rocky Linux 10 | openssl | Fixed | 1:3.5.1-7.el10_1 | RLSA-2026:1472 |
| Rocky Linux 9 | openssl | Fixed | 1:3.5.1-7.el9_7 | RLSA-2026:1473 |
| Alpine Linux 3.24 | openssl | Fixed | 3.5.5-r0 | ALPINE-CVE-2025-69421 |
| Alpine Linux 3.23 | openssl | Fixed | 3.5.5-r0 | ALPINE-CVE-2025-69421 |
| Alpine Linux 3.22 | openssl | Fixed | 3.5.5-r0 | ALPINE-CVE-2025-69421 |
| Alpine Linux 3.21 | openssl | Fixed | 3.3.6-r0 | ALPINE-CVE-2025-69421 |
| Alpine Linux 3.20 | openssl | Fixed | 3.3.6-r0 | ALPINE-CVE-2025-69421 |
| Alpine Linux 3.17 | openssl | Fixed | 3.0.19-r0 | ALPINE-CVE-2025-69421 |
What the vendor says
As published in the CVE record by openssl, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- OpenSSL: affected: 3.6.0 to before 3.6.1, 3.5.0 to before 3.5.5, 3.4.0 to before 3.4.4, 3.3.0 to before 3.3.6, 3.0.0 to before 3.0.19, 1.1.1 to before 1.1.1ze; fixed in
3.6.1,3.5.5,3.4.4,3.3.6,3.0.19,1.1.1ze
Vendor advisories:
- https://openssl-library.org/news/secadv/20260127.txt (vendor-advisory)
- https://github.com/openssl/openssl/commit/a2dbc539f0f9cc63832709fa5aa33ad9495eb19c (patch)
- https://github.com/openssl/openssl/commit/3524a29271f8191b8fd8a5257eb05173982a097b (patch)
- https://github.com/openssl/openssl/commit/643986985cd1c21221f941129d76fe0c2785aeb3 (patch)
- https://github.com/openssl/openssl/commit/4bbc8d41a72c842ce4077a8a3eccd1109aaf74bd (patch)
- https://github.com/openssl/openssl/commit/36ecb4960872a4ce04bf6f1e1f4e78d75ec0c0c7 (patch)
References
- https://openssl-library.org/news/secadv/20260127.txt
- https://github.com/openssl/openssl/commit/a2dbc539f0f9cc63832709fa5aa33ad9495eb19c
- https://github.com/openssl/openssl/commit/3524a29271f8191b8fd8a5257eb05173982a097b
- https://github.com/openssl/openssl/commit/643986985cd1c21221f941129d76fe0c2785aeb3
- https://github.com/openssl/openssl/commit/4bbc8d41a72c842ce4077a8a3eccd1109aaf74bd
- https://github.com/openssl/openssl/commit/36ecb4960872a4ce04bf6f1e1f4e78d75ec0c0c7
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.