CPANSA-Crypt-OpenSSL-PKCS12-2026-9265: Crypt-OpenSSL-PKCS12 vulnerability

Publisher giterlizzi Document category csaf_security_advisory
Initial release date 2026-06-20T00:00:00 Engine CSAF Perl Toolkit 0.26
Current release date 2026-06-20T00:00:00 Build Date
Current version 1 Status final
CVSS v3.1 Base Score 9.1 Severity
Original language Language en
Also referred to

Vulnerability Description

Crypt::OpenSSL::PKCS12 versions before 1.96 for Perl permits a heap OOB read in print_attribute UTF8STRING path. print_attribute() copies a UTF8STRING ASN.1 attribute value into a heap buffer sized exactly to its declared length via strncpy, leaving no NUL terminator. Downstream callers run strlen() on the result and pass the inflated length to newSVpvn(), copying attacker-influenced adjacent heap bytes into a Perl scalar.

Vulnerabilities

CVE-2026-9265

Vulnerability Description

Crypt::OpenSSL::PKCS12 versions before 1.96 for Perl permits a heap OOB read in print_attribute UTF8STRING path.

print_attribute() copies a UTF8STRING ASN.1 attribute value into a heap buffer sized exactly to its declared length via strncpy, leaving no NUL terminator. Downstream callers run strlen() on the result and pass the inflated length to newSVpvn(), copying attacker-influenced adjacent heap bytes into a Perl scalar.

Weakness CWE-125 : Out-of-bounds Read

Product status

Known affected
Product Score
Crypt-OpenSSL-PKCS12 less than 1.96
CVSS Version CVSS Vector CVSS Base Score CVSS Base Severity
3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H 9.1 Critical
Fixed

giterlizzi

Namespace: https://github.com/giterlizzi/

gdt@cpan.org

References

Revision history

Version Date of the revision Summary of the revision
1 Sat Jun 20 00:00:00 2026 First release

Sharing rules

TLP:WHITE
For the TLP version see: https://www.first.org/tlp/