ADVISORIES

Vulnerability

CVE-2024-26130

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.

42 advisories report this vulnerability, across 11 ecosystems.

Advisories

  • ALSA-2025:15608

    Important: python3.12-cryptography security update

    CVE-2024-26130 AlmaLinux Updated 29 October 2026
  • CGA-266w-66rw-qq6w
    CVE-2024-26130 Chainguard Updated 5 November 2026
  • CGA-2gpw-7gxw-5q2q
    CVE-2024-26130 ChainguardWolfi Updated 5 November 2026
  • CGA-2xx9-mj62-fcp9
    CVE-2024-26130 ChainguardWolfi Updated 5 November 2026
  • CGA-4622-8x7f-p986
    CVE-2024-26130 ChainguardWolfi Updated 5 November 2026
  • CGA-4mgp-7v94-77r9
    CVE-2024-26130 ChainguardWolfi Updated 5 November 2026
  • CGA-5pw5-8gm7-j4pj
    CVE-2024-26130 ChainguardWolfi Updated 5 November 2026
  • CGA-5vrj-4w5g-2v8h
    CVE-2024-26130 ChainguardWolfi Updated 5 November 2026
  • CGA-6crm-j9xh-263q
    CVE-2024-26130 ChainguardWolfi Updated 5 November 2026
  • CGA-6pw7-4w75-66cr
    CVE-2024-26130 ChainguardWolfi Updated 5 November 2026
  • CGA-6v5w-gx3q-c92v
    CVE-2024-26130 ChainguardWolfi Updated 5 November 2026
  • CGA-82vf-5839-wcv5
    CVE-2024-26130 ChainguardWolfi Updated 27 October 2026
  • CGA-9wjj-c2r8-q4g2
    CVE-2024-26130 ChainguardWolfi Updated 5 November 2026
  • CGA-f7v7-56q3-fp34
    CVE-2024-26130 ChainguardWolfi Updated 5 November 2026
  • CGA-f8g8-64vm-chr9
    CVE-2024-26130 ChainguardWolfi Updated 5 November 2026
  • CGA-fvfj-m226-r2jv
    CVE-2024-26130 ChainguardWolfi Updated 5 November 2026
  • CGA-g5fg-f8g3-6j42
    CVE-2024-26130 ChainguardWolfi Updated 27 October 2026
  • CGA-hjw5-p394-wxm4
    CVE-2024-26130 ChainguardWolfi Updated 5 November 2026
  • CGA-jf23-6x48-wcpm
    CVE-2024-26130 ChainguardWolfi Updated 5 November 2026
  • CGA-qwf8-c766-mp37
    CVE-2024-26130 ChainguardWolfi Updated 5 November 2026
  • CGA-v73g-hj64-x522
    CVE-2024-26130 Chainguard Updated 5 November 2026
  • CGA-vr9g-f73r-792c
    CVE-2024-26130 Chainguard Updated 5 November 2026
  • CGA-wvjp-fwqv-mx56
    CVE-2024-26130 Chainguard Updated 5 November 2026
  • CGA-x4mw-38jr-4q5v
    CVE-2024-26130 ChainguardWolfi Updated 5 November 2026
  • CGA-xpqx-5jmw-g35q
    CVE-2024-26130 ChainguardWolfi Updated 5 November 2026
  • DEBIAN-CVE-2024-26130

    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…

    CVE-2024-26130 Debian Updated 2 November 2026
  • ELSA-2025-15608

    ELSA-2025-15608: python3.12-cryptography security update (IMPORTANT)

    Important CVE-2024-26130 Oracle Linux Updated 10 September 2025
  • ELSA-2025-20364

    ELSA-2025-20364: python3.12-cryptography security update (IMPORTANT)

    Important CVE-2024-26130 Oracle Linux Updated 6 June 2025
  • GHSA-6vqw-3v5j-54x4

    cryptography NULL pointer dereference with pkcs12.serialize_key_and_certificates when called with a non-matching certificate and private key and an hmac_hash override

    High CVE-2024-26130 PyPI Updated 10 September 2026
  • PYSEC-2024-225

    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…

    CVE-2024-26130 PyPI Updated 10 June 2026
  • RHSA-2024:3781

    Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.4 Product Security and Bug Fix Update

    CVE-2023-45288CVE-2023-45290CVE-2023-49083CVE-2023-50447 Red Hat Updated 24 November 2026
  • RHSA-2024:7987

    Red Hat Security Advisory: Satellite 6.15.4 Security Update

    CVE-2024-1135CVE-2024-24790CVE-2024-26130CVE-2024-41991 Red Hat Updated 24 November 2026
  • RHSA-2025:1335

    Red Hat Security Advisory: RHUI 4.11 security, bugfix, and enhancement update

    CVE-2024-1135CVE-2024-26130CVE-2024-27306CVE-2024-30251 Red Hat Updated 24 November 2026
  • RHSA-2025:15608

    Red Hat Security Advisory: python3.12-cryptography security update

    CVE-2024-26130 Red Hat Updated 24 November 2026
  • RLSA-2025:15608

    Important: python3.12-cryptography security update

    CVE-2024-26130 Rocky Linux Updated 10 October 2025
  • SUSE-SU-2024:0763-1

    Security update for python-cryptography

    CVE-2024-26130 SUSEopenSUSE Updated 4 February 2026
  • SUSE-SU-2024:2138-1

    Security update for python-cryptography

    CVE-2024-26130 SUSEopenSUSE Updated 4 February 2026
  • UBUNTU-CVE-2024-26130

    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…

    CVE-2024-26130 Ubuntu Updated 4 February 2026
  • USN-6673-1

    python-cryptography vulnerabilities

    CVE-2023-50782CVE-2024-26130 Ubuntu Updated 10 February 2026
  • USN-6673-3

    python-cryptography vulnerability

    CVE-2024-26130 Ubuntu Updated 10 February 2026
  • openSUSE-SU-2024:13710-1

    python310-cryptography-42.0.4-1.1 on GA media

    CVE-2024-26130 openSUSE Updated 4 February 2026
  • openSUSE-SU-2026:11468-1

    python313-cryptography-50.0.0-1.1 on GA media

    CVE-2020-25659CVE-2020-36242CVE-2023-38325CVE-2023-49083 openSUSE Updated 7 August 2026

References