Out-of-Bounds Access Vulnerability in ngIRCd - CVE-2020-14148

ngircd Updated 02 Oct 2025

Summary

15/06/2020
N/A
Yes i
High
7.5

ALPINE-CVE-2020-14148: The Server-Server protocol implementation in ngIRCd before 26~rc2 allows an out-of-bounds access, as demonstrated by the IRC_NJOIN() function. Affects ngircd versions < 25-r1. Fixed in 25-r1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

ngIRCd is an Internet Relay Chat (IRC) server that allows users to communicate in real-time over the internet. It is designed to be lightweight and easy to configure, making it a popular choice for small to medium-sized communities. The server supports various features such as channel management, user authentication, and server-to-server communication. However, a critical vulnerability has been identified in its Server-Server protocol implementation, which could lead to security risks if not addressed.

Vulnerability Detail

The vulnerability identified as CVE-2020-14148 in ngIRCd prior to version 26~rc2 allows for out-of-bounds access due to improper handling of data in the IRC_NJOIN() function. This flaw can be exploited by an attacker to potentially execute arbitrary code or crash the server, leading to denial of service. The vulnerability arises from insufficient validation of input data, which can result in memory corruption and unpredictable behavior of the server.

How To Fix

Minimum fixed version

25-r1

This is the first release that contains the fix.

sudo apk add --upgrade ngircd

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

If immediate patching is not feasible, consider restricting access to the ngIRCd server to trusted users only. Additionally, monitor server logs for any unusual activity that may indicate an attempted exploit.

Conclusion

The CVE-2020-14148 vulnerability in ngIRCd poses significant risks due to its potential for out-of-bounds access. It is crucial for users to update to the patched version 25-r1 or later to mitigate these risks. For those unable to update immediately, implementing access restrictions and monitoring server activity can serve as temporary measures.

See every vulnerability recorded for ngircd →

Share this vulnerability

FAQ

CVE-2020-14148 is a vulnerability in ngIRCd that allows for out-of-bounds access, potentially leading to server crashes or arbitrary code execution.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

The CVSS score for CVE-2020-14148 is 7.5, indicating a high severity level.

If you cannot update immediately, restrict access to the server and monitor logs for suspicious activity as a temporary measure.

You can find more information about ngIRCd and its features on its official website or GitHub repository.

Related vulnerabilities

Recent vulnerabilities recorded for ngircd.

How To Fix

Minimum fixed version

25-r1

This is the first release that contains the fix.

sudo apk add --upgrade ngircd

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback