CVE-2018-10903
Python packages · CVE-2018-10903
A flaw was found in python-cryptography versions between >=1.9.0 and <2.3. The finalize_with_tag API did not enforce a minimum tag length. If a user did not validate the input length prior to passing it to finalize_with_tag an attacker could craft an invalid payload with a shortened tag (e.g. 1 byte) such that they would have a 1 in 256 chance of passing the MAC check. GCM tag forgeries can cause key leakage.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 3.196% · 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 3.0 · 7.5 · published by redhatCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Assessment source · checked 2026-11-19T12:55:01.338Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T16:25:55.090Z | CISA KEV |
| cvss | verified | 2026-11-19T12:55:01.338Z | CVE Program |
| epss | verified | 2026-11-19T16:04:24.446Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:02.630Z | OSV |
| affected | verified | 2026-11-19T12:55:01.338Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:55:01.338Z | CVE Program |
Affected versions and configuration
[UNKNOWN] python-cryptography; default status: unknown: 2.3 [affected; scheme: unspecified]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "[UNKNOWN]",
"product": "python-cryptography",
"versions": [
{
"status": "affected",
"version": "2.3"
}
]
}
],
"additionalContainers": [
{
"title": "CVE Program Container",
"references": [
{
"url": "https://access.redhat.com/errata/RHSA-2018:3600",
"name": "RHSA-2018:3600",
"tags": [
"vendor-advisory",
"x_refsource_REDHAT",
"x_transferred"
]
},
{
"url": "https://usn.ubuntu.com/3720-1/",
"name": "USN-3720-1",
"tags": [
"vendor-advisory",
"x_refsource_UBUNTU",
"x_transferred"
]
},
{
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10903",
"tags": [
"x_refsource_CONFIRM",
"x_transferred"
]
},
{
"url": "https://github.com/pyca/cryptography/pull/4342/commits/688e0f673bfbf43fa898994326c6877f00ab19ef",
"tags": [
"x_refsource_CONFIRM",
"x_transferred"
]
}
],
"providerMetadata": {
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE",
"dateUpdated": "2024-08-05T07:54:36.330Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-fcf9-3qw3-gxmj",
"aliases": [
"CVE-2018-10903",
"PYSEC-2018-52"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "1.9.0"
},
{
"fixed": "2.3"
}
]
}
],
"package": {
"name": "cryptography",
"purl": "pkg:pypi/cryptography",
"ecosystem": "PyPI"
},
"versions": [
"1.9",
"2.0",
"2.0.1",
"2.0.2",
"2.0.3",
"2.1",
"2.1.1",
"2.1.2",
"2.1.3",
"2.1.4",
"2.2",
"2.2.1",
"2.2.2"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/07/GHSA-fcf9-3qw3-gxmj/GHSA-fcf9-3qw3-gxmj.json"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
},
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2018-10903",
"type": "ADVISORY"
},
{
"url": "https://github.com/pyca/cryptography/pull/4342",
"type": "WEB"
},
{
"url": "https://github.com/pyca/cryptography/commit/d4378e42937b56f473ddade2667f919ce32208cb",
"type": "WEB"
},
{
"url": "https://access.redhat.com/errata/RHSA-2018:3600",
"type": "WEB"
},
{
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10903",
"type": "WEB"
},
{
"url": "https://github.com/advisories/GHSA-fcf9-3qw3-gxmj",
"type": "ADVISORY"
},
{
"url": "https://github.com/pyca/cryptography",
"type": "PACKAGE"
},
{
"url": "https://github.com/pypa/advisory-database/tree/main/vulns/cryptography/PYSEC-2018-52.yaml",
"type": "WEB"
},
{
"url": "https://usn.ubuntu.com/3720-1",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-20"
],
"severity": "HIGH",
"github_reviewed": true,
"nvd_published_at": null,
"github_reviewed_at": "2020-06-16T21:34:18Z"
}
}Archived source JSONOSV · osv · full conditions
{
"id": "PYSEC-2018-52",
"aliases": [
"CVE-2018-10903",
"GHSA-fcf9-3qw3-gxmj"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "1.9"
},
{
"fixed": "2.3"
}
]
}
],
"package": {
"name": "cryptography",
"purl": "pkg:pypi/cryptography",
"ecosystem": "PyPI"
},
"versions": [
"1.9",
"2.0",
"2.0.1",
"2.0.2",
"2.0.3",
"2.1",
"2.1.1",
"2.1.2",
"2.1.3",
"2.1.4",
"2.2",
"2.2.1",
"2.2.2"
],
"database_specific": {
"source": "https://github.com/pypa/advisory-database/blob/main/vulns/cryptography/PYSEC-2018-52.yaml"
}
}
],
"severity": [],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://github.com/pyca/cryptography/pull/4342/commits/688e0f673bfbf43fa898994326c6877f00ab19ef",
"type": "WEB"
},
{
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10903",
"type": "REPORT"
},
{
"url": "https://usn.ubuntu.com/3720-1/",
"type": "WEB"
},
{
"url": "https://access.redhat.com/errata/RHSA-2018:3600",
"type": "ADVISORY"
},
{
"url": "https://github.com/advisories/GHSA-fcf9-3qw3-gxmj",
"type": "ADVISORY"
}
],
"relatedGitRanges": [],
"database_specific": {}
}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 | 2.3 | 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: 2018-07-31T18:28:09.000Z
Source modification: 2024-09-13T18:23:23.420ZDocument fingerprint
f63ca43f6d59de8d8094f6d85f82bdcbc431605aa0b008f9f57a585e04f62d57 - OSVConsulted: 2026-11-19T12:52:02.630ZArchived source JSON
Source publication: 2018-07-30T16:29:00.000Z
Source modification: 2023-11-08T03:59:44.669ZDocument fingerprint
f63ca43f6d59de8d8094f6d85f82bdcbc431605aa0b008f9f57a585e04f62d57 - CISA KEVConsulted: 2026-11-19T16:25:55.090ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - CVE ProgramConsulted: 2026-11-19T12:55:01.338ZArchived source JSON
Source publication: 2018-07-30T15:00:00.000Z
Source modification: 2024-08-05T07:54:36.330ZDocument fingerprint
460f014119e0c785b2a6b264967ddd17d459d34ee4a32812313e032d1309eecf - FIRST EPSSConsulted: 2026-11-19T16:04:24.446ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
8fb95fb2535355e17221eef01831222a70d8f25cae200199cb58b66e7a82b6e7
Official status history
- UNKNOWN → PUBLISHED · · evidence