---
cve: "CVE-2024-26130"
severity: "HIGH"
cvss: 7.5
epss: "0.8%"
vendor: "pyca"
kev: false
exploited: false
published: "2024-02-21 17:15:09"
tags: [cve, security, high]
source: tsecurity.de CVE-Dossier
exported: "2026-09-29T09:07:26+02:00"
---

# CVE-2024-26130

> 7.5 HIGH · 🧪 PoC

## Beschreibung

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.

## CISA-Anreicherung (vulnrichment/ADP)

- CISA-SSVC (Coordinator, v2.0.3):
  - Exploitation: **none**
  - Automatable: **yes**
  - Technical Impact: **partial**

## CVSS-Vektor

```
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
```

| Metrik | Wert | Bewertung |
|---|---|---|
| AV Angriffsvektor | Netzwerk | bad |
| AC Komplexität | Gering | bad |
| PR Privilegien | Keine | bad |
| UI Interaktion | Keine | bad |
| S Scope | Unverändert | good |
| C Vertraulichkeit | Keine | good |
| I Integrität | Keine | good |
| A Verfügbarkeit | Hoch | bad |

## Patch verfügbar (OSV)

- fe18470f7d05f963e7267e34fdf985d81ea6ceea (Commit)
- 97d231672763cdb5959a3b191e692a362f1b9e55 (Commit)

## BSI-Hinweise (deutsch)

- [Red Hat Enterprise Linux (python-cryptography): Schwachstelle ermöglicht Denial of Service](https://wid.cert-bund.de/portal/wid/sicherheitshinweis/WID-SEC-W-2025-2025)
- [Dell PowerProtect Data Domain: Mehrere Schwachstellen](https://wid.cert-bund.de/portal/wid/sicherheitshinweis/WID-SEC-W-2025-0225)
- [Dell PowerProtect Data Domain: Mehrere Schwachstellen](https://wid.cert-bund.de/portal/wid/sicherheitshinweis/WID-SEC-W-2024-3377)

## Referenzen

- <https://github.com/pyca/cryptography/security/advisories/GHSA-6vqw-3v5j-54x4>
- <https://github.com/pyca/cryptography/pull/10423>
- <https://github.com/pyca/cryptography/commit/97d231672763cdb5959a3b191e692a362f1b9e55>

---
_Exportiert aus dem [tsecurity.de CVE-Dossier](https://tsecurity.de/cve?cve=CVE-2024-26130) · Datenquellen: EUVD (ENISA), NVD, OSV, CISA KEV, FIRST EPSS, Exploit-DB, BSI WID (CSAF)_
