# CVE-2024-24790: Unexpected behavior from Is methods for IPv4-mapped IPv6 addresses in net/netip

- Severity: Critical 9.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.95%, higher than 80% of CVEs (2026-12-01)
- Published: 2024-06-04T22:48:55.000Z
- Modified: 2026-09-08T08:47:49.159Z
- Also known as: GO-2024-2887, BIT-GOLANG-2024-24790
- Related: CGA-234g-x4h3-6ppx
- Weaknesses: CWE-180
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: Go

## Description

The various Is methods (IsPrivate, IsLoopback, etc) did not work as expected for IPv4-mapped IPv6 addresses, returning false for addresses which would return true in their traditional IPv4 forms.

(As written by CVE List.)

## Affected

- net/netip: before 1.21.11; from 1.22.0-0 before 1.22.4
- golang go: before 1.21.11; from 1.22.0-0 before 1.22.4; from 1.22.0 before 1.22.4
- stdlib (Go): before 1.21.11; from 1.22.0-0 before 1.22.4
- golang (Bitnami): before 1.21.11; from 1.22.0-0 before 1.22.4

## Every score

- CISA-ADP: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Bitnami Vulnerability Database: rating Critical

## References

- <https://go.dev/cl/590316> (fix, patch)
- <https://go.dev/issue/67680> (issue-tracking, report)
- <https://groups.google.com/g/golang-announce/c/XbxouI9gY7k/m/TuoGEhxIEwAJ> (article, release-notes, web)
- <https://pkg.go.dev/vuln/GO-2024-2887> (advisory, third-party-advisory)
- <http://www.openwall.com/lists/oss-security/2024/06/04/1> (advisory, mailing-list, third-party-advisory)
- <https://security.netapp.com/advisory/ntap-20240905-0002/> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-24790> (web)

## Sources

- CVE List: [CVE-2024-24790](https://www.cve.org/CVERecord?id=CVE-2024-24790), CVE Terms of Use, modified 2025-02-13
- Go Vulnerability Database: [GO-2024-2887](https://pkg.go.dev/vuln/GO-2024-2887), CC-BY-4.0, modified 2026-03-23
- NVD: [CVE-2024-24790](https://nvd.nist.gov/vuln/detail/CVE-2024-24790), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-GOLANG-2024-24790](https://osv.dev/vulnerability/BIT-GOLANG-2024-24790), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2024-24790 · Whole record: https://cve.day/CVE-2024-24790.json · Rebuilt by cve.day 2026-11-25T22:58:41.450Z
