Tor 0.4.9.17 Relay Update: Patch Now Amid the DDoS Flood

The Tor 0.4.9.17 relay update is an emergency security release for relay operators. It shipped on November 13, 2026, while an ongoing DDoS flood of client circuits was hitting most of the Tor network. If you run a relay or bridge, check your version and upgrade to 0.4.9.17 today. Tor Browser users do not need to do anything, and the Tor Project says no extra step is needed after the upgrade.

Written November 18, 2026, 07:30 KST (Nov 17, 22:30 UTC). Facts checked on November 18, 2026 against the Tor Project's 0.4.9.15, 0.4.9.16 and 0.4.9.17 forum announcements, dist.torproject.org, the Tor Debian repository and Fedora relay guides, the relay update guide, the Onionoo protocol page, the tor manual and the "Sunsetting Tor 0.4.8" blog post. I could not open the 0.4.9.x ReleaseNotes file directly (HTTP 403), so details from it are marked as reported by press coverage. I have not run these commands on a live relay for this post.

What Tor 0.4.9.17 changes

The 0.4.9.17 announcement from Tor developer David Goulet calls it a stable release with several security fixes. One fix is singled out as especially important for relay DoS defenses related to IPv6 handling. The release is a "rapid response" to a DDoS in which relays are flooded with client circuits, and the Tor Project says more defenses are being evaluated with new releases expected soon.

Press coverage of the release notes adds detail that the forum post does not spell out:

  • IPv6 counting (reported as TROVE-2026-031): relays now count IPv6 clients per /64 prefix instead of per single address. Before, one /64 block could look like many separate clients and slip past the per-client limits.
  • DNS replies (reported as TROVE-2026-075): relays drop DNS resolution replies that carry an invalid hostname.
  • Statistics side effect: relays count a /64 as one client in published data, so IPv6 user graphs may show a jump.

This is the third release in about three weeks. Here is how they fit together:

VersionDate (2026)For whomWhat it did
0.4.9.15Oct 28Relays, bridgesSecurity fixes + 3 DoS defenses against a directory request surge
0.4.9.16Nov 4Directory authoritiesEmergency fixes; "no urgency" for anyone else
0.4.9.17Nov 13RelaysSecurity fixes, IPv6 DoS-defense fix

The risk here is availability, not anonymity. The announcement does not mention any deanonymization. An operator report covered by SecurityWeek on November 16 says the attack changed form about ten minutes after one relay upgraded, so expect the load to continue even on 0.4.9.17.

Tor 0.4.9.17 summary card: emergency relay release on November 13, 2026, IPv6 DoS defense fix, after 0.4.9.15 and 0.4.9.16, relays upgrade now, Tor Browser users no action
Three releases in three weeks, one for relays now

Check your Tor version on the relay

You need the version the running daemon reports, not only what the package manager installed. A package can be upgraded while the old process is still running.

Any system with the tor binary:

tor --version     # "Tor version 0.4.9.16." means upgrade

Debian and Ubuntu:

apt-cache policy tor          # Installed, Candidate and which repository
dpkg -l tor
sudo journalctl -u tor@default | grep "running on" | tail -1

The last line shows the version the service started with, for example Tor 0.4.9.17 running on Linux ....

Fedora, RHEL and CentOS Stream:

rpm -q tor
sudo journalctl -u tor | grep "running on" | tail -1

FreeBSD:

pkg info tor
pkg version -v | grep '^tor'

Docker: the tor version lives inside the image, not on the host.

docker exec <CONTAINER_NAME> tor --version

From outside, with Onionoo: the Tor Metrics Onionoo API returns what the directory authorities see for your relay. The version_status field says recommended, experimental, obsolete, new in series or unrecommended.

curl -s "https://onionoo.torproject.org/details?lookup=<YOUR_RELAY_FINGERPRINT>&fields=nickname,version,recommended_version,version_status"

How to read the result:

You seeStatusAction
0.4.9.17FixedNone, keep watching for the next release
0.4.9.5 to 0.4.9.16Missing the latest DoS fixesUpgrade to 0.4.9.17
0.4.8.x or olderEnd of life since June 1, 2026Upgrade to 0.4.9.17 now
0.4.9.x alpha or rcPre-releaseMove to 0.4.9.17 stable

The Tor Project's Sunsetting Tor 0.4.8 post says 0.4.8 reached end of life on June 1, 2026, gets no more updates, and stopped being supported from September 1, 2026.

Tor 0.4.9.17 version check card: tor --version, apt-cache policy tor, rpm -q tor, pkg info tor, docker exec and the Onionoo version_status field with vulnerable and fixed versions
Read the running version, not only the package

Update a Tor relay to 0.4.9.17

Tor 0.4.9.17 relay update flow: check version, upgrade by package, Docker or source, restart and verify
Tor 0.4.9.17 update flow for relay operators
View PlantUML source
@startuml
skinparam shadowing false
skinparam defaultFontSize 14
start
:tor --version;
if (0.4.9.17?) then (yes)
  :Done, watch forum;
  stop
endif
if (Package from Tor repo?) then (yes)
  :apt / dnf upgrade;
