---
id: GHSA-v8gr-m533-ghj9
title: Vulnerable OpenSSL included in cryptography wheels
summary: Vulnerable OpenSSL included in cryptography wheels
severity: low
vendor: cryptography
product: cryptography
ecosystem: pip
affected:
  - 'cryptography >= 2.5, < 41.0.4'
patched:
  - cryptography 41.0.4
published: '2023-09-21'
updated: '2026-09-10'
sourceUpdated: '2026-09-10T03:50:03.291941916Z'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-v8gr-m533-ghj9'
references:
  - url: >-
      https://github.com/pyca/cryptography/security/advisories/GHSA-v8gr-m533-ghj9
  - url: >-
      https://github.com/pyca/cryptography/commit/fc11bce6930e591ce26a2317b31b9ce2b3e25512
  - url: 'https://github.com/pyca/cryptography'
tags:
  - osv
  - pip
ingestedAt: '2026-09-12T03:13:01.729Z'
---

## Overview

pyca/cryptography's wheels include a statically linked copy of OpenSSL. The versions of OpenSSL included in cryptography 2.5-41.0.3 are vulnerable to several security issues. More details about the vulnerabilities themselves can be found in https://www.openssl.org/news/secadv/20230908.txt.

If you are building cryptography source ("sdist") then you are responsible for upgrading your copy of OpenSSL. Only users installing from wheels built by the cryptography project (i.e., those distributed on PyPI) need to update their cryptography versions.

## Affected packages

- `cryptography >= 2.5, < 41.0.4`

## Remediation

Upgrade to a patched release:

- `cryptography 41.0.4`
