CVE-2026-69247
cryptography: PKCS#7 EnvelopedData decryption exposes a Bleichenbacher oracle through distinguishable errors and timing
cryptography is a package designed to expose cryptographic primitives and recipes to Python developers. From 44.0.0 until 50.0.0, pkcs7_decrypt_der, pkcs7_decrypt_pem, and pkcs7_decrypt_smime reported the outcome of decrypting a RecipientInfo's encryptedKey in several distinguishable ways, one of which disclosed the exact length recovered from the RSA operation. The same distinction was also observable by timing. An application that decrypts attacker-supplied EnvelopedData and reflects the outcome gives the attacker a Bleichenbacher oracle against the content-encryption key. Decryption ran as RSA PKCS#1 v1.5 decrypt of encryptedKey, build an AES cipher from the result, then AES-CBC decrypt and PKCS#7 unpad. Invalid RSA padding, a valid padding with a bad key length, a correct length with a wrong key, and the real key each failed or succeeded differently. Case 1 is reachable only where the linked library lacks implicit rejection: OpenSSL 3.0 and 3.1, LibreSSL, and BoringSSL. Exploitation requires a service that auto-decrypts untrusted EnvelopedData matching the victim certificate and answers adaptively at high volume, such as an S/MIME gateway or mail filter. This issue is fixed in 50.0.0.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 0.274% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T16:25:55.090Z. Public exploit availability is not used to set this status.
CVSS 4.0 · 8.2 · published by GitHub_MCVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Assessment source · checked 2026-11-19T12:02:07.910Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T16:25:55.090Z | CISA KEV |
| cvss | verified | 2026-11-19T12:02:07.910Z | CVE Program |
| epss | verified | 2026-11-19T16:04:54.501Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:02.630Z | OSV |
| affected | verified | 2026-11-19T12:02:07.910Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:02:07.910Z | CVE Program |
Affected versions and configuration
pyca cryptography; default status: unknown: >= 44.0.0, < 50.0.0 [affected; scheme: unspecified]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
OSV · osv · full conditions
{
"id": "GHSA-g6cj-pr64-35w5",
"aliases": [
"CVE-2026-69247",
"PYSEC-2026-3552"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "44.0.0"
},
{
"fixed": "50.0.0"
}
]
}
],
"package": {
"name": "cryptography",
"purl": "pkg:pypi/cryptography",
"ecosystem": "PyPI"
},
"versions": [
"44.0.0",
"44.0.1",
"44.0.2",
"44.0.3",
"45.0.0",
"45.0.1",
"45.0.2",
"45.0.3",
"45.0.4",
"45.0.5",
"45.0.6",
"45.0.7",
"46.0.0",
"46.0.1",
"46.0.2",
"46.0.3",
"46.0.4",
"46.0.5",
"46.0.6",
"46.0.7",
"47.0.0",
"48.0.0",
"48.0.1",
"49.0.0"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/08/GHSA-g6cj-pr64-35w5/GHSA-g6cj-pr64-35w5.json"
}
}
],
"severity": [
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://github.com/pyca/cryptography/security/advisories/GHSA-g6cj-pr64-35w5",
"type": "WEB"
},
{
"url": "https://github.com/pyca/cryptography/pull/15369",
"type": "WEB"
},
{
"url": "https://github.com/pyca/cryptography/commit/53fccd93413a8d7f07d6d8999681f27b75cffa3f",
"type": "WEB"
},
{
"url": "https://github.com/pyca/cryptography",
"type": "PACKAGE"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-208",
"CWE-209"
],
"severity": "HIGH",
"github_reviewed": true,
"nvd_published_at": null,
"github_reviewed_at": "2026-08-03T21:17:00Z"
}
}Archived source JSONOSV · osv · full conditions
{
"id": "PYSEC-2026-3552",
"aliases": [
"CVE-2026-69247",
"GHSA-g6cj-pr64-35w5"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "44.0.0"
},
{
"fixed": "50.0.0"
}
]
}
],
"package": {
"name": "cryptography",
"purl": "pkg:pypi/cryptography",
"ecosystem": "PyPI"
},
"versions": [
"44.0.0",
"44.0.1",
"44.0.2",
"44.0.3",
"45.0.0",
"45.0.1",
"45.0.2",
"45.0.3",
"45.0.4",
"45.0.5",
"45.0.6",
"45.0.7",
"46.0.0",
"46.0.1",
"46.0.2",
"46.0.3",
"46.0.4",
"46.0.5",
"46.0.6",
"46.0.7",
"47.0.0",
"48.0.0",
"48.0.1",
"49.0.0"
],
"database_specific": {
"source": "https://github.com/pypa/advisory-database/blob/main/vulns/cryptography/PYSEC-2026-3552.yaml"
}
}
],
"severity": [
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://github.com/pyca/cryptography/security/advisories/GHSA-g6cj-pr64-35w5",
"type": "WEB"
},
{
"url": "https://github.com/pyca/cryptography/pull/15369",
"type": "WEB"
},
{
"url": "https://github.com/pyca/cryptography/commit/53fccd93413a8d7f07d6d8999681f27b75cffa3f",
"type": "WEB"
},
{
"url": "https://github.com/pyca/cryptography",
"type": "PACKAGE"
},
{
"url": "https://pypi.org/project/cryptography",
"type": "PACKAGE"
},
{
"url": "https://github.com/advisories/GHSA-g6cj-pr64-35w5",
"type": "ADVISORY"
},
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-69247",
"type": "ADVISORY"
}
],
"relatedGitRanges": [],
"database_specific": {}
}Archived source JSONCVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "pyca",
"product": "cryptography",
"versions": [
{
"status": "affected",
"version": ">= 44.0.0, < 50.0.0"
}
]
}
],
"additionalContainers": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2026-69247",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2026-08-04T14:09:18.204828Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-08-04T14:09:24.615Z"
}
}
]
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | PyPI / package | cryptography | Not a distribution channel | 50.0.0 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- OSVConsulted: 2026-11-19T12:52:02.630ZArchived source JSON
Source publication: 2026-08-03T21:17:00.000Z
Source modification: 2026-09-10T03:50:53.610ZDocument fingerprint
f63ca43f6d59de8d8094f6d85f82bdcbc431605aa0b008f9f57a585e04f62d57 - OSVConsulted: 2026-11-19T12:52:02.630ZArchived source JSON
Source publication: 2026-08-04T11:34:47.697Z
Source modification: 2026-08-04T14:30:15.036ZDocument fingerprint
f63ca43f6d59de8d8094f6d85f82bdcbc431605aa0b008f9f57a585e04f62d57 - CVE ProgramConsulted: 2026-11-19T12:02:07.910ZArchived source JSON
Source publication: 2026-08-03T21:16:32.047Z
Source modification: 2026-08-04T14:09:24.615ZDocument fingerprint
561e06ce20d6fc2e4390ba519d54d0ff3b7742ff744e72f311d488bc8243bc7a - CISA KEVConsulted: 2026-11-19T16:25:55.090ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - FIRST EPSSConsulted: 2026-11-19T16:04:54.501ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
e15d142fc562fc676e45e0e74f04a724210a64d0886f92dbe1f2de8991097e5e
Official status history
- UNKNOWN → PUBLISHED · · evidence