{
  "schema_version": "1.5.0",
  "id": "CURL-CVE-2005-3185",
  "aliases": [
    "CVE-2005-3185"
  ],
  "summary": "NTLM Buffer Overflow",
  "modified": "2026-04-25T17:48:46.00Z",
  "database_specific": {
    "package": "curl",
    "affects": "both",
    "URL": "https://curl.se/docs/CVE-2005-3185.json",
    "www": "https://curl.se/docs/CVE-2005-3185.html",
    "CWE": {
      "id": "CWE-121",
      "desc": "Stack-based Buffer Overflow"
    },
    "last_affected": "7.14.1",
    "severity": "High"
  },
  "published": "2005-10-13T08:00:00.00Z",
  "affected": [
    {
      "ranges": [
        {
           "type": "SEMVER",
           "events": [
             {"introduced": "7.10.6"},
             {"fixed": "7.15.0"}
           ]
        },
        {
           "type": "GIT",
           "repo": "https://github.com/curl/curl.git",
           "events": [
             {"introduced": "bdb5e5a25037a585e0ec6b83d29b25961c6823f8"},
             {"fixed": "943aea62679fb9f2d6d7abe59b5edcba21490c52"}
           ]
        }
      ],
      "versions": [
        "7.14.1", "7.14.0", "7.13.2", "7.13.1", "7.13.0", "7.12.3", "7.12.2", 
        "7.12.1", "7.12.0", "7.11.2", "7.11.1", "7.11.0", "7.10.8", "7.10.7", 
        "7.10.6"
      ]
    }
  ],
  "credits": [
    {
      "name": "iDEFENSE",
      "type": "FINDER"
    }
  ],
  "details": "libcurl's NTLM function can overflow a stack-based buffer if given a too long\nusername or domain name. This would happen if you enable NTLM authentication\nand either:\n\n A - pass in a username and domain name to libcurl that together are longer\n     than 192 bytes\n\n B - allow (lib)curl to follow HTTP \"redirects\" (Location: and the appropriate\n     HTTP 30x response code) and the new URL contains a URL with a username\n     and domain name that together are longer than 192 bytes"
}