Skip to main content
Public proof of conceptFix available

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?

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
  1. 2023-08-2219:16CVE publishedNVD

Versions per branch

NVD · OSV
Python
BranchAffectedFixed in
3.9≥ 3.9.0, < 3.9.13.9.1
3.8≥ 3.8.0, < 3.8.73.8.7
3.7≥ 3.7.0, < 3.7.103.7.10
3.6< 3.6.133.6.13
Debian debian linux
BranchAffectedFixed in
10.0= 10.0no fix published

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

  • CVE-2022-48565 Red Hat Product Security264 products fixed · 39 known affected

    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

  • RHSA-2024:2987 Red Hat Product Security264 products fixed

    Red Hat Security Advisory: python27:2.7 security update

Full record on NVD

Fix

  1. Update Python to 3.9.1 · 3.8.7 · 3.7.10 · 3.6.13
  2. 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
  3. 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
  4. No fix available, says the vendor Red Hat Product Security CVE-2022-48565 · 8 productsAffected
  5. No fix planned, says the vendor Red Hat Product Security CVE-2022-48565 · 23 productsOut of support scope
  6. No fix planned, says the vendor Red Hat Product Security CVE-2022-48565 · 8 productsWill not fix

Advisories and patches

Detection

read 2026-11-01 01:02 UTC
Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

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?

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.

Is CVE-2022-48565 actively exploited?

A proof-of-concept exploit exists for CVE-2022-48565, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2022-48565?

CVE-2022-48565 has a CVSS v3 base score of 9.8 (Critical severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

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

Sources for this record