CVE-2024-4032

published 17 Jun 2024 · updated 3 Nov 2025

Incorrect IPv4 and IPv6 private ranges

7.5HighCVSS 7.5EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 3.8.20, 3.10.15, 3.11.10 and 3 more.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Python Software Foundation<3.8.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, >=3.9.0 <3.9.203.8.20, 3.10.15, 3.11.10, 3.12.4, 3.13.0a6, 3.9.20

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-4032 severity on Zeptric[![CVE-2024-4032](https://zeptric.io/badge/cve/CVE-2024-4032.svg)](https://zeptric.io/cve/CVE-2024-4032)