UnrealIRCd CVE-2026-114713: a newline in a label tag gives any user server authority

UnrealIRCd CVE-2026-114713: a newline in a label tag gives any user server authority

One line break. That is the whole distance between an anonymous user on your IRC network and a command your servers obey as if it came from one of their own. CVE-2026-114713 lets any ordinary user on an UnrealIRCd network smuggle a newline through the IRCv3 label tag and into the traffic between linked servers, where it turns into a KILL, a GLINE or anything else a server is allowed to do.

The maintainer calls it the most critical UnrealIRCd issue in 15 years. A fix shipped on November 7, 2026, exploitation was reported two days later, and CISA added it to the Known Exploited Vulnerabilities catalog on November 13 with a due date of November 16. Severity: high on paper (CVSS 8.6), but if you run a multi-server network, treat it as an emergency. The good news is that most UnrealIRCd 6 servers can be fixed without a restart.

At a glance

  • CVE: CVE-2026-114713 (CWE-140, improper neutralization of delimiters)
  • CVSS 3.1: 8.6, AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N in the CVE record (VulDB lists 7.3)
  • Affected: UnrealIRCd 6.0.0 through 6.2.7; UnrealIRCd 5 (end of life since July 1, 2023) is also affected; 3.2.x and 4 were not checked
  • Precondition: a network with two or more linked servers; the attacker only needs a normal client connection
  • Exploitation: the project reported active exploitation on November 9, 2026; in CISA KEV since November 13, 2026
  • Fix: 6.2.7.1, or hot-patch bundle-20261107 (no restart, not on Windows); spamfilter workaround for 6.0.4+; module blacklist for v5
  • Who should care: anyone running a linked UnrealIRCd network, which covers a lot of community, open-source and hobby IRC

What we know

On November 4, 2026, UnrealIRCd lead developer Bram Matthys (Syzop) pre-announced a security release for November 7 at 15:00 UTC and asked admins to test the hot-patch mechanism in advance. That is the project’s documented playbook for very grave issues, and it was the right call here. Version 6.2.7.1 landed on schedule and fixes nine security issues, one of them critical.

The advisory posted to oss-security on November 8 describes the critical one plainly: an escaping bug in the implementation of the IRCv3 label message tag lets any user inject newlines and other characters into server-to-server traffic, and execute commands with server authority. The CVE record, published the same day, pins it to the labeled-response module, which does not escape the label when echoing it into replies.

On November 9, the project updated its forum advisory with a short, unambiguous line, as quoted by both SecurityOnline and Daily Security Review:

We are seeing bad guys exploiting this issue on the internet right now.

UnrealIRCd forum advisory, November 9, 2026 (via SecurityOnline)

CISA followed on November 13 (KEV catalog version 2026.11.13), listing it as “UnrealIRCd Improper Neutralization of Delimiters Vulnerability” with a November 16 due date and ransomware use marked unknown. As of November 14, a GitHub repository describing itself as a proof of concept is also indexed by exploit aggregators. I have not reviewed it and won’t link it.

What nobody has published: who is exploiting it, how many networks were hit, what commands were run, or any indicators of compromise. The project found the bug itself during an internal audit done “with the help of AI”, and credits no outside reporter.

Timeline: Nov 4 pre-announcement, Nov 7 release of 6.2.7.1 and hot-patch, Nov 8 advisory and CVE, Nov 9 exploitation reported, Nov 13 added to CISA KEV with Nov 16 due date.
Nine days from pre-announcement to the KEV catalog.

How it works

IRC is a line-based text protocol. Every message ends with CR LF, and the receiver splits the byte stream on those characters before parsing anything. IRCv3 message tags bolt metadata onto the front of a line (@key=value;key2=value2), and because a tag value could contain a semicolon, space or line break, the message-tags spec defines escapes: \: for a semicolon, \s for a space, \r and \n for CR and LF. On input you unescape; on output you must escape again.

The labeled-response extension lets a client tag a command with an opaque label of up to 64 bytes, and the server must echo the same label back on whatever reply that command produces. So the server takes a client-controlled string and writes it back onto the wire. If the echo path skips the re-escaping step, a label that contained an escaped line break comes out the other side as a real one.

On a single server, that would mostly be a client-side annoyance. On a linked network, replies and labeled commands travel between servers, and the CVE record is explicit that two or more linked servers are required. Once a raw newline lands in a server-to-server stream, the receiving server sees two lines. The second line is whatever the attacker wrote, and it arrives over a link that is fully trusted: servers are allowed to kill users, set network-wide bans and change state on behalf of anyone. That is why CVSS marks the scope as changed. The bug lives in one server’s tag handling, but the damage lands on every server that trusts the link.

