CVE-2026-17510 Affecting libcrypt-openssl-pkcs12-perl package, versions *


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.19% (9th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ECHOLATEST-LIBCRYPTOPENSSLPKCS12PERL-18600146
  • published9 Aug 2026
  • disclosed9 Aug 2026

Introduced: 9 Aug 2026

NewCVE-2026-17510  (opens in a new tab)

How to fix?

There is no fixed version for Echo:latest libcrypt-openssl-pkcs12-perl.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libcrypt-openssl-pkcs12-perl package and not the libcrypt-openssl-pkcs12-perl package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

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.