Whonix-Gateway is still running outdated vulnerable Tor daemon after 25 days

On the 1st of June, a security release was made for the Tor daemon. This is version 0.4.9.9, see official change logs. This release fixes several high severity issues, including memory safety issues such as use-after-free bugs. It can be assumed that, with enough effort, these can be exploited to gain remote code execution in Whonix-Gateway, compromising all anonymity.

On 4th of June, Tails released an emergency release with upgraded Tor daemon. This is version 7.8.1. See Tor blog.

Today, three weeks later, Whonix, at least in QubesOS, is still running with the vulnerable version 0.4.9.8.

I rely on Whonix for strong anonymity, and still running a release with publicly disclosed memory safety vulnerabilities makes me very uneasy. The lack of communication about the delay too.

What is the status for the update? When can we expect it? And what is the cause of the delay?

2 Likes

At the time of writing (2026-06-26), no Debian package for Tor 0.4.9.9 is available from the Tor Project’s Debian repository for Tor (Index of /torproject.org/pool/main/t/tor). This is where we get our Tor binaries from, therefore if the Tor Project does not publish new packages, we will not get them. EDIT: I failed to search the linked page properly, 0.4.9.11 is available from that repository.

1 Like
[template gateway root ~]# apt policy tor                                                             
tor:
  Installed: 0.4.9.9-1~d13.trixie+1
  Candidate: 0.4.9.9-1~d13.trixie+1

Make sure to always upgrade.

1 Like

4 VMs of mine all have stable installed. The high-priority security issues addressed by ryrona are not fixed in stable. Whonix VM are indeed vulnerable to them for 3 weeks under default settings?

[template gateway root ~]# apt policy tor                                                             
tor:
  Installed: 0.4.9.8-0+deb13u1
  Candidate: 0.4.9.8-0+deb13u1

apt policy tor shows that 0.4.9.11-1~bpo13+1 in backport repo is available but not selected ***

@numagoz If you got backports selected, why you got 0.4.9.9-1 and not 0.4.9.11-1? Maybe because of this?

Migration status for tor (0.4.9.9-1 to 0.4.9.11-1): Waiting for test results or another package, or too young (no action required now - check later)

@Patrick Can Whonix make Debian backport the default repo for tor updates? The update and upgrade button in sysmaint select the stable repo for tor at the moment. At least for 4 of my GW VMs

1 Like

Tails indeed shipped an emergency release at 4 June

This release is an emergency release to fix a serious security vulnerability in the Linux kernel, as well as security vulnerabilities in the Tor client.

Update the Tor client to 0.4.9.9, which fixes several security vulnerabilities.
1 Like
[template gateway sysmaint ~]% sudo apt update
Hit:1 tor+https://deb.debian.org/debian trixie InRelease                       
Hit:2 https://deb.qubes-os.org/r4.3/vm trixie InRelease                        
Hit:3 tor+https://deb.whonix.org trixie InRelease                              
Hit:4 tor+https://fasttrack.debian.net/debian-fasttrack trixie-fasttrack InRelease
Hit:5 tor+https://deb.debian.org/debian trixie-updates InRelease    
Hit:6 tor+https://deb.kicksecure.com trixie InRelease               
Hit:7 tor+https://fasttrack.debian.net/debian-fasttrack trixie-backports-staging InRelease
Hit:8 tor+https://deb.debian.org/debian trixie-backports InRelease
Hit:9 tor+https://deb.debian.org/debian-security trixie-security InRelease
All packages are up to date.    
[template gateway sysmaint ~]% sudo apt dist-upgrade
Summary:                        
  Upgrading: 0, Installing: 0, Removing: 0, Not Upgrading: 0
[template gateway sysmaint ~]% apt policy tor
tor:
  Installed: 0.4.9.8-0+deb13u1
  Candidate: 0.4.9.8-0+deb13u1
  Version table:
     0.4.9.11-1~bpo13+1 100
        100 tor+https://deb.debian.org/debian trixie-backports/main amd64 Packages
 *** 0.4.9.8-0+deb13u1 500
        500 tor+https://deb.debian.org/debian trixie/main amd64 Packages
        500 tor+https://deb.debian.org/debian-security trixie-security/main amd64 Packages
        100 /var/lib/dpkg/status
     0.4.9.6-1~d13.trixie+1 500
        500 tor+https://deb.kicksecure.com trixie/main amd64 Packages

Did this just a few minutes ago. So everything is up-to-date it seems, yet I have an old vulnerable version.

1 Like

Okay, so what does this mean? Is it some automatic import script that is broken? Because it looks like only version 0.4.9.6 is available through KickSecure repositories (see post right above this one), and the Tor repositories are not added as default on Whonix-Gateway for QubesOS.

Do I need to create some ticket somewhere, or is there some ticket I can track?

1 Like

You have to install tor from this repository. Debian backports.
sudo apt install tor=0.4.9.11-1~bpo13+1

Whonix can’t assume that everyone is going to do this and keep track of high-severity tor updates all the time. Can Debian Backports set default for tor.

EDIT: Maybe Trixie Security get security updates before backports in some cases. The tor update of yesterday are added to the Debian backports repo within hours

1 Like
sudo apt update && sudo apt full-upgrade && sudo apt autoremove "--purge" && sudo apt autoclean

Run this command.

1 Like

Seems fixed. Run dist-upgrade today on gateway-18 template and tor client is up to date.

[gateway user ~]% tor --version
Tor version 0.4.9.11.
This build of Tor is covered by the GNU General Public License ( The GNU General Public License v3.0 - GNU Project - Free Software Foundation )

1 Like

This forum post is the ticket :slight_smile: We intentionally keep forum posts deduplicated so they can function as such.

The issue is also fixed; Tor 0.4.9.11 is now present in Kicksecure’s primary trixie repo. All users should run a full system upgrade.

4 Likes

[… 38 lines elided]

Did this just a few minutes ago. So everything is up-to-date it seems,
yet I have an old vulnerable version.

I notice this with my sys-whonix as well. Do I have to manually install
tor package from trixie-backports?

[… 8 lines elided]

I notice this with my sys-whonix as well. Do I have to manually
install tor package from trixie-backports?

Wait, I notice that updating my whonix-gateway-18 also updates my tor
version.

2 Likes