{"id":"CVE-2005-4077","sourceIdentifier":"cve@mitre.org","published":"2005-12-08T01:03:00.000","lastModified":"2026-06-16T22:18:10.443","vulnStatus":"Modified","cveTags":[],"descriptions":[{"lang":"en","value":"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."}],"affected":[{"source":"cve@mitre.org","affectedData":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}]}],"metrics":{"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:L/AC:L/Au:N/C:P/I:P/A:P","baseScore":4.6,"accessVector":"LOCAL","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"},"baseSeverity":"MEDIUM","exploitabilityScore":3.9,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":true,"userInteractionRequired":false}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"CWE-189"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:daniel_stenberg:curl:7.11.2:*:*:*:*:*:*:*","matchCriteriaId":"FEA4CE0F-A3FB-4FAE-BC4E-3B521BB61A38"},{"vulnerable":true,"criteria":"cpe:2.3:a:daniel_stenberg:curl:7.12:*:*:*:*:*:*:*","matchCriteriaId":"2D8252E6-8114-43CB-BC12-9080AA6B1423"},{"vulnerable":true,"criteria":"cpe:2.3:a:daniel_stenberg:curl:7.12.1:*:*:*:*:*:*:*","matchCriteriaId":"613E5C55-9301-41C3-9795-5A50E04221FC"},{"vulnerable":true,"criteria":"cpe:2.3:a:daniel_stenberg:curl:7.12.2:*:*:*:*:*:*:*","matchCriteriaId":"39E330B5-2970-4B41-99C7-28991F36A206"},{"vulnerable":true,"criteria":"cpe:2.3:a:daniel_stenberg:curl:7.12.3:*:*:*:*:*:*:*","matchCriteriaId":"D0B4E74A-07F1-4C01-A7A9-E7568F18BE76"},{"vulnerable":true,"criteria":"cpe:2.3:a:daniel_stenberg:curl:7.13:*:*:*:*:*:*:*","matchCriteriaId":"BC36DBF2-1E0C-45FE-A187-392B647A0644"},{"vulnerable":true,"criteria":"cpe:2.3:a:daniel_stenberg:curl:7.13.1:*:*:*:*:*:*:*","matchCriteriaId":"75BDCBBD-2CA2-4CA5-89A3-DE70429CC36B"},{"vulnerable":true,"criteria":"cpe:2.3:a:daniel_stenberg:curl:7.13.2:*:*:*:*:*:*:*","matchCriteriaId":"1BD8ED64-AEA2-4A8D-A40A-6525F62EDEDD"},{"vulnerable":true,"criteria":"cpe:2.3:a:daniel_stenberg:curl:7.14:*:*:*:*:*:*:*","matchCriteriaId":"4EF76A23-11A0-472D-823C-6E5C58A93407"},{"vulnerable":true,"criteria":"cpe:2.3:a:daniel_stenberg:curl:7.14.1:*:*:*:*:*:*:*","matchCriteriaId":"BE240603-1171-46FB-B9D6-6FC33210B943"},{"vulnerable":true,"criteria":"cpe:2.3:a:daniel_stenberg:curl:7.15:*:*:*:*:*:*:*","matchCriteriaId":"4C5B22B4-12F4-4C7F-B17C-9C37A5569C26"}]}]}],"references":[{"url":"ftp://ftp.sco.com/pub/updates/UnixWare/SCOSA-2006.16/SCOSA-2006.16.txt","source":"cve@mitre.org"},{"url":"http://curl.haxx.se/docs/adv_20051207.html","source":"cve@mitre.org","tags":["Patch","Vendor Advisory"]},{"url":"http://docs.info.apple.com/article.html?artnum=307562","source":"cve@mitre.org"},{"url":"http://lists.apple.com/archives/security-announce/2006/May/msg00003.html","source":"cve@mitre.org"},{"url":"http://lists.apple.com/archives/security-announce/2008/Mar/msg00001.html","source":"cve@mitre.org"},{"url":"http://qa.openoffice.org/issues/show_bug.cgi?id=59032","source":"cve@mitre.org"},{"url":"http://secunia.com/advisories/17907","source":"cve@mitre.org","tags":["Patch","Vendor Advisory"]},{"url":"http://secunia.com/advisories/17960","source":"cve@mitre.org","tags":["Vendor Advisory"]},{"url":"http://secunia.com/advisories/17961","source":"cve@mitre.org","tags":["Vendor Advisory"]},{"url":"http://secunia.com/advisories/17965","source":"cve@mitre.org","tags":["Vendor Advisory"]},{"url":"http://secunia.com/advisories/17977","source":"cve@mitre.org","tags":["Vendor Advisory"]},{"url":"http://secunia.com/advisories/18105","source":"cve@mitre.org","tags":["Vendor Advisory"]},{"url":"http://secunia.com/advisories/18188","source":"cve@mitre.org","tags":["Vendor Advisory"]},{"url":"http://secunia.com/advisories/18336","source":"cve@mitre.org","tags":["Vendor Advisory"]},{"url":"http://secunia.com/advisories/19261","source":"cve@mitre.org","tags":["Vendor Advisory"]},{"url":"http://secunia.com/advisories/19433","source":"cve@mitre.org","tags":["Vendor Advisory"]},{"url":"http://secunia.com/advisories/19457","source":"cve@mitre.org","tags":["Vendor Advisory"]},{"url":"http://secunia.com/advisories/20077","source":"cve@mitre.org","tags":["Vendor Advisory"]},{"url":"http://www.debian.org/security/2005/dsa-919","source":"cve@mitre.org"},{"url":"http://www.gentoo.org/security/en/glsa/glsa-200512-09.xml","source":"cve@mitre.org"},{"url":"http://www.gentoo.org/security/en/glsa/glsa-200603-25.xml","source":"cve@mitre.org"},{"url":"http://www.hardened-php.net/advisory_242005.109.html","source":"cve@mitre.org","tags":["Patch","Vendor Advisory"]},{"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2005:224","source":"cve@mitre.org"},{"url":"http://www.redhat.com/archives/fedora-announce-list/2005-December/msg00020.html","source":"cve@mitre.org"},{"url":"http://www.redhat.com/support/errata/RHSA-2005-875.html","source":"cve@mitre.org"},{"url":"http://www.securityfocus.com/archive/1/418849/100/0/threaded","source":"cve@mitre.org"},{"url":"http://www.securityfocus.com/bid/15756","source":"cve@mitre.org","tags":["Patch"]},{"url":"http://www.securityfocus.com/bid/17951","source":"cve@mitre.org"},{"url":"http://www.trustix.org/errata/2005/0072/","source":"cve@mitre.org"},{"url":"http://www.us-cert.gov/cas/techalerts/TA06-132A.html","source":"cve@mitre.org","tags":["US Government Resource"]},{"url":"http://www.vupen.com/english/advisories/2005/2791","source":"cve@mitre.org","tags":["Vendor Advisory"]},{"url":"http://www.vupen.com/english/advisories/2006/0960","source":"cve@mitre.org","tags":["Vendor Advisory"]},{"url":"http://www.vupen.com/english/advisories/2006/1779","source":"cve@mitre.org","tags":["Vendor Advisory"]},{"url":"http://www.vupen.com/english/advisories/2008/0924/references","source":"cve@mitre.org","tags":["Vendor Advisory"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10855","source":"cve@mitre.org"},{"url":"https://usn.ubuntu.com/228-1/","source":"cve@mitre.org"},{"url":"ftp://ftp.sco.com/pub/updates/UnixWare/SCOSA-2006.16/SCOSA-2006.16.txt","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://curl.haxx.se/docs/adv_20051207.html","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch","Vendor Advisory"]},{"url":"http://docs.info.apple.com/article.html?artnum=307562","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://lists.apple.com/archives/security-announce/2006/May/msg00003.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://lists.apple.com/archives/security-announce/2008/Mar/msg00001.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://qa.openoffice.org/issues/show_bug.cgi?id=59032","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/17907","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch","Vendor Advisory"]},{"url":"http://secunia.com/advisories/17960","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"]},{"url":"http://secunia.com/advisories/17961","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"]},{"url":"http://secunia.com/advisories/17965","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"]},{"url":"http://secunia.com/advisories/17977","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"]},{"url":"http://secunia.com/advisories/18105","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"]},{"url":"http://secunia.com/advisories/18188","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"]},{"url":"http://secunia.com/advisories/18336","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"]},{"url":"http://secunia.com/advisories/19261","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"]},{"url":"http://secunia.com/advisories/19433","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"]},{"url":"http://secunia.com/advisories/19457","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"]},{"url":"http://secunia.com/advisories/20077","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"]},{"url":"http://www.debian.org/security/2005/dsa-919","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.gentoo.org/security/en/glsa/glsa-200512-09.xml","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.gentoo.org/security/en/glsa/glsa-200603-25.xml","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.hardened-php.net/advisory_242005.109.html","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch","Vendor Advisory"]},{"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2005:224","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.redhat.com/archives/fedora-announce-list/2005-December/msg00020.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.redhat.com/support/errata/RHSA-2005-875.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.securityfocus.com/archive/1/418849/100/0/threaded","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.securityfocus.com/bid/15756","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"]},{"url":"http://www.securityfocus.com/bid/17951","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.trustix.org/errata/2005/0072/","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.us-cert.gov/cas/techalerts/TA06-132A.html","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["US Government Resource"]},{"url":"http://www.vupen.com/english/advisories/2005/2791","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"]},{"url":"http://www.vupen.com/english/advisories/2006/0960","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"]},{"url":"http://www.vupen.com/english/advisories/2006/1779","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"]},{"url":"http://www.vupen.com/english/advisories/2008/0924/references","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10855","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://usn.ubuntu.com/228-1/","source":"af854a3a-2127-422b-91ae-364da2661108"}]}