CVE-2012-3518
publishedtor: Read from freed memory and double free by processing failed DNS request
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | redhat |
| Debian | squeeze | tor | Advisory build | 0.2.2.39-1 | DSA-2548-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | toraarch64 | Advisory build | 0.2.8.11-1.1 | OPENSUSE-SU-2024:10423-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | torppc64le | Advisory build | 0.2.8.11-1.1 | OPENSUSE-SU-2024:10423-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | tors390x | Advisory build | 0.2.8.11-1.1 | OPENSUSE-SU-2024:10423-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | torx86_64 | Advisory build | 0.2.8.11-1.1 | OPENSUSE-SU-2024:10423-1 |
Description
The networkstatus_parse_vote_from_string function in routerparse.c in Tor before 0.2.2.38 does not properly handle an invalid flavor name, which allows remote attackers to cause a denial of service (out-of-bounds read and daemon crash) via a crafted (1) vote document or (2) consensus document.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | redhat · cna |
Weaknesses
1- n/a
References
8- openSUSE-SU-2012:1068 http://lists.opensuse.org/opensuse-updates/2012-08/msg00048.html
- [oss-security] 20120821 Re: CVE Request -- Tor 0.2.2.38: Three issues http://openwall.com/lists/oss-security/2012/08/21/6
- 50583 http://secunia.com/advisories/50583
- GLSA-201301-03 http://security.gentoo.org/glsa/glsa-201301-03.xml
- https://gitweb.torproject.org/tor.git/commit/55f635745afacefffdaafc72cc176ca7ab817546
- https://gitweb.torproject.org/tor.git/commit/57e35ad3d91724882c345ac709666a551a977f0f
- [tor-announce] 20120819 Tor 0.2.2.38 is released https://lists.torproject.org/pipermail/tor-announce/2012-August/000086.html
- https://trac.torproject.org/projects/tor/ticket/6530
Provider assertions
2redhat · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 3b957e768343ffb554faf64726c1a05e8d9fa5a62e537a42fca5f0d26145d3f0
- Ingested
- 23 Sep 2026, 07:39:19 UTC
- Source record
- Official CVE record