Read the docs
TI-2026-14365 Aliases CVE-2026-17510GHSA-h64x-hp84-8636

NULL pointer dereference in JONASBN Crypt::OpenSSL::PKCS12

Priority MEDIUM 40CWE-476Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA. Impact type from CWE-476.

Summary

Crypt::OpenSSL::PKCS12 versions before 1.98 for Perl allow a NULL pointer dereference in print_attribute via a zero length BMPSTRING attribute. print_attribute() sizes the destination buffer for a BMPSTRING attribute from its declared byte length with `Renew(*attribute, length, char)`. A zero length attribute makes that a zero size reallocation, which Perl implements as a free returning NULL, so the buffer pointer becomes NULL, the following `strncpy` copies nothing, and the caller dereferences NULL in the `strlen()` it passes to `newSVpvn()`. A zero length BMPSTRING is even length, so the ASN.1 decoder accepts it and the value reaches this code. The UTF8STRING, OCTET STRING and BIT STRING arms size on `length + 1` or `length * 4 + 1` and are unaffected. Any caller that passes an untrusted PKCS#12 file to info_as_hash() can crash the process. info() prints attribute values directly without sizing a buffer and is unaffected.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00609 49th percentileScored 2026-11-07
Fix Fixed Crypt::OpenSSL::PKCS12 (JONASBN): 1.98

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
JONASBNCrypt::OpenSSL::PKCS12before 1.981.98Patch availableCNA
  • Crypt::OpenSSL::PKCS12 VendorJONASBN Affected before 1.98 Fixed in 1.98 Patch available CNA

Remediation

  • Fix · CNA Crypt::OpenSSL::PKCS12 (JONASBN) Fixed in 1.98

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-17510
  2. 2026-10-03 Alias added: GHSA-h64x-hp84-8636

References

  • TI-2026-07468 Out-of-bounds write in JONASBN Crypt::OpenSSL::PKCS12 CVSS 3.1CRITICAL 9.8
  • TI-2026-07663 Crypt::OpenSSL::PKCS12 versions through 1.94 for Perl truncates passwords with embedded… CVSS 3.1CRITICAL 9.8
  • TI-2026-08140 Out-of-bounds read in JONASBN Crypt::OpenSSL::PKCS12 CVSS 3.1CRITICAL 9.1
  • TI-2026-41849 Out-of-bounds read in JONASBN Crypt::OpenSSL::X509 CVSS 3.1CRITICAL 9.1
  • TI-2026-41848 NULL pointer dereference in JONASBN Crypt::OpenSSL::X509 CVSS 3.1HIGH 7.5

Sources