CVE-2026-8507: CWE-787 Out-of-bounds Write in JONASBN Crypt::OpenSSL::PKCS12
Crypt::OpenSSL::PKCS12 versions through 1.94 for Perl contain a critical out-of-bounds write vulnerability triggered when parsing a specially crafted PKCS12 file with a large OCTET STRING or BIT STRING attribute. This flaw arises from a signed integer overflow during size calculation, potentially allowing remote code execution. The vulnerability has a CVSS score of 9.8, indicating critical severity. A patch is available, and since this is a cloud service, the vendor typically manages remediation server-side. No known exploits are reported in the wild at this time.
AI Analysis
Technical Summary
CVE-2026-8507 is an out-of-bounds write vulnerability (CWE-787) in Crypt::OpenSSL::PKCS12 versions up to 1.94 for Perl. It occurs when parsing a PKCS12 file containing an OCTET STRING or BIT STRING attribute of size 1 GiB or greater on a SAFEBAG. The vulnerability is due to a signed integer overflow in the size calculation passed to the Renew() function, which leads to a heap out-of-bounds write. This flaw can be exploited remotely without authentication, potentially resulting in remote code execution. The CVSS v3.1 base score is 9.8 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H). The product is a cloud service, and the vendor manages patching.
Potential Impact
Successful exploitation can lead to remote code execution with full confidentiality, integrity, and availability impact. The flaw allows an attacker to write outside the bounds of allocated memory, potentially executing arbitrary code remotely without any privileges or user interaction.
Mitigation Recommendations
A patch is available for this vulnerability. Since Crypt::OpenSSL::PKCS12 is provided as a cloud service, the vendor typically manages remediation server-side. Users should verify with the vendor that the service has been updated to address this issue. No additional action is required if the vendor confirms mitigation.
CVE-2026-8507: CWE-787 Out-of-bounds Write in JONASBN Crypt::OpenSSL::PKCS12
Description
Crypt::OpenSSL::PKCS12 versions through 1.94 for Perl contain a critical out-of-bounds write vulnerability triggered when parsing a specially crafted PKCS12 file with a large OCTET STRING or BIT STRING attribute. This flaw arises from a signed integer overflow during size calculation, potentially allowing remote code execution. The vulnerability has a CVSS score of 9.8, indicating critical severity. A patch is available, and since this is a cloud service, the vendor typically manages remediation server-side. No known exploits are reported in the wild at this time.
CVSS v3.1
Score 9.8critical
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-8507 is an out-of-bounds write vulnerability (CWE-787) in Crypt::OpenSSL::PKCS12 versions up to 1.94 for Perl. It occurs when parsing a PKCS12 file containing an OCTET STRING or BIT STRING attribute of size 1 GiB or greater on a SAFEBAG. The vulnerability is due to a signed integer overflow in the size calculation passed to the Renew() function, which leads to a heap out-of-bounds write. This flaw can be exploited remotely without authentication, potentially resulting in remote code execution. The CVSS v3.1 base score is 9.8 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H). The product is a cloud service, and the vendor manages patching.
Potential Impact
Successful exploitation can lead to remote code execution with full confidentiality, integrity, and availability impact. The flaw allows an attacker to write outside the bounds of allocated memory, potentially executing arbitrary code remotely without any privileges or user interaction.
Mitigation Recommendations
A patch is available for this vulnerability. Since Crypt::OpenSSL::PKCS12 is provided as a cloud service, the vendor typically manages remediation server-side. Users should verify with the vendor that the service has been updated to address this issue. No additional action is required if the vendor confirms mitigation.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- CPANSec
- Date Reserved
- 2026-05-13T22:45:07.737Z
- Cvss Version
- null
- State
- PUBLISHED
- Remediation Level
- null
- Is Cloud Service
- true
Threat ID: 6a0a11bfec166c07b0f3cce7
Added to database: 05/17/2026, 19:06:39 UTC
Last enriched: 05/24/2026, 19:31:48 UTC
Last updated: 07/07/2026, 10:33:24 UTC
Views: 202
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.