else (no)
  :Docker pull or\nbuild from tarball;
endif
:Restart tor;
:Check log + Onionoo;
stop
@enduml

Debian and Ubuntu (apt)

Use the Tor Project repository, not the distribution's own package. The Tor support site says Ubuntu's universe packages have not reliably been updated and Debian ships Tor's LTS version. If apt-cache policy tor does not list deb.torproject.org, add the repository first. The repository supports only amd64 and arm64.

sudo apt install apt-transport-https gnupg
wget -qO- https://deb.torproject.org/torproject.org/A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89.asc \
  | gpg --dearmor | sudo tee /usr/share/keyrings/deb.torproject.org-keyring.gpg >/dev/null

Create /etc/apt/sources.list.d/tor.sources, replacing <DISTRIBUTION> with your codename from lsb_release -c:

Types: deb deb-src
URIs: https://deb.torproject.org/torproject.org/
Suites: <DISTRIBUTION>
Components: main
Signed-By: /usr/share/keyrings/deb.torproject.org-keyring.gpg

Then upgrade and restart:

sudo apt update
sudo apt install tor deb.torproject.org-keyring
sudo systemctl restart tor

If apt itself needs patching on this host, see our guide to the APT CVE-2026-109518 patch on Debian and Ubuntu.

Fedora and RHEL family (dnf)

The Tor Project's Fedora guide uses this repository file at /etc/yum.repos.d/Tor.repo:

[tor]
name=Tor for Fedora $releasever - $basearch
baseurl=https://rpm.torproject.org/fedora/$releasever/$basearch
enabled=1
gpgcheck=1
gpgkey=https://rpm.torproject.org/fedora/public_gpg.key
cost=100
sudo dnf upgrade --refresh tor
sudo systemctl restart tor

FreeBSD

sudo pkg update
sudo pkg upgrade tor
sudo service tor restart

FreeBSD packages can trail Tor releases. On November 5, a forum user was still waiting for the FreeBSD build of 0.4.9.15. If pkg still offers 0.4.9.16 or older, build from source below or check the ports tree.

Docker

Pull the new image, then recreate the container on the same volumes so the relay keeps its identity keys:

docker compose pull
docker compose up -d
docker exec <CONTAINER_NAME> tor --version

If the version is still old, the image has not been rebuilt yet. A forum reply on November 17 pointed out that the official thetorproject/webtunnel-bridge image on Docker Hub showed its last update about five months earlier. Rebuild your own image on a base that ships 0.4.9.17, or move the relay to the package install. Long-running relay containers write a lot of logs, so set limits as in our Docker log rotation guide.

Build from the source tarball

dist.torproject.org lists tor-0.4.9.17.tar.gz with a .sha256sum and a signed .sha256sum.asc, all dated November 13, 2026.

wget https://dist.torproject.org/tor-0.4.9.17.tar.gz
wget https://dist.torproject.org/tor-0.4.9.17.tar.gz.sha256sum
wget https://dist.torproject.org/tor-0.4.9.17.tar.gz.sha256sum.asc
gpg --verify tor-0.4.9.17.tar.gz.sha256sum.asc
sha256sum -c tor-0.4.9.17.tar.gz.sha256sum
tar xzf tor-0.4.9.17.tar.gz && cd tor-0.4.9.17
./configure && make && sudo make install

gpg --verify needs the Tor release signing keys in your keyring first. Do not skip the check.

Tor 0.4.9.17 update card: apt install tor from deb.torproject.org, dnf upgrade tor from rpm.torproject.org, pkg upgrade tor on FreeBSD, docker compose pull, and source tarball with sha256sum and gpg verify
Pick the update path that matches your install

Confirm the update applied

tor --version                                   # Tor version 0.4.9.17.
sudo journalctl -u tor@default --since "10 min ago" | grep -E "running on|reachable"

You want the Tor 0.4.9.17 running on ... line and, for relays, the self-test line saying your ORPort is reachable. Onionoo updates after the next consensus, so check version_status again an hour or two later.

To avoid the next scramble, the Tor relay guide recommends automatic updates. On Debian, install unattended-upgrades apt-listchanges and add "origin=TorProject"; to Unattended-Upgrade::Origins-Pattern in /etc/apt/apt.conf.d/50unattended-upgrades. On Ubuntu, add "TorProject:${distro_codename}"; to Unattended-Upgrade::Allowed-Origins. Test with sudo unattended-upgrade --debug --dry-run.

If you can't upgrade to Tor 0.4.9.17 today

The Tor Project has published no workaround for this release. Upgrading is the fix. The options below are standard torrc settings that limit how much a flood can hurt your machine. They are not official mitigations for this attack and do not replace the IPv6 fix.

OptionWhat it doesSide effect
MaxMemInQueues 1 GBCaps queued-cell memory; Tor kills circuits to recover memory when hitSome legitimate circuits get closed
RelayBandwidthRate / RelayBandwidthBurstCaps relay trafficLower consensus weight, less useful relay
AccountingMax + AccountingStartStops relaying after a traffic quotaRelay hibernates until the next period
sudo systemctl stop torTakes the relay offlineLoses uptime, may lose flags such as HSDir