That is the mechanism at the level the advisory, CVE record and spec support. The exact code path in labeled-response.c isn’t public in detail, and you don’t need it to defend.

Four-step flow: an ordinary user sends a labeled command, the label hides a line break, the server echoes it without re-escaping, and the linked server runs the injected line with server authority.
Conceptual chain based on the advisory, CVE record and IRCv3 specs; exact code path not published.

The bug class is old. CRLF injection (CWE-93) is the same family as HTTP response splitting, SMTP header injection and log forging: a text protocol uses an in-band delimiter, and somewhere a value crosses from “data” to “framing” without being neutralized. What makes this instance nasty is where the line lands. In HTTP, response splitting poisons one response. Here, the split line is executed by a peer whose whole trust model assumes the other end is a fellow server.

The project’s own workaround tells you what the fix looks like. The spamfilter rule blocks any label= value that contains CR, LF, a semicolon or a space after unescaping. Those are exactly the characters the spec says must never appear raw inside a tag value.

Who is affected and how badly

The exposure is narrower than “every UnrealIRCd server” and nastier than an 8.6 suggests. Narrower, because a single standalone server is outside the CVE record’s described scenario. Nastier, because most UnrealIRCd deployments that matter are linked networks, most accept connections from anyone on the internet, and the attacker needs nothing but a client that can send a tag. No account, no oper status, no user interaction.

What an attacker gets is integrity, not code execution on the host, at least as far as anything published says. Server authority on IRC still means a lot: killing users, setting G-lines (network-wide bans) against legitimate people, and generally taking over or wrecking the network’s control plane. Daily Security Review notes it is unknown whether the attacks seen so far were mass disruption or targeted. I’d assume both are possible and plan for the worse one.

UnrealIRCd 5 deserves its own sentence. It reached end of life on July 1, 2023, it is affected, and it gets no patch. The advisory also warns that many of the bugs fixed in 6.2.7.1 probably go back to 3.2.x, which was never checked.

What to do now

Follow the project’s order. It’s built so you are protected within minutes, then fixed properly.

  1. Apply the network-wide spamfilter as an IRCOp. It only protects you if every server is on 6.0.4 or newer, and it does nothing for the other eight issues. The rule from the advisory is below.
  2. Hot-patch every server on 6.0.0 to 6.2.7 with ./unrealircd hot-patch bundle-20261107. Success prints “Patch installed and server rehashed correctly.” (older versions print “Done! All should be good now.”).
  3. If the hot-patch fails, or you run Windows, upgrade to 6.2.7.1 (./unrealircd upgrade on *NIX) and restart.
  4. Verify on every server with ./unrealircd module-status | grep labeled-response (6.0.2 and later) or MODULE -all as an IRCOp. You want 5.0-hot-patch-bundle-20261107 or 6.2.7.1. A bare 5.0 means the patch is not loaded.
  5. On UnrealIRCd 5, add blacklist-module "labeled-response"; on all servers and restart them. A rehash is not enough. Then plan the move to 6.
  6. Every linked server counts. One unpatched leaf is enough for the network to be at risk, so chase down the box a volunteer runs in a closet somewhere.
SPAMFILTER add -regex T block - Invalid_label ^label=(?![^\r\n;\x20]*\z)

If you are a US federal agency running this (unlikely, but KEV applies to you), the due date is November 16, 2026, and CISA’s required action also points at BOD 26-04 forensic triage.

Detection and monitoring

There are no published IOCs, so this is about effects, not signatures. You can catch two moments: the malformed label arriving (only if the spamfilter workaround is loaded, because UnrealIRCd does not log message tags otherwise) and the server-authority actions that follow, such as kills and network bans. Both live in the daemon’s own log. The rules below assume an UnrealIRCd 6 log block writing type json on every server in the network, since the injected line runs on the server that receives it, not the one the attacker connected to.

