CVE-2022-48565
A public proof of concept exists; no exploitation attested.
- Published2023-08-22
- Fixed in3.9.1 · 3.8.7 · 3.7.10 · 3.6.13
- WeaknessCWE-611
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
Description
An XML External Entity (XXE) issue was discovered in Python through 3.9.1. The plistlib module no longer accepts entity declarations in XML plist files to avoid XML vulnerabilities.
Timeline
dates in UTC- 2023-08-2219:16CVE publishedNVD
Versions per branch
NVD · OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 3.9 | ≥ 3.9.0, < 3.9.1 | 3.9.1 | NVD · OSV |
| 3.8 | ≥ 3.8.0, < 3.8.7 | 3.8.7 | NVD · OSV |
| 3.7 | ≥ 3.7.0, < 3.7.10 | 3.7.10 | NVD · OSV |
| 3.6 | < 3.6.13 | 3.6.13 | NVD · OSV |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 10.0 | = 10.0 | no fix published | NVD |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- babelRocky Linux:8all versions · fixed in 0:2.5.1-10.module+el8.9.0+1531+a18208f5
- babelRed Hat:enterprise_linux:8::appstreamall versions · fixed in 0:2.5.1-10.module+el8.9.0+19487+7dc18407and 1 other package
- babelAlmaLinux:8all versions · fixed in 2.5.1-10.module_el8.6.0+2781+fed64c13and 1 other package
- CythonRocky Linux:8all versions · fixed in 0:0.28.1-7.module+el8.9.0+1531+a18208f5
- CythonRed Hat:enterprise_linux:8::appstreamall versions · fixed in 0:0.28.1-7.module+el8.9.0+19487+7dc18407and 3 other packages
- numpyRocky Linux:8all versions · fixed in 1:1.14.2-16.module+el8.9.0+1531+a18208f5
- platform-pythonTuxCare:CentOS:8.5all versions · fixed in 3.6.8-42.el8.tuxcare.els3and 7 other packages
- platform-pythonTuxCare:CentOS:8.4all versions · fixed in 3.6.8-40.el8_4.tuxcare.els3and 7 other packages
186 more package ranges on OSV.dev
Vendor advisories
python: XML External Entity in XML processing plistlib module
python as a component of Red Hat Enterprise Linux 6 · python-devel as a component of Red Hat Enterprise Linux 6 · python-libs as a component of Red Hat Enterprise Linux 6 · +36 more
Red Hat Security Advisory: python27:2.7 security update
Fix
- Update Python to 3.9.1 · 3.8.7 · 3.7.10 · 3.6.13
- Vendor fix Red Hat Product Security RHSA-2024:2987 · 264 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
- Workaround from the vendor Red Hat Product Security RHSA-2024:2987 · 264 productsThe XML modules in python are not secure against erroneous or maliciously constructed data. If you need to parse untrusted or unauthenticated data, see the XML vulnerabilities and the defusedxml package sections. https://docs.python.org/dev/library/xml.html
- No fix available, says the vendor Red Hat Product Security CVE-2022-48565 · 8 productsAffected
- No fix planned, says the vendor Red Hat Product Security CVE-2022-48565 · 23 productsOut of support scope
- No fix planned, says the vendor Red Hat Product Security CVE-2022-48565 · 8 productsWill not fix
Advisories and patches
- bugs.python.orgPatch · Vendor Advisory
Detection
read 2026-11-01 01:02 UTC- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- CISA-ADP (SSVC)PoC stated2024-10-03
- PoC-in-GitHub1 repository, unverifiedknown since 2026-11-01Einstein2150/CVE-2022-48565-POC
- Metasploit modules
- none listed Metasploit Framework
Sources
- CISA-ADPSSVC decisionpoc2024-10-03
- NVDCVSS 3.19.8read 2026-10-23
- NVDweakness (CWE)CWE-611read 2026-10-23
- FIRST EPSSEPSS score5.2 %2026-12-03
- PoC-in-GitHubproof of concept1known since 2026-11-01
- OSVaffected packages—
- GitHub Advisoriesadvisory—
Identifiers
- AZL-109653same flawAzure Linux · MIT
- BIT-libpython-2022-48565same flawBitnami · Apache-2.0
- BIT-python-2022-48565same flawBitnami · Apache-2.0
- BIT-python-min-2022-48565same flawBitnami · Apache-2.0
- EUVD-2022-51261same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-crhm-wc96-7579same flawGitHub Advisory Database · CC-BY-4.0
- JLSEC-2026-1620same flawJulia Security Advisories · CC-BY-4.0
- PSF-2023-5same flawPython Software Foundation · CC-BY-4.0
- ALSA-2024:2987advisory covering several CVEsAlmaLinux · MIT
- DLA-3575-1advisory covering several CVEsDebian · LicenseRef-unstated
- DLA-3614-1advisory covering several CVEsDebian · LicenseRef-unstated
- MGASA-2024-0084advisory covering several CVEsMageia · LicenseRef-unstated
- OESA-2023-1597advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2023-1598advisory covering several CVEsopenEuler · LicenseRef-unstated
- openSUSE-SU-2024:13253-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- RHSA-2024:2987advisory covering several CVEsRed Hat · CC-BY-4.0
- RLSA-2024:2987advisory covering several CVEsRocky Linux · BSD-3-Clause
- SUSE-SU-2023:4001-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2023:4220-1advisory covering several CVEsSUSE · LicenseRef-unstated
- USN-6354-1advisory covering several CVEsUbuntu
- USN-6891-1advisory covering several CVEsUbuntu
- USN-7180-1advisory covering several CVEsUbuntu
Technical details
- CVSS v3 vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Published
- 2023-08-22
- Last modified
- 2026-06-17
- NVD status
- Modified
- GitHub advisory
- GHSA-crhm-wc96-7579
Frequently asked questions
What is CVE-2022-48565?
Is CVE-2022-48565 actively exploited?
What is the CVSS score for CVE-2022-48565?
Running Python? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website checks · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-crhm-wc96-7579
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- PoC-in-GitHub · CC0-1.0
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0