Skip to content
Heist/ feed
Back to feed
UnratedFix available

tor — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-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, 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.

Products
tor
Affected versions
Not specified
Fixed versions
0.2.3.20-rc-1
CVEs
CVE-2012-3518
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 22:56 UTC · Revision 1

Source evidence

DEBIAN-CVE-2012-3518

core-osv · Original source

Published 26 Aug 2012, 03:17 UTC

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.

osv:DEBIAN-CVE-2012-3518

tor

Fixed versions: 0.2.3.20-rc-1

tor

Fixed versions: 0.2.3.20-rc-1

tor

Fixed versions: 0.2.3.20-rc-1

Complete source record
{
  "id": "efec53ec3b27038d2cd8a96a6242e47caceeeab30ad82f78f9b2c401bb1075ec",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2012-3518",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2012-3518",
    "summary": "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.",
    "evidence": "osv:DEBIAN-CVE-2012-3518",
    "products": [
      {
        "name": {
          "value": "tor",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "0.2.3.20-rc-1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "tor",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "0.2.3.20-rc-1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "tor",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "0.2.3.20-rc-1",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "DEBIAN-CVE-2012-3518",
      "aliases": [
        "DEBIAN-CVE-2012-3518"
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "0.2.3.20-rc-1"
                }
              ]
            }
          ],
          "package": {
            "name": "tor",
            "purl": "pkg:deb/debian/tor?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2012-3518.json"
          },
          "ecosystem_specific": {
            "urgency": "low"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "0.2.3.20-rc-1"
                }
              ]
            }
          ],
          "package": {
            "name": "tor",
            "purl": "pkg:deb/debian/tor?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2012-3518.json"
          },
          "ecosystem_specific": {
            "urgency": "low"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "0.2.3.20-rc-1"
                }
              ]
            }
          ],
          "package": {
            "name": "tor",
            "purl": "pkg:deb/debian/tor?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2012-3518.json"
          },
          "ecosystem_specific": {
            "urgency": "low"
          }
        }
      ],
      "modified": "2026-10-23T17:47:30.133752333Z",
      "provider": "osv",
      "upstream": [
        "CVE-2012-3518"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2012-3518"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2012-3518",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 417280,
  "published_at": "2012-08-26T03:17:44.09+00:00"
}