CVE-2024-26130
CVE-2024-26130 — cryptography NULL pointer deference with pkcs12.serialize_key_and_certificates when called with a non-matching certificate and private key and an hmac_hash over
cryptography is a package designed to expose cryptographic primitives and recipes to Python developers. Starting in version 38.0.0 and prior to version 42.0.4, if `pkcs12.serialize_key_and_certificates` is called with both a certificate whose public key did not match the provided private key and an `encryption_algorithm` with `hmac_hash` set (via `PrivateFormat.PKCS12.encryption_builder().hmac_hash(...)`, then a NULL pointer dereference would occur, crashing the Python process. This has been resolved in version 42.0.4, the first version in which a `ValueError` is properly raised.
Published Updated Sources: cvelistV5, GitHub_M
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Unreported
no source claims exploitation
EPSS
<1%
chance of exploitation in 30 days
CVSS base
7.5
HIGH
CISA SSVC assessment
Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.
Exploitation
None
none · proof-of-concept · active
Automatable
Yes
can an attacker script all four kill-chain steps
Technical impact
Partial
partial · total control of the vulnerable component
Affected scope
The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.
Vendors (2)
Products (1)
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 7.5 | CVSS 3.1 | HIGH | n/a | n/a | cvelistV5 |
Weakness & attack patterns
- CWE-476
References
3 on the record
- github.com/pyca/cryptography/security/advisories/GHSA-6vqw-3v5j-54x4
x_refsource_CONFIRM
- github.com/pyca/cryptography/pull/10423
x_refsource_MISC
- github.com/pyca/cryptography/commit/97d231672763cdb5959a3b191e692a362f1b9e55
x_refsource_MISC
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2026-21525 Windows Remote Access Connection Manager Denial of Service VulnerabilityCVSS 6.2 · CISA KEV
- CVE-2026-65158 NVIDIA Video Codec SDK for Linux contains a vulnerability where a user may cause a NULL pointer dereference issueCVSS 7.5
- CVE-2026-65137 NVIDIA Jetson Linux for Linux contains a vulnerability where a local attacker may cause a NULL pointer dereference issueCVSS 7.1
- CVE-2026-125634 Samba: samba: null dereference in ad dc validated dns host name and spn checksCVSS 6.5
- CVE-2026-102169 Security Advisory 0194CVSS 6.5
- CVE-2026-59993 Picotls has NULL pointer dereference during handshake, when running as a clientCVSS 6.5
Elsewhere on this site
- Pycaevery CVE for this vendor
- Cryptography Projectevery CVE for this vendor
- CWE-476other pages naming this weakness
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.