Overview: 1 vulnerability

WSA Score Severity Issue Vulnerability type Scope Versions Fix Release date
WSA-2026-34 7.5
Allocation of Resources Without Limits or Throttling Allocation of Resources Without Limits or Throttling Xfer 4.1.0 → 4.10.4 4.10.5

WSA-2026-34: [Xfer] Allocation of Resources Without Limits or Throttling

Vulnerability
CVE
Not available
CVSS vector
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (detail)
CVSS score
7.5 / 10
Severity
high
Vulnerability type
Allocation of Resources Without Limits or Throttling (detail)
Scope
Xfer
Affected versions
4.1.0 → 4.10.4
Fixed version
4.10.5 () - ChangeLog
Tracker
Description
When an IRC user offers a file with a passive DCC (reverse DCC), the xfer plugin opens a socket for this transfer.
The socket is opened and bound to a local port as soon as the offer is received, before the user accepts it.
Pending offers have no timeout and no limit: the socket stays open until the transfer is accepted or removed.
Any IRC user can send many such offers, each one keeping a file descriptor open in WeeChat.
When the limit of open files is reached, WeeChat cannot open new files or sockets.
For example, new log files cannot be opened, and new connections to IRC servers or from relay clients fail.
Pending offers also reserve ports of the option xfer.network.port_range, so other DCC transfers can fail.
With the fix, the socket is opened only when the transfer is accepted, manually or automatically.
In addition, a resumed transfer fails if DCC ACCEPT is not received before the timeout (option xfer.network.timeout).
Mitigation
There are multiple ways to mitigate this issue:
Credit
The issue was discovered by Acts1631.