Skip to content
Heist/ feed
Back to feed
UnratedFix available

curl — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2005-4077

Multiple off-by-one errors in the cURL library (libcurl) 7.11.2 through 7.15.0 allow local users to trigger a buffer overflow and cause a denial of service or bypass PHP security restrictions via certain URLs that (1) are malformed in a way that prevents a terminating null byte from being added to either a hostname or path buffer, or (2) contain a "?" separator in the hostname portion, which causes a "/" to be prepended to the resulting string.

Products
curl
Affected versions
Not specified
Fixed versions
7.15.1-1
CVEs
CVE-2005-4077
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 20:47 UTC · Revision 1

Source evidence

DEBIAN-CVE-2005-4077

core-osv · Original source

Published 8 Dec 2005, 01:03 UTC

Multiple off-by-one errors in the cURL library (libcurl) 7.11.2 through 7.15.0 allow local users to trigger a buffer overflow and cause a denial of service or bypass PHP security restrictions via certain URLs that (1) are malformed in a way that prevents a terminating null byte from being added to either a hostname or path buffer, or (2) contain a "?" separator in the hostname portion, which causes a "/" to be prepended to the resulting string.

osv:DEBIAN-CVE-2005-4077

curl

Fixed versions: 7.15.1-1

curl

Fixed versions: 7.15.1-1

curl

Fixed versions: 7.15.1-1

Complete source record
{
  "id": "3e2400f9c27a41029af11f9fd19f0c3e472f03a4163f88110e06c2c6020e639e",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2005-4077",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2005-4077",
    "summary": "Multiple off-by-one errors in the cURL library (libcurl) 7.11.2 through 7.15.0 allow local users to trigger a buffer overflow and cause a denial of service or bypass PHP security restrictions via certain URLs that (1) are malformed in a way that prevents a terminating null byte from being added to either a hostname or path buffer, or (2) contain a \"?\" separator in the hostname portion, which causes a \"/\" to be prepended to the resulting string.",
    "evidence": "osv:DEBIAN-CVE-2005-4077",
    "products": [
      {
        "name": {
          "value": "curl",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "7.15.1-1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "curl",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "7.15.1-1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "curl",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "7.15.1-1",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "DEBIAN-CVE-2005-4077",
      "aliases": [
        "DEBIAN-CVE-2005-4077"
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "7.15.1-1"
                }
              ]
            }
          ],
          "package": {
            "name": "curl",
            "purl": "pkg:deb/debian/curl?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2005-4077.json"
          },
          "ecosystem_specific": {
            "urgency": "medium"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "7.15.1-1"
                }
              ]
            }
          ],
          "package": {
            "name": "curl",
            "purl": "pkg:deb/debian/curl?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2005-4077.json"
          },
          "ecosystem_specific": {
            "urgency": "medium"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "7.15.1-1"
                }
              ]
            }
          ],
          "package": {
            "name": "curl",
            "purl": "pkg:deb/debian/curl?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2005-4077.json"
          },
          "ecosystem_specific": {
            "urgency": "medium"
          }
        }
      ],
      "modified": "2026-10-23T03:47:40.892378198Z",
      "provider": "osv",
      "upstream": [
        "CVE-2005-4077"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2005-4077"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2005-4077",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 412118,
  "published_at": "2005-12-08T01:03:00+00:00"
}