Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.6%top 53%

CVE-2026-9265: CWE-125 Out-of-bounds Read in JONASBN Crypt::OpenSSL::PKCS12

0
Critical
VulnerabilityCVE-2026-9265cvecve-2026-9265cwe-125
Published: 06/20/2026 (06/20/2026, 00:46:07 UTC)
Source: CVE Database V5
Vendor/Project: JONASBN
Product: Crypt::OpenSSL::PKCS12

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.

CVSS v3.1

Score 9.1critical

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

Affected software

GitHub Actionsmore threats →cve
Crypt-OpenSSL-PKCS12
pkg:github/Crypt-OpenSSL-PKCS12
Affected versions
<1.96

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/27/2026, 21:51:06 UTC

Technical Analysis

Crypt::OpenSSL::PKCS12 versions prior to 1.96 contain a heap out-of-bounds read vulnerability in the print_attribute UTF8STRING path. The function copies an ASN.1 UTF8STRING attribute value into a heap buffer sized exactly to the declared length using strncpy, but does not append a null terminator. Subsequent calls to strlen() on this non-null-terminated buffer cause it to read beyond the allocated memory, passing an inflated length to newSVpvn(). This leads to copying of adjacent heap bytes influenced by an attacker into a Perl scalar, resulting in a heap out-of-bounds read (CWE-125). The vulnerability has a CVSS 3.1 score of 9.1, indicating critical severity with network attack vector, low attack complexity, no privileges required, no user interaction, and high confidentiality and availability impact.

Potential Impact

Successful exploitation allows an attacker to read adjacent heap memory beyond the intended buffer, potentially disclosing sensitive information and causing denial of service due to memory corruption or application instability. The vulnerability does not directly impact integrity but can severely affect confidentiality and availability.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or temporary mitigation is currently documented. Users should monitor the vendor's communications for patches or updates addressing this vulnerability before upgrading to version 1.96 or later.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
CPANSec
Date Reserved
2026-05-22T01:38:26.750Z
Cvss Version
null
State
PUBLISHED
Remediation Level
null

Threat ID: 6a35f350daaa79a87dc2cb84

Added to database: 06/20/2026, 01:56:32 UTC

Last enriched: 06/27/2026, 21:51:06 UTC

Last updated: 08/01/2026, 07:18:02 UTC

Views: 105

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses