PT-2026-69246 · Cpan · Crypt::Openssl::Pkcs12

CVE-2026-17510

·

Published

2026-08-09

·

Updated

2026-08-12

CVSS v3.1

7.5

High

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions Crypt::OpenSSL::PKCS12 versions prior to 1.98
Description A NULL pointer dereference occurs in the print attribute() function when processing a zero length BMPSTRING attribute. The function uses Renew(*attribute, length, char) to size the destination buffer based on the declared byte length. A zero length attribute results in a zero size reallocation, which Perl implements as a free returning NULL. Consequently, the buffer pointer becomes NULL, and the caller dereferences this NULL pointer during a strlen() call passed to newSVpvn(). This issue can be triggered when an untrusted PKCS#12 file is passed to the info as hash() function, potentially leading to a process crash. UTF8STRING, OCTET STRING, and BIT STRING attributes are not affected as they use different sizing logic.
Recommendations Update Crypt::OpenSSL::PKCS12 to version 1.98 or later. Avoid passing untrusted PKCS#12 files to the info as hash() function.

Exploit

Fix

NULL Pointer Dereference

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-17510

Affected Products

Crypt::Openssl::Pkcs12