CVE-2025-69421CWE-476

NULL Pointer Dereference in PKCS12_item_decrypt_d2i_ex function

High · published January 27, 2026

CVSS v3.1
7.5
EPSS
1%
Percentile
61.1
In the wild
Unconfirmed
What it is

⚡ A malformed PKCS#12 file can crash your application faster than a surprise winter storm! 🌧️ Think of it like a delivery person trying to drop off a package at the wrong address. If the address is so garbled that it doesn't exist, the whole delivery process gets disrupted, causing delays and confusion instead of a successful drop-off. An attacker can exploit this by submitting a poorly crafted PKCS#12 file, triggering a NULL pointer dereference that sends your application crashing down like a house of cards! This results in Denial of Service, rendering the application unable to process any files until it's fixed.

Put simply

Think of it like a delivery person trying to drop off a package at the wrong address. If the address is so garbled that it doesn't exist, the whole delivery process gets disrupted, causing delays and confusion instead of a successful drop-off. This vulnerability occurs in OpenSSL's PKCS12_item_decrypt_d2i_ex() function, which fails to check if the 'oct' parameter is NULL before dereferencing it. When called with a malformed PKCS#12 file, this oversight leads to a crash.

What to do

An attacker can exploit this by submitting a poorly crafted PKCS#12 file, triggering a NULL pointer dereference that sends your application crashing down like a house of cards! This results in Denial of Service, rendering the application unable to process any files until it's fixed. To protect yourself, update your OpenSSL to version 3.7.0 or higher. Also, review any applications processing PKCS#12 files to ensure they're handling file validation properly. This will help prevent unexpected crashes! You're on the right track! With a quick update and some vigilance, you'll keep your applications running smoothly. 🛡️

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00958 · 61.1th percentile
Weakness
CWE-476 · NULL Pointer Dereference
Published
2026-01-27T16:01Z
EPSS history
Timeline
  • 27 JAN 16:01Z
    NULL Pointer Dereference in PKCS12_item_decrypt_d2i_ex function
    cvelistv5