# CVE-2026-59412: Spring Boot InetAddressFilter with a '0 bits' mask matches both IPv4 and IPv6 addresses

- Priority: **Routine**
- Reason: Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-12-02 · Modified: 2026-12-02
- Record: https://cvemate.com/vulnerability/CVE-2026-59412 · JSON: https://cvemate.com/vulnerability/CVE-2026-59412/json

## Description

```text
When an InetAddressFilter is has a '0 bits' mask it matches both IPv4 and IPv6 addresses.
A filter of 0.0.0.0/0 should have only matched IPv4 address, likewise a filter of ::0/0 should have only matched IPv6 address.
```

## Signals

- CVSS: 5.3 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- EPSS: 0.439%, percentile 39.927%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- spring spring boot: ≥ 4.1.0, \< 4.1.2.1 \| ≥ 4.1.0, \< 4.1.3

## References

- <https://spring.io/security/cve-2026-59412>
- <https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator?vector=AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N&version=3.1>

---

Data as of 2026-12-05T04:05:06.370Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
