CVE-2005-0199: Integer Underflow and Buffer Overflow in ngIRCd Lists_MakeMask
- Vendor
- Barton
ngIRCd versions before 0.8.2 contain an integer-underflow flaw in the Lists_MakeMask() function in lists.c. A remotely supplied overly long IRC MODE line can cause an incorrect length calculation. The resulting underflow leads to a buffer overflow, causing an application crash and potentially enabling arbitrary code execution.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
An unauthenticated remote attacker can cause a denial of service by crashing the ngIRCd process. Depending on exploitability of the resulting buffer overflow and target environment, the flaw may also permit arbitrary code execution in the security context of the IRC daemon.
Mitigation
If you can’t patch tonight, do this now.
If immediate upgrade is not possible, restrict access to the IRC server to trusted users only and monitor for abnormal or excessively long MODE lines. Consider applying any available vendor patches or workarounds that address the vulnerable code path.
Remediation
Patch, then assume compromise.
Upgrade ngIRCd to version 0.8.2 or a later supported release containing the corrected length calculation.
Exploits
No validated public exploits yet. Hidden: 1 not yet analyzed, such as Exploit-DB entries.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2005-0199 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2005-0199 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2005-0199?
- Yes. As of Oct 16, 2026, Mallory has reports of a public exploit for CVE-2005-0199.
- Is there a patch for CVE-2005-0199?
- Upgrade ngIRCd to version 0.8.2 or a later supported release containing the corrected length calculation.
- What products are affected by CVE-2005-0199?
- Barton Ngircd.
- How severe is CVE-2005-0199?
- CVE-2005-0199 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 18.8% (97th percentile) as of Oct 16, 2026.
Recent activity
2 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.