CVE-2026-17510
Last modified
CVE-2026-17510 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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()`. EPSS estimates a 0.44% chance of exploitation in the next 30 days.
Description
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| JONASBN | Crypt::OpenSSL::PKCS12 | < 1.98 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-17510?
How severe is CVE-2026-17510?
How do I fix CVE-2026-17510?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-17503IBM PowerVM Hypervisor FW1120.00 through FW1120.01, FW1110.0…5.1
- CVE-2026-17504IBM PowerVM Hypervisor FW1120.00 through FW1120.01, FW1110.0…5.1
- CVE-2026-17505The Translate Multilingual sites – TranslatePress plugin for…6.1
- CVE-2026-17506The Independent Analytics plugin for WordPress is vulnerable…7.2
- CVE-2026-17509The WPML Multilingual CMS plugin for WordPress is vulnerable…6.5
- CVE-2026-1751A vulnerability has been discovered in GitLab CE/EE affectin…3.1
- CVE-2026-17511IBM PowerVM Hypervisor FW1120.00 through FW1120.01, FW1110.0…3.4
- CVE-2026-17512A vulnerability has been found in ggml-org whisper.cpp 1.8.4…3.3
- CVE-2026-17513A vulnerability was found in ggml-org whisper.cpp 95ea8f9b. …3.3
- CVE-2026-17514A vulnerability was determined in ZJONSSON node-unzipper up …5.3
- CVE-2026-17515The MLSImport: IDX Plugin & MLS Plugin for Real Estate Listi…4.3
- CVE-2026-17517The Content Views WordPress plugin before 4.5.1.2 does not …5.3
Are you affected by CVE-2026-17510?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
