Security mailing lists by PureSourceCode

CVE-2023-49083

HIGH 7.5CVSS 3.1

cryptography vulnerable to NULL-dereference when loading PKCS7 certificates

cryptography is a package designed to expose cryptographic primitives and recipes to Python developers. Calling load_pem_pkcs7_certificates or load_der_pkcs7_certificates could lead to a NULL-pointer dereference and segfault. Exploitation of this vulnerability poses a serious risk of Denial of Service (DoS) for any application attempting to deserialize a PKCS7 blob/certificate. The consequences extend to potential disruptions in system availability and stability. This vulnerability has been patched in version 41.0.6.

Published
29 Nov 2023
Last modified
10 Sep 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-476
Also known as
GHSA-jfhm-5ghh-2f97PYSEC-2023-254
Sources
NVDJSONOSV GHSA-jfhm-5ghh-2f97JSONOSV PYSEC-2023-254JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV PyPA CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 5.9 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV GitHub CVSS 3.1 MEDIUM 5.9 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD cryptography.io cryptography
cpe:2.3:a:cryptography.io:cryptography:*:*:*:*:*:python:*:*
>= 3.1, < 41.0.6 41.0.6
OSV PyPI cryptography >= 3.1, < 41.0.6 41.0.6

References

History

  • 25 Nov 2026 20:37 UTC · NVD: first stored (published 29 Nov 2023)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 29 Nov 2023)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 28 Nov 2023)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.