Heap Buffer Overflow in Irssi: CVE-2018-5208 Vulnerability

irssi Updated 02 Oct 2025

Summary

06/01/2018
N/A
Yes i
Critical
9.8

ALPINE-CVE-2018-5208: In Irssi before 1.0.6, a calculation error in the completion code could cause a heap buffer overflow when completing certain strings. Affects irssi versions < 1.0.6-r0. Fixed in 1.0.6-r0. 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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

Irssi is a popular terminal-based IRC client that allows users to connect to IRC networks and chat with others. It is known for its extensibility and support for various protocols. However, prior to version 1.0.6, Irssi contained a vulnerability that could lead to a heap buffer overflow, particularly when handling certain string completions. This flaw could potentially compromise the integrity and security of the application.

Vulnerability Detail

In Irssi versions before 1.0.6, a calculation error in the completion code could lead to a heap buffer overflow when completing specific strings. This vulnerability, identified as CVE-2018-5208, can allow attackers to exploit the flaw, potentially leading to arbitrary code execution, data corruption, or crashes. The severity of this vulnerability is high, with a CVSS score of 9.8, indicating a critical risk to users who have not updated their software.

How To Fix

Minimum fixed version

1.0.6-r0

This is the first release that contains the fix.

sudo apk add --upgrade irssi

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

Workaround

As a temporary measure, users can avoid using the string completion feature in Irssi until they have updated to the patched version. This can help mitigate the risk of exploitation while waiting for a proper fix.

Conclusion

The CVE-2018-5208 vulnerability in Irssi poses a significant risk to users of the IRC client. It is crucial to update to version 1.0.6 or later to mitigate the risks associated with this vulnerability. Users should also consider using tools like Vulert to monitor for vulnerabilities in their software.

See every vulnerability recorded for irssi →

Share this vulnerability

FAQ

CVE-2018-5208 is a vulnerability in Irssi that can lead to a heap buffer overflow due to a calculation error in the completion code.

The risks include potential arbitrary code execution, data corruption, and application crashes, which can compromise user data and system integrity.

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

If you cannot update immediately, avoid using the string completion feature in Irssi as a temporary workaround to reduce the risk of exploitation.

More information about Irssi can be found on its official website or its GitHub repository, where you can also find documentation and community support.

Related vulnerabilities

Recent vulnerabilities recorded for irssi.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Minimum fixed version

1.0.6-r0

This is the first release that contains the fix.

sudo apk add --upgrade irssi

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