CVE-2026-17510
Last modified
CVE-2026-17510 is a vulnerability of currently unknown severity. 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()`.
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.
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
- Received
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-1750The Ecwid by Lightspeed Ecommerce Shopping Cart plugin for W…8.8
- CVE-2026-17500A vulnerability was detected in ggml-org llama.cpp d006858/e…6.9
- CVE-2026-17501A flaw has been found in ggml-org llama.cpp e15efe0. This vu…6.9
- 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-1751A vulnerability has been discovered in GitLab CE/EE affectin…3.1
- 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-17519Rejected reason: This is rejected.
- CVE-2026-1752GitLab has remediated an issue in GitLab EE affecting all ve…4.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
