CVE-2016-4472: The overflow protection in Expat is removed by compilers with certain optimization settings, which allows remote attackers to cause a den…

CVE-2016-4472 affects 34 listed versions of Python in the Dawnsentry catalogue.

8.1CVSS high
None knownexploitation
12%EPSS (next 30 days)
30 June 2016published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

Python

34 of 250 listed versions are affected. Fixed in 3.5.4, 3.4.7, 3.3.7, 2.7.15. The newest release, 3.15.2, is not affected.

3.5.3 3.5.2 3.5.1 3.5.0 3.4.6 3.4.5 3.4.4 3.4.3 3.4.2 3.4.1 3.4.0 3.3.6 3.3.6-rc1 3.3.5 3.3.5-rc2 3.3.5-rc1 3.3.4 3.3.4-rc1 3.3.3 3.3.3-rc2 3.3.3-rc1 3.3.2 3.3.1 3.3.1-rc1 3.3.0 2.7.14 2.7.13 2.7.12 2.7.11 2.7.10 2.7.9 2.7.8 2.7.7 2.7.6

What it is

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.

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H (NVD)

Published by Red Hat on 30 June 2016. Last changed 8 October 2026.

Sources

Check one version you run: look CVE-2016-4472 up, or pick a product and version in the quick lookup.

Updated 1 December 2026.