CVE-2016-4472

Python 3.5 and 1 other: The overflow protection in Expat is removed by compilers with certain optimization settings, which allows…

CVE-2016-4472 is fixed in 4 products on 2 platforms, first by Python 3.6 3.6.2, released July 17, 2017. It is not reported as exploited. Patch Radar priority: High.

HighFixed on 2 platforms
CVSS
8.1
Medium
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.1195
96th percentile

The overflow protection in Expat is removed by compilers with certain optimization settings, which allows remote attackers to cause a denial of service (crash) or possibly execute arbitrary code via crafted XML data. NOTE: this vulnerability exists because of an incomplete fix for CVE-2015-1283 and CVE-2015-2716.

Where it's fixed

ProductFixed inFixReleased
Windows apps
Python 3.5 3.5.4 Python 3.5 3.5.4 Aug 7, 2017
Python 3.6 3.6.2 Python 3.6 3.6.2 Jul 17, 2017
Linux
libxmltok1 · Ubuntu 18.04.6 LTS (bionic) 1.2-4ubuntu0.18.04.1~esm4 libxmltok1 1.2-4ubuntu0.18.04.1~esm4 Jan 10, 2022
libxmltok1 · Ubuntu 20.04 LTS (focal) 1.2-4ubuntu0.20.04.1~esm4 libxmltok1 1.2-4ubuntu0.20.04.1~esm4 Jan 10, 2022
libxmltok1 · Ubuntu 22.04.1 LTS (jammy) 1.2-4ubuntu0.22.04.1~esm4 libxmltok1 1.2-4ubuntu0.22.04.1~esm4 Jan 10, 2022
libxmltok1t64 · Ubuntu 24.04.5 LTS (noble) 1.2-4.1ubuntu2.24.0.4.1+esm2 libxmltok1t64 1.2-4.1ubuntu2.24.0.4.1+esm2 Jan 10, 2022
libxmltok1t64 · Ubuntu 24.10 (oracular) 1.2-4.1ubuntu3.1 libxmltok1t64 1.2-4.1ubuntu3.1 Sep 4, 2019