python-cryptography — security advisory
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.
- Products
- python-cryptography
- Affected versions
- 38.0.4-3
- Fixed versions
- 38.0.4-3+deb12u1, 41.0.7-1
- CVEs
- CVE-2023-49083
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 16:12 UTC · Revision 1
Source evidence
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.
osv:DEBIAN-CVE-2023-49083
python-cryptography
Fixed versions: 38.0.4-3+deb12u1
python-cryptography
Fixed versions: 41.0.7-1
python-cryptography
Fixed versions: 41.0.7-1
Complete source record
{
"id": "894689813e47d39d7e376f9e7f84d1f7daee4af6a57b7e9a255406c35f846005",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2023-49083",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2023-49083",
"summary": "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.",
"evidence": "osv:DEBIAN-CVE-2023-49083",
"products": [
{
"name": {
"value": "python-cryptography",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "38.0.4-3+deb12u1",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": [
{
"value": "38.0.4-3",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "python-cryptography",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "41.0.7-1",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "python-cryptography",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "41.0.7-1",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "DEBIAN-CVE-2023-49083",
"aliases": [
"DEBIAN-CVE-2023-49083"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "38.0.4-3+deb12u1"
}
]
}
],
"package": {
"name": "python-cryptography",
"purl": "pkg:deb/debian/python-cryptography?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"versions": [
"38.0.4-3"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2023-49083.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "41.0.7-1"
}
]
}
],
"package": {
"name": "python-cryptography",
"purl": "pkg:deb/debian/python-cryptography?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2023-49083.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "41.0.7-1"
}
]
}
],
"package": {
"name": "python-cryptography",
"purl": "pkg:deb/debian/python-cryptography?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2023-49083.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-26T18:02:50.567088333Z",
"provider": "osv",
"upstream": [
"CVE-2023-49083"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2023-49083"
]
},
"related_cves": [
{
"value": "CVE-2023-49083",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 456974,
"published_at": "2023-11-29T19:15:07.967+00:00"
}