CVE-2026-8721

Source
https://cve.org/CVERecord?id=CVE-2026-8721
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-8721.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-8721
Downstream
Published
2026-05-17T18:51:41.420Z
Modified
2026-07-08T08:10:43.316716325Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Crypt::OpenSSL::PKCS12 versions through 1.94 for Perl truncates passwords with embedded NULLs
Details

Crypt::OpenSSL::PKCS12 versions through 1.94 for Perl truncates passwords with embedded NULLs.

Password parameters in PKCS12.xs are declared char *, which routes through Perl's default typemap to SvPV_nolen. The Perl length is discarded.

The C code (or OpenSSL internally) calls strlen() on the buffer. Any password byte at or after the first NULL is silently dropped. Binary / KDF-derived / HMAC-derived passwords lose entropy without any warnings.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/8xxx/CVE-2026-8721.json",
    "cwe_ids": [
        "CWE-170"
    ],
    "cna_assigner": "CPANSec"
}
References

Affected packages

Git / github.com/dsully/perl-crypt-openssl-pkcs12

Affected ranges

Type
GIT
Repo
https://github.com/dsully/perl-crypt-openssl-pkcs12
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Database specific
{
    "source": "AFFECTED_FIELD",
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "1.94"
        }
    ]
}

Affected versions

0.*
0.10
0.9
1.*
1.0
1.1
1.10
1.11
1.2
1.3
1.4
1.5
1.6
1.7
1.8
1.9
1.91
1.92
1.93
1.94

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-8721.json"