Description
The tor_timegm function in common/util.c in Tor before 0.2.2.39, and 0.2.3.x before 0.2.3.22-rc, does not properly validate time values, which allows remote attackers to cause a denial of service (assertion failure and daemon exit) via a malformed directory object, a different vulnerability than CVE-2012-4419.
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://gitweb.torproject.org/tor.git/blob/release-0.2.2:/ReleaseNotes
- https://trac.torproject.org/projects/tor/ticket/6811
- [oss-security] 20120912 CVE id request: tor mailing-list
- FEDORA-2012-14638 vendor-advisory
- https://gitweb.torproject.org/tor.git/commit/973c18bf0e84d14d8006a9ae97fde7f7fb97e404
- [tor-talk] 20120912 Tor 0.2.3.22-rc is out mailing-list
- openSUSE-SU-2012:1278 vendor-advisory