# GHSA-f99h-w337-mv56: iprange may panic when parsing ranges with invalid masks

- Severity: Medium (rating, scored by GitHub)
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2023-07-11T18:44:34.000Z
- Modified: 2024-05-20T16:03:47.000Z
- Also known as: GO-2023-1857

## Description

Parsing a range with a mask larger than 32 bits causes a panic.

(As written by GitHub Advisory Database.)

## Affected

- github.com/malfunkt/iprange (Go): up to 0.9.0; all versions

## References

- <https://github.com/malfunkt/iprange/issues/1> (report, web)
- <https://github.com/malfunkt/iprange> (package)

## Sources

- GitHub Advisory Database: [GHSA-f99h-w337-mv56](https://github.com/advisories/GHSA-f99h-w337-mv56), CC-BY-4.0, modified 2023-11-08
- Go Vulnerability Database: [GO-2023-1857](https://pkg.go.dev/vuln/GO-2023-1857), CC-BY-4.0, modified 2024-05-20

---

Page: https://cve.day/GHSA-f99h-w337-mv56 · Whole record: https://cve.day/GHSA-f99h-w337-mv56.json · Rebuilt by cve.day 2026-11-25T22:56:23.514Z
