# CVE-2024-32000: Truncated content of messages can be leaked from matrix-appservice-irc

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 4.3
- **CVSS:** 4.3 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: Low; Integrity impact: None; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.61% (percentile 43, 2026-11-26)
- **CWE:** CWE-280, CWE-755
- **Aliases:** GHSA-wm4w-7h2q-3pf7
- **Published:** 2024-04-11T20:17:49.000Z
- **Modified:** 2026-09-10T03:50:00.260Z

## Who should check

- Projects that depend on npm package matrix-appservice-irc (\< 2.0.0)
- Anyone running matrix-org matrix-appservice-irc \< 2.0.0

## Description

matrix-appservice-irc is a Node.js IRC bridge for the Matrix messaging protocol. matrix-appservice-irc before version 2.0.0 can be exploited to leak the truncated body of a message if a malicious user sends a Matrix reply to an event ID they don't have access to. As a precondition to the attack, the malicious user needs to know the event ID of the message they want to leak, as well as to be joined to both the Matrix room and the IRC channel it is bridged to. The message reply containing the leaked message content is visible to IRC channel members when this happens. matrix-appservice-irc 2.0.0 checks whether the user has permission to view an event before constructing a reply. Administrators should upgrade to this version. It's possible to limit the amount of information leaked by setting a reply template that doesn't contain the original message. See these lines \`601-604\` in the configuration file linked.

## Affected and fixed versions

- npm `matrix-appservice-irc`: affected \< 2.0.0; fixed 2.0.0 (osv)
- matrix-org matrix-appservice-irc: \< 2.0.0 (cvelist)

## Mitigation

- Upgrade matrix-appservice-irc to 2.0.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-32000. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-32000.md
Affected: matrix-appservice-irc < 2.0.0
Fixed in: 2.0.0

Steps:
1. Search this machine and project for matrix-appservice-irc (npm), matrix-org matrix-appservice-irc: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-32000 being exploited?

There is no confirmed exploitation: CVE-2024-32000 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.61% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-32000?

Medium: CVSS 4.3 (v3.1, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2024-32000?

matrix-appservice-irc \< 2.0.0.

### Is there a fix for CVE-2024-32000?

Yes. Fixed in 2.0.0. Upgrade matrix-appservice-irc to 2.0.0 or later.

### How do I check if I'm affected by CVE-2024-32000?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/matrix-org/matrix-appservice-irc/security/advisories/GHSA-wm4w-7h2q-3pf7>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2024-32000>
- patch: <https://github.com/matrix-org/matrix-appservice-irc/pull/1799>
- patch: <https://github.com/matrix-org/matrix-appservice-irc/commit/4af7d3009f10b1f2fb810784c1e491d9d3bee82b>
- other: <https://github.com/matrix-org/matrix-appservice-irc/blob/d5d67d1d3ea3f0f6962a0af2cc57b56af3ad2129/config.sample.yaml#L601-L604>
- other: <https://github.com/matrix-org/matrix-appservice-irc>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-32000>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-wm4w-7h2q-3pf7> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2024-32000> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-32000>
