CVE-2022-45907
Python packages · CVE-2022-45907
In PyTorch before trunk/89695, torch.jit.annotations.parse_type_line can cause arbitrary code execution because eval is used unsafely.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 1.332% · 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.
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T16:25:55.090Z | CISA KEV |
| cvss | unknown | unknown | unknown |
| epss | verified | 2026-11-19T16:04:35.462Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:22.826Z | OSV |
| affected | verified | 2026-11-19T12:56:45.707Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:56:45.707Z | CVE Program |
Affected versions and configuration
n/a n/a; default status: unknown: n/a [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": "n/a",
"product": "n/a",
"versions": [
{
"status": "affected",
"version": "n/a"
}
]
}
],
"additionalContainers": [
{
"title": "CVE Program Container",
"references": [
{
"url": "https://github.com/pytorch/pytorch/issues/88868",
"tags": [
"x_transferred"
]
},
{
"url": "https://github.com/pytorch/pytorch/commit/767f6aa49fe20a2766b9843d01e3b7f7793df6a3",
"tags": [
"x_transferred"
]
}
],
"providerMetadata": {
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE",
"dateUpdated": "2024-08-03T14:24:03.235Z"
}
},
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"cvssV3_1": {
"scope": "UNCHANGED",
"version": "3.1",
"baseScore": 9.8,
"attackVector": "NETWORK",
"baseSeverity": "CRITICAL",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"integrityImpact": "HIGH",
"userInteraction": "NONE",
"attackComplexity": "LOW",
"availabilityImpact": "HIGH",
"privilegesRequired": "NONE",
"confidentialityImpact": "HIGH"
}
},
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2022-45907",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "total"
}
],
"version": "2.0.3",
"timestamp": "2025-04-25T19:15:34.545254Z"
}
}
}
],
"problemTypes": [
{
"descriptions": [
{
"lang": "en",
"type": "CWE",
"cweId": "CWE-94",
"description": "CWE-94 Improper Control of Generation of Code ('Code Injection')"
}
]
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2025-04-25T19:16:18.057Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-47fc-vmwq-366v",
"aliases": [
"BIT-pytorch-2022-45907",
"CVE-2022-45907",
"PYSEC-2022-43015"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.13.1"
}
]
}
],
"package": {
"name": "torch",
"purl": "pkg:pypi/torch",
"ecosystem": "PyPI"
},
"versions": [
"1.0.0",
"1.0.1",
"1.1.0",
"1.10.0",
"1.10.1",
"1.10.2",
"1.11.0",
"1.12.0",
"1.12.1",
"1.13.0",
"1.2.0",
"1.3.0",
"1.3.1",
"1.4.0",
"1.5.0",
"1.5.1",
"1.6.0",
"1.7.0",
"1.7.1",
"1.8.0",
"1.8.1",
"1.9.0",
"1.9.1"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/11/GHSA-47fc-vmwq-366v/GHSA-47fc-vmwq-366v.json",
"last_known_affected_version_range": "<= 1.13.0"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
},
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2022-45907",
"type": "ADVISORY"
},
{
"url": "https://github.com/pytorch/pytorch/issues/88868",
"type": "WEB"
},
{
"url": "https://github.com/pytorch/pytorch/issues/89855",
"type": "WEB"
},
{
"url": "https://github.com/pytorch/pytorch/pull/89189",
"type": "WEB"
},
{
"url": "https://github.com/pytorch/pytorch/commit/767f6aa49fe20a2766b9843d01e3b7f7793df6a3",
"type": "WEB"
},
{
"url": "https://github.com/pypa/advisory-database/tree/main/vulns/torch/PYSEC-2022-43015.yaml",
"type": "WEB"
},
{
"url": "https://github.com/pytorch/pytorch",
"type": "PACKAGE"
},
{
"url": "https://github.com/pytorch/pytorch/releases/tag/v1.13.1",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-77"
],
"severity": "CRITICAL",
"github_reviewed": true,
"nvd_published_at": "2022-11-26T02:15:00Z",
"github_reviewed_at": "2022-12-02T22:28:40Z"
}
}Archived source JSONOSV · osv · full conditions
{
"id": "PYSEC-2022-43015",
"aliases": [
"BIT-pytorch-2022-45907",
"CVE-2022-45907",
"GHSA-47fc-vmwq-366v"
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/pytorch/pytorch",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "767f6aa49fe20a2766b9843d01e3b7f7793df6a3"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.13.1"
}
]
}
],
"package": {
"name": "torch",
"purl": "pkg:pypi/torch",
"ecosystem": "PyPI"
},
"versions": [
"1.0.0",
"1.0.1",
"1.0.1.post2",
"1.1.0",
"1.1.0.post2",
"1.10.0",
"1.10.1",
"1.10.2",
"1.11.0",
"1.12.0",
"1.12.1",
"1.13.0",
"1.2.0",
"1.3.0",
"1.3.0.post2",
"1.3.1",
"1.4.0",
"1.5.0",
"1.5.1",
"1.6.0",
"1.7.0",
"1.7.1",
"1.8.0",
"1.8.1",
"1.9.0",
"1.9.1",
"ciflow/periodic/csl/test87519",
"ciflow/periodic/csltest88761",
"ciflow/periodic/csltest88275",
"ciflow/periodic/317eeb8",
"ciflow/periodic/2a6d37d",
"ciflow/periodic/3c32",
"ciflow/periodic/054a2fd",
"ciflow/periodic/sha-ec5b83",
"malfet/tag-2ef5611",
"malfet/tag-317b1a0",
"malfet/tag-ec6f767",
"nightly-binary",
"v1.8.0-rc1",
"v1.4.0a0",
"v1.3.0a0",
"v1.2.0a0",
"v1.1.0a0",
"v1.0rc1",
"v1.0rc0",
"v1.0.0a0",
"v0.1.11",
"v0.1.10",
"v0.1.9",
"v0.1.8",
"v0.1.7",
"v0.1.6",
"v0.1.5",
"v0.1.4",
"v0.1.3",
"v0.1.2",
"v0.1.1"
],
"database_specific": {
"source": "https://github.com/pypa/advisory-database/blob/main/vulns/torch/PYSEC-2022-43015.yaml"
}
}
],
"severity": [],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://github.com/pytorch/pytorch/commit/767f6aa49fe20a2766b9843d01e3b7f7793df6a3",
"type": "FIX"
},
{
"url": "https://github.com/pytorch/pytorch/issues/88868",
"type": "EVIDENCE"
},
{
"url": "https://github.com/pytorch/pytorch/issues/88868",
"type": "REPORT"
},
{
"url": "https://github.com/pytorch/pytorch/issues/88868",
"type": "FIX"
},
{
"url": "https://github.com/advisories/GHSA-47fc-vmwq-366v",
"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 | torch | Not a distribution channel | 1.13.1 | 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:22.826ZArchived source JSON
Source publication: 2022-11-26T03:30:27.000Z
Source modification: 2024-11-13T23:01:42.831ZDocument fingerprint
243300a06693c5fdacf54ea902c0850a6bf9245d7ec7a35904810c5eb34314d8 - OSVConsulted: 2026-11-19T12:52:22.826ZArchived source JSON
Source publication: 2022-11-26T02:15:00.000Z
Source modification: 2026-06-10T17:51:27.754ZDocument fingerprint
243300a06693c5fdacf54ea902c0850a6bf9245d7ec7a35904810c5eb34314d8 - CVE ProgramConsulted: 2026-11-19T12:56:45.707ZArchived source JSON
Source publication: 2022-11-26T00:00:00.000Z
Source modification: 2025-04-25T19:16:18.057ZDocument fingerprint
9ac1ff153c5b3060014d5b13f9fb5343d15fc984721e192b37c261b97d6fc97d - 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:35.462ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
b63cbe7bc63e0501e688ddd23bd124e41d9f115ff6b890919f13eaaeebc955fc
Official status history
- UNKNOWN → PUBLISHED · · evidence