# CVE-2022-29166: Improper handling of multiline messages in matrix-appservice-irc

- Priority: **Routine**
- Reason: Not severe (CVSS 8, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2022-05-05 · Modified: 2025-04-23
- Aliases: GHSA-37hr-348p-rmf4
- Record: https://cvemate.com/vulnerability/CVE-2022-29166 · JSON: https://cvemate.com/vulnerability/CVE-2022-29166/json

## Description

```text
matrix-appservice-irc is a Node.js IRC bridge for Matrix. The vulnerability in node-irc allows an attacker to manipulate a Matrix user into executing IRC commands by having them reply to a maliciously crafted message. The vulnerability has been patched in matrix-appservice-irc 0.33.2. Refrain from replying to messages from untrusted participants in IRC-bridged Matrix rooms. There are no known workarounds for this issue.
```

## Signals

- CVSS: 8.8 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS: 1.005%, percentile 64.108%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- matrix-org matrix-appservice-irc: \< 0.34.0
- matrix matrix\_irc\_bridge: \< 0.33.2
- Npm matrix-appservice-irc (Npm): \< 0.33.2

## References

- <https://github.com/matrix-org/matrix-appservice-irc/security/advisories/GHSA-37hr-348p-rmf4>
- <https://matrix.org/blog/2022/05/04/0-34-0-security-release-for-matrix-appservice-irc-high-severity>
- <https://github.com/matrix-org/node-irc/security/advisories/GHSA-52rh-5rpj-c3w6>
- <https://nvd.nist.gov/vuln/detail/CVE-2022-29166>
- <https://github.com/matrix-org/matrix-appservice-irc>

---

Data as of 2026-12-05T05:31:25.468Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
