CVE-2025-24356
UDP traffic amplification via fastd's fast reconnect feature
Check your servers for CVE-2025-24356
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-24356 affects fastd, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
fastd is a VPN daemon which tunnels IP packets and Ethernet frames over UDP. When receiving a data packet from an unknown IP address/port combination, fastd will assume that one of its connected peers has moved to a new address and initiate a reconnect by sending a handshake packet. This "fast reconnect" avoids having to wait for a session timeout (up to ~90s) until a new connection is established. Even a 1-byte UDP packet just containing the fastd packet type header can trigger a much larger handshake packet (~150 bytes of UDP payload). Including IPv4 and UDP headers, the resulting amplification factor is roughly 12-13. By sending data packets with a spoofed source address to fastd instances reachable on the internet, this amplification of UDP traffic might be used to facilitate a Distributed Denial of Service attack. This vulnerability is fixed in v23.
Severity (CVSS)
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:N/SI:N/SA:L
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Attack requirements
- none: an attack works without special conditions on the target
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Impact on the vulnerable system
- confidentiality none, integrity none, availability none: what an attacker can read, change or stop in the vulnerable component
- Impact on other systems
- confidentiality none, integrity none, availability low: what an attacker can read, change or stop beyond it
Exploitation
EPSS 0.71%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 54.6% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 28 Jan 2025):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- yes: an attacker can automate the attack across many targets
- Technical impact
- partial: limited control or limited data
Weakness
- CWE-405 Asymmetric Resource Consumption (Amplification)
Affected products
As the CNA lists them.
Is my server affected?
Find the installed version of fastd and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i fastd
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2025-24356 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2025-24356RHEL, Rocky, Alma, Fedora
rpm -q fastd
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2025-24356Alpine
apk list --installed | grep -i fastdWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2025-24356
trivy image --scanners vuln IMAGE | grep CVE-2025-24356
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
Other references
- https://github.com/neocturne/fastd/commit/1f233bee76b722c0b3f9024f2c39c72e9f7e5843 github.com
- https://github.com/neocturne/fastd/commit/3940150e801d0c91460491bec32cbcc5bbc89d5f github.com
- https://github.com/neocturne/fastd/commit/5f63fcfc18ae9cad023fa463b152d5e14192b5a8 github.com
- https://github.com/neocturne/fastd/commit/9df7e516378441d2d17b89f9db5c27c8312d8f12 github.com
- https://github.com/neocturne/fastd/commit/c1a07b3f2b9066c3713c68547da700b85d60f4f7 github.com
- https://github.com/neocturne/fastd/commit/ce1b79b12dbfa796743b5f3a50789ade965b7023 github.com
- https://github.com/neocturne/fastd/commit/d03a0a17347efb5293e42fde7d982781e90f14ef github.com
Source: the record CVE-2025-24356 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse