Description
The compare_tor_addr_to_addr_policy function in or/policies.c in Tor before 0.2.2.39, and 0.2.3.x before 0.2.3.21-rc, allows remote attackers to cause a denial of service (assertion failure and daemon exit) via a zero-valued port field that is not properly handled during policy comparison.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | tor | 0.2.3.22-rc-1 | — |
| Debian 13 | tor | 0.2.3.22-rc-1 | — |
| Debian 12 | tor | 0.2.3.22-rc-1 | — |
| Debian 6.0 | tor | 0.2.2.39-1 | DSA-2548-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | tor | 0.2.8.11-1.1 | openSUSE-SU-2024:10423-1 |
Advisories 2
- DSA-2548-1 tor - several Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2024:10423-1 tor-0.2.8.11-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
References
- GLSA-201301-03 vendor-advisory
- https://trac.torproject.org/projects/tor/ticket/6690
- [oss-security] 20120912 Re: CVE id request: tor mailing-list
- 50583 third-party-advisory
- [tor-talk] 20120905 Tor 0.2.3.21-rc is out mailing-list
- https://gitweb.torproject.org/tor.git/blob/release-0.2.2:/ReleaseNotes
- FEDORA-2012-14638 vendor-advisory
- https://gitweb.torproject.org/tor.git/commit/62d96284f7e0f81c40d5df7e53dd7b4dfe7e56a5
- openSUSE-SU-2012:1278 vendor-advisory