Leave the built-in DoS options alone. The tor manual says the directory authorities define reasonable values for relays through consensus parameters, so most relays need no DoSCircuitCreation* or DoSConnection* lines in torrc. Hard-coded local values stop following the network-wide tuning the Tor Project adjusts during an attack.

Tor relay interim card: no official workaround for 0.4.9.17, MaxMemInQueues, RelayBandwidthRate, AccountingMax and stopping the relay, each with its side effect
Limit the damage until you can upgrade

Fix common Tor upgrade problems

apt still offers an old version. Run apt-cache policy tor. If the candidate comes from your distribution's archive instead of deb.torproject.org, the Tor repository is missing or uses a wrong codename. Fix tor.sources, then sudo apt update. An amd64/arm64 mismatch also hides the package, since the repository supports no other architectures.

NO_PUBKEY or signature errors on apt update. The keyring file is missing or old. Re-run the wget ... | gpg --dearmor command above, then install deb.torproject.org-keyring so the key stays current.

tor fails to start after the upgrade. Check the config and the log before anything else:

sudo -u debian-tor tor --verify-config     # Debian/Ubuntu service user
sudo journalctl -u tor@default -n 50 --no-pager

A config line the new version rejects shows up here with its line number. Fix it, then sudo systemctl restart tor.

The relay is still overloaded on 0.4.9.17. That is expected. The Tor Project says the attack is hard to solve with one patch and more releases are coming. Watch the Tor release announcements and the tor-relays mailing list, and upgrade again when the next release lands.

Roll back only as a last resort

Rolling back means running without the DoS fixes. If 0.4.9.17 breaks your relay and you need time to debug, install the previous build only if your repository still lists it:

apt list -a tor                         # Debian/Ubuntu: shows available version strings
sudo apt install tor=<PREVIOUS_VERSION_STRING>
sudo dnf downgrade tor                  # Fedora/RHEL

Your relay identity keys live in the data directory (/var/lib/tor on Debian), not in the package, so a reinstall does not change your fingerprint. Never go back to 0.4.8.x, which is end of life.

Tor upgrade troubleshooting card: old candidate from distro repo, NO_PUBKEY, tor --verify-config, relay still overloaded, rollback with apt list -a tor and dnf downgrade
Four common problems and the rollback path

Tor 0.4.9.17 decision table

Your setupActionWhen
Relay or bridge on 0.4.9.16 or olderUpgrade to 0.4.9.17Now
Anything on 0.4.8.x or olderUpgrade to 0.4.9.17Now (end of life)
Docker image still reports an old torRebuild image or switch to packagesToday
Onion service or client-only tor daemonUpgrade with normal updatesThis week
Tor Browser userKeep the browser updatedNo action

FAQ

Do Tor Browser users need to update for Tor 0.4.9.17? No. The announcement asks relay operators to upgrade. Clients and onion services are not mentioned, and the attack targets relay availability, not anonymity. Keep Tor Browser on its normal auto-update.

Is there a CVE for the Tor 0.4.9.17 fixes? Not that I found as of November 18, 2026. Tor tracks security issues with TROVE IDs. Press coverage of the release notes cites TROVE-2026-031 for the IPv6 fix, but the forum announcement does not list IDs.

Do I need to change torrc after upgrading? No. The Tor Project says no action item is required after upgrading. Leave the DoS options to the consensus unless you have a specific reason.

Will upgrading stop the DDoS on my relay? Not fully. Tor says the circuit flood is hard to solve and more defenses are coming. One operator report says the attack changed shape shortly after upgrading.

Will my relay keep its fingerprint after the update? Yes, as long as the data directory with the keys stays in place. For Docker, keep the same volume when you recreate the container.

References

  • Tor Project Forum, "Security Release 0.4.9.17", November 13, 2026: forum.torproject.org (checked November 18, 2026)
  • Tor Project Forum, "Security Release 0.4.9.16", November 4, 2026: forum.torproject.org (checked November 18, 2026)
  • Tor Project Forum, "Security Release 0.4.9.15", October 28, 2026: forum.torproject.org (checked November 18, 2026)
  • Tor Project, source downloads: dist.torproject.org (checked November 18, 2026)
  • Tor Support, Tor Debian repository: support.torproject.org (checked November 18, 2026)
  • Tor Community, Relay setup on Fedora: community.torproject.org (checked November 18, 2026)
  • Tor Community, Relay automatic updates on Debian/Ubuntu: community.torproject.org (checked November 18, 2026)
  • Tor Metrics, Onionoo protocol: metrics.torproject.org (checked November 18, 2026)
  • Tor Project Blog, "Sunsetting Tor 0.4.8": blog.torproject.org (checked November 18, 2026)
  • Tor manual, Denial of Service mitigation options and MaxMemInQueues: torproject.org (checked November 18, 2026)
  • SecurityWeek, "Tor Updates DoS Defenses Again as Relay Attacks Continue", November 16, 2026: securityweek.com (checked November 18, 2026)
  • Pasquale Pillitteri, coverage of the 0.4.9.17 release notes: pasqualepillitteri.it (checked November 18, 2026)

Leave a Comment