CVSS 3.1
7.5 highCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HHigh (7.5) in cryptography.io cryptography. EPSS 0.8% estimated probability of exploitation activity in the next 30 days. Fixed in cryptography 42.0.4.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:Hcryptography (PyPI): fixed in 42.0.4Explain CVE-2024-26130 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-26130?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-26130?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-26130 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| cryptography.io:cryptography | from 38.0.0 before 42.0.4 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-6vqw-3v5j-54x4 | PyPI | cryptography | >=38.0.0 <42.0.4 | 42.0.4 |
| PYSEC-2024-225 | PyPI | cryptography | >=38.0.0 <42.0.4 | 42.0.4 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12 | python-cryptography | 38.0.4-3+deb12u1 | DEBIAN-CVE-2024-26130 |
| Debian | 13, 14 | python-cryptography | 42.0.5-1 | DEBIAN-CVE-2024-26130 |
| Ubuntu | 20.04:LTS | python-cryptography | 2.8-3ubuntu0.3 | USN-6673-1 |
| Ubuntu | 22.04:LTS | python-cryptography | 3.4.8-1ubuntu2.2 | USN-6673-1 |
| Ubuntu | 24.04:LTS | python-cryptography | 41.0.7-4ubuntu0.1 | UBUNTU-CVE-2024-26130 USN-6673-3 |
| Ubuntu | Pro:18.04:LTS | python-cryptography | 2.1.4-1ubuntu1.4+esm1 | USN-6673-1 |
| Red Hat | ansible_automation_platform:2.4::el8 | automation-controller-venv-tower | 0:4.5.7-1.el8ap | RHSA-2024:3781 |
| Red Hat | ansible_automation_platform:2.4::el8 | automation-hub, python39-galaxy-ng, python3x-galaxy-ng | 0:4.9.2-1.el8ap | RHSA-2024:3781 |
| Red Hat | ansible_automation_platform:2.4::el8 | python39-aiohttp, python3x-aiohttp, python39-aiohttp-debuginfo and 1 more | 0:3.9.5-1.el8ap | RHSA-2024:3781 |
| Red Hat | ansible_automation_platform:2.4::el8 | python39-gunicorn, python3x-gunicorn | 0:22.0.0-1.el8ap | RHSA-2024:3781 |
| Red Hat | ansible_automation_platform:2.4::el8 | python39-pillow, python3x-pillow, python39-pillow-debuginfo and 1 more | 0:10.3.0-1.el8ap | RHSA-2024:3781 |
| Red Hat | ansible_automation_platform:2.4::el8 | python39-pydantic, python3x-pydantic | 0:1.10.15-1.el8ap | RHSA-2024:3781 |
| Red Hat | ansible_automation_platform:2.4::el8 | python39-social-auth-app-django, python3x-social-auth-app-django | 0:5.4.1-1.el8ap | RHSA-2024:3781 |
| Red Hat | ansible_automation_platform:2.4::el8 | python39-sqlparse, python3x-sqlparse | 0:0.5.0-1.el8ap | RHSA-2024:3781 |
| Red Hat | ansible_automation_platform:2.4::el8, ansible_automation_platform_developer:2.4::el8 | python39-idna, python3x-idna | 0:3.7-1.el8ap | RHSA-2024:3781 |
| Red Hat | ansible_automation_platform:2.4::el8, ansible_automation_platform_developer:2.4::el8 | python39-requests, python3x-requests | 0:2.32.2-1.el8ap | RHSA-2024:3781 |
| Red Hat | ansible_automation_platform:2.4::el8, ansible_automation_platform_developer:2.4::el8, ansible_automation_platform_inside:2.4::el8 | python39-black, python3x-black | 0:22.8.0-2.el8ap | RHSA-2024:3781 |
| Red Hat | ansible_automation_platform:2.4::el8, ansible_automation_platform_developer:2.4::el8, ansible_automation_platform_inside:2.4::el8 | python39-cryptography, python3x-cryptography, python39-cryptography-debuginfo and 1 more | 0:42.0.5-1.el8ap | RHSA-2024:3781 |
| 30 more for Red Hat in the JSON and on Red Hat's page. | ||||
| SUSE | Linux Enterprise Module for Python 3 15 SP5 | python-cryptography | 41.0.3-150400.16.15.1 | SUSE-SU-2024:0763-1 |
| SUSE | Linux Enterprise Module for Python 3 15 SP6 | python-cryptography | 41.0.3-150600.23.3.1 | SUSE-SU-2024:2138-1 |
| openSUSE | Leap 15.5 | python-cryptography | 41.0.3-150400.16.15.1 | SUSE-SU-2024:0763-1 |
| openSUSE | Leap 15.6 | python-cryptography | 41.0.3-150600.23.3.1 | SUSE-SU-2024:2138-1 |
| openSUSE | Tumbleweed | python-cryptography | 42.0.4-1.1 | openSUSE-SU-2024:13710-1 |
| openSUSE | Tumbleweed | python-cryptography | 50.0.0-1.1 | openSUSE-SU-2026:11468-1 |
| AlmaLinux | 9 | python3.12-cryptography | 41.0.7-2.el9_6.1 | ALSA-2025:15608 |
| Rocky Linux | 9 | python3.12-cryptography | 0:41.0.7-2.el9_6.1 | RLSA-2025:15608 |
| Alpaquita | 23 | py3-cryptography | no fix listed | BELL-CVE-2024-26130 |
| Alpaquita | stream | py3-cryptography | 42.0.5-r0 | BELL-CVE-2024-26130 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpaquita.
Red Hat rates this Important.
The vulnerability in python-cryptography that leads to a NULL pointer dereference during the pkcs12.serialize_key_and_certificates function execution is classified as a moderate severity issue. While the vulnerability can result in a denial-of-service (DoS) by crashing the Python process, it requires specific conditions to trigger: a mismatch between the provided certificate's public key and private key, coupled with the use of an encryption algorithm with hmac_hash set.
The exploitation of this vulnerability does not directly lead to arbitrary code execution or data leakage. Instead, it causes a controlled termination of the Python process, which, although disruptive, is not as critical as other vulnerabilities that can lead to unauthorized access, data corruption, or code injection. However, it's important to note that denial-of-service conditions can still have operational impacts, disrupting services or causing system instability.
This issue does not affect Red Hat Enterprise Linux 6, 7, 8 and 9 as we dont ship the vulnerable code and package version.
Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Ansible Automation Platform 2.4 for RHEL 8 | python3x-cryptography-0:42.0.5-1.el8ap | Fixed 2024-06-10 | RHSA-2024:3781 |
| Red Hat Ansible Automation Platform 2.4 for RHEL 9 | python-cryptography-0:42.0.5-1.el9ap | Fixed 2024-06-10 | RHSA-2024:3781 |
| Red Hat Enterprise Linux 9 | python3.12-cryptography-0:41.0.7-2.el9_6.1 | Fixed 2025-09-10 | RHSA-2025:15608 |
| Red Hat Satellite 6.15 for RHEL 8 | python-cryptography-0:42.0.8-1.el8pc | Fixed 2024-10-10 | RHSA-2024:7987 |
| Red Hat Satellite 6.15 for RHEL 8 | rubygem-foreman_theme_satellite-0:13.3.0-0.1.el8sat | Fixed 2024-10-10 | RHSA-2024:7987 |
| RHUI 4 for RHEL 8 | python-cryptography-0:42.0.8-1.el8ui | Fixed 2025-02-12 | RHSA-2025:1335 |
| Red Hat Enterprise Linux 7 | python-cryptography | Not affected | |
| Red Hat Enterprise Linux 8 | python39:3.9/python-cryptography | Not affected | |
| Red Hat Enterprise Linux 8 | python-cryptography | Not affected | |
| Red Hat Enterprise Linux 9 | python3.11-cryptography | Not affected | |
| Red Hat Enterprise Linux 9 | python-cryptography | Not affected |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-26130.