RuleCategoryLog sourceATT&CKLevel
Label injection blocked by workaround spamfilterEmerging threatUnrealIRCd JSON log, tklT1190High
KILL issued by a server, not a nickGeneric TTPUnrealIRCd JSON log, killT1531Medium
Server link sent malformed protocol commandsGeneric TTPUnrealIRCd JSON log, link/nickT1190Medium
Network ban or shun added (hunting)HuntingUnrealIRCd JSON log, tklT1531Low
Block diagram: four UnrealIRCd JSON log event types feed four Sigma rules (invalid label blocked, high; KILL from a server, medium; malformed server-to-server commands, medium; network ban added, low), mapped to T1190 and T1531, with a gap for unpatched servers without the spamfilter.
The four detection rules for CVE-2026-114713 and what they cover. Rules 2 to 4 are experimental.

The one I’d turn on first is the spamfilter rule. The advisory’s filter blocks any label= value that contains CR, LF, a semicolon or a space after unescaping, and every hit is logged as a SPAMFILTER_MATCH event. No legitimate client needs such a label, so a hit means someone tried. The rule matches either the filter text or its reason (UnrealIRCd turns the underscore in Invalid_label into a space when it logs the reason).

title: UnrealIRCd CVE-2026-114713 Label Injection Blocked by Workaround Spamfilter
id: ec7bc0ea-16eb-4a06-9571-437e3d2859ec
status: test
description: |
    Detects a hit on the vendor-published spamfilter workaround for CVE-2026-114713, which blocks
    IRCv3 label tags that contain CR, LF, a semicolon or a space after unescaping. No legitimate
    client needs such a label, so a hit is a client trying to inject server-to-server commands.
references:
    - https://seclists.org/oss-sec/2026/q4/576
    - https://www.unrealircd.org/docs/List_of_all_log_messages
    - https://www.unrealircd.org/docs/Spamfilter
    - https://netsec101.com/?p=243
author: netsec101.com
date: 2026-11-15
tags:
    - attack.initial-access
    - attack.t1190
    - cve.2026-114713
    - detection.emerging-threats
logsource:
    product: unrealircd
    category: application
    definition: 'UnrealIRCd 6 log block with type json (fields subsystem, event_id, msg); spamfilter from the advisory applied network-wide'
detection:
    selection_event:
        subsystem: 'tkl'
        event_id: 'SPAMFILTER_MATCH'
    selection_label:
        - msg|contains: "matches filter '^label="
        - msg|contains:
              - '[reason: Invalid label]'
              - '[reason: Invalid_label]'
    condition: all of selection_*
falsepositives:
    - A buggy client or bot library that sends spaces or semicolons in labels without escaping them (rare; check the client version string)
    - IRCOps testing the spamfilter after deploying it
level: high

After patching, keep watching. The fix escapes the label silently, so a patched server without the filter logs nothing about attempts; leave the filter in place as a tripwire. Retro-hunt every KILL, G-Line, Z-Line and shun from November 7, 2026 (when the fix went public) back as far as your logs reach, and treat bans whose set_by nobody on your oper team recognises as suspect. Keep in mind that an injected line can forge that field, so check it against who was actually opered up at the time. There are no IOCs to age out, which also means there is nothing to block on.

I wrote up all four rules, with tuning notes, lab tests and ATT&CK coverage, in a separate detection post. The YAML lives in my Detection Rules repo.

My take

This is underrated by anyone who thinks IRC is a museum piece, and correctly rated as a fire by the people who run it. The 8.6 score undersells it for a linked network, because “integrity: high” here means an anonymous stranger can act as your server. I’d have applied the spamfilter within the hour and hot-patched the same evening.

The bigger lesson is about trust between peers in text protocols. Server links, mail relays, message brokers and SIP trunks all accept lines from a “trusted” neighbour and act on them. Each time one of those neighbours echoes user data without re-escaping the delimiter, the trust boundary collapses to a single byte. If you maintain anything that frames messages with in-band delimiters, the cheapest audit you can run this week is to find every place you write a client-controlled value back onto the wire and check that it is escaped there, not only where it came in.

Credit where it’s due: the project handled this well. Pre-announcement with a fixed time, a workaround that protects in minutes, a hot-patch that avoids disconnecting every user, and an explicit verification step. Plenty of commercial vendors with far bigger budgets don’t do half of that.

The part I keep thinking about is the maintainer’s warning: he found this with AI-assisted auditing he has used since February 2026, and he points out that EOL and rarely-updated daemons have not had that scrutiny yet, from defenders or otherwise. That is an argument for retiring UnrealIRCd 5 now, and a hint that the next quiet bug in an old network daemon may be found by someone less friendly.

Sources

One thought on “UnrealIRCd CVE-2026-114713: a newline in a label tag gives any user server authority”

Leave a Reply