CVE-2012-4419 in Torproject Tor
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.
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no confidentiality impact, no integrity impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Torproject | Tor | 0.2.3 0.2.3.13 0.2.3.14 0.2.3.15 0.2.3.16 0.2.3.17+4 more0.2.3.18 0.2.3.19 0.2.3.20 ≤ 0.2.2.38 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2012-4419 |
|---|---|
| BreachSpider ID | BS-2012-GLOBAL-092098-M |
| CVSS vector | AV:N/AC:L/Au:N/C:N/I:N/A:P |
| Published | 2012-09-14 |
| Last modified | 2026-06-16 |
| Source | NVD |
Analysis AI-written, not human-reviewed
This vulnerability was disclosed in 2012. A medium severity vulnerability affects Torproject systems (CVE-2012-4419). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
Vulnerability details: 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. CVSS vector: AV:N/AC:L/Au:N/C:N/I:N/A:P.
Questions
What is CVE-2012-4419?
This vulnerability was disclosed in 2012. A medium severity vulnerability affects Torproject systems (CVE-2012-4419). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
What is the CVSS score for CVE-2012-4419?
CVE-2012-4419 has CVSS 5.0 (Medium). Vector: AV:N/AC:L/Au:N/C:N/I:N/A:P. EPSS: 2.2%.
Is CVE-2012-4419 actively exploited?
No confirmed active exploitation of CVE-2012-4419 as of 2026-09-25.
How do I remediate CVE-2012-4419?
Priority: MONITOR.
What systems are affected by CVE-2012-4419?
CVE-2012-4419 affects Torproject Tor.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Torproject","product":"Tor","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-16.