CVE-2024-4032: Incorrect IPv4 and IPv6 private ranges
Vulnerability summary
CVE-2024-4032 is a high (CVSS 7.5) Incorrect Comparison vulnerability in python software foundation cpython. EPSS estimates a 1.08% chance of exploitation in the next 30 days, higher than 65.1% of scored vulnerabilities.
Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-11-2026)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 28 · Related 26Timeline
- 17-06-2024PublishedVulnerability first disclosed.
- 03-11-2025Last modifiedVulnerability information updated.
Description
The “ipaddress” module contained incorrect information about whether certain IPv4 and IPv6 addresses were designated as “globally reachable” or “private”. This affected the is_private and is_global properties of the ipaddress.IPv4Address, ipaddress.IPv4Network, ipaddress.IPv6Address, and ipaddress.IPv6Network classes, where values wouldn’t be returned in accordance with the latest information from the IANA Special-Purpose Address Registries. CPython 3.12.4 and 3.13.0a6 contain updated information from these registries and thus have the intended behavior.
CVSS metrics
8 scores · 8 sources · 1 version- OSV · AlpineEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- OSV · Red hatEcosystem advisory · calculated3.7LowCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:LDiffers
- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- OSV · WolfiEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- OSV · ChainguardEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS trend
Probability
1.08%
Chance of exploitation in the next 30 days
Percentile
65%
Versus all other CVEs
30-day change
No change 0.00 pp
From 1.08% on 05-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Redhat25 products
- platform-python< 0:3.6.8-51.el8_8.7 | < 0:3.6.8-47.el8_6.7
- platform-python-debug< 0:3.6.8-51.el8_8.7 | < 0:3.6.8-47.el8_6.7
- platform-python-devel< 0:3.6.8-51.el8_8.7 | < 0:3.6.8-47.el8_6.7
- python-unversioned-command< 0:3.9.18-3.el9_4.3
- python3< 0:3.9.18-3.el9_4.3 | < 0:3.6.8-51.el8_8.7 | < 0:3.6.8-47.el8_6.7
Suse13 products
- python3-base&distro=SUSE Linux Enterprise Module for Web and Scripting 12< 3.4.10-25.133.1
- python3-base&distro=SUSE Linux Enterprise Server 12 SP5< 3.4.10-25.133.1
- python3-base&distro=SUSE Linux Enterprise Server for SAP Applications 12 SP5< 3.4.10-25.133.1
- python3-base&distro=SUSE Linux Enterprise Software Development Kit 12 SP5< 3.4.10-25.133.1
- python311-core&distro=SUSE Linux Enterprise Module for Public Cloud 15 SP4< 3.11.9-150400.9.29.1
Opensuse12 products
- python310-core&distro=openSUSE Leap 15.5< 3.10.14-150400.4.51.1
- python310-core&distro=openSUSE Leap 15.6< 3.10.14-150400.4.51.1
- python310-documentation&distro=openSUSE Leap 15.5< 3.10.14-150400.4.51.1
- python310-documentation&distro=openSUSE Leap 15.6< 3.10.14-150400.4.51.1
- python310&distro=openSUSE Leap 15.5< 3.10.14-150400.4.51.1
Ubuntu9 products
- python3.10< 3.10.12-1~22.04.5
- python3.11All versions (No fix recorded)
- python3.12< 3.12.3-1ubuntu0.1
- python3.4All versions (No fix recorded)
- python3.5< 3.5.2-2ubuntu0~16.04.4~14.04.1+esm4 | < 3.5.2-2ubuntu0~16.04.13+esm16
Chainguard4 products
- python-3.10< 3.10.14-r4
- python-3.11< 3.11.9-r4
- python-3.12< 3.12.4-r0
- python-3.9< 3.9.19-r2
Wolfi3 products
- python-3.10< 3.10.14-r4
- python-3.11< 3.11.9-r4
- python-3.12< 3.12.4-r0
Debian2 products
- pypy3All versions (No fix recorded) | < 7.3.18+dfsg-1
- python3.11< 3.11.2-6+deb12u3
Alpine1 product
- python3< 3.10.15-r0 | < 3.11.10-r0 | < 3.12.6-r0
Python software foundation1 product
- cpython< 3.8.20 | ≥ 3.9.0, < 3.9.20 | ≥ 3.10.0, < 3.10.15 | ≥ 3.11.0, < 3.11.10 | ≥ 3.12.0, < 3.12.4 | ≥ 3.13.0a1, < 3.13.0a6
9 vendors · 70 products
References
42 links- mail.python.org/archives/list/security-announce@python.org/thread/NRUHDUS2IV2USIZM2CVMSFL6SCKU3RZA/Vendor AdvisoryREPORTAdvisory
Show all 42 references
- github.com/python/cpythonPACKAGE