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
CVE-2005-4077 is a medium-severity flaw (CVSS 4.6) affecting curl. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- No elevated risk signals yet
No fix is published yet: follow the downgrade or mitigation steps.
Risk facts
| CVSS score | 4.6 (Medium) |
| EPSS exploit chance | 0.5% (top 56%) |
| CISA exploited list | No |
| Weakness | CWE-189 |
| Published | 2005-12-08 |
| Last modified | 2026-06-16 |
Last updated 2026-06-16 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2005-4077?
curl: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2005-4077 being exploited?
CVE-2005-4077 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2005-4077 affect?
CVE-2005-4077 affects curl. Severity is medium (CVSS 4.6). 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
How urgent is CVE-2005-4077?
Priority 27/100. No elevated risk signals yet.
Software pages
PHP vulnerabilities · curl vulnerabilities
Related CVEs
- CVE-2022-27779 MEDIUM 5.3 UPGRADE MITIGATE libcurl wrongly allows cookies to be set for Top Level Domains (TLDs) if thehost name is provided with a trail
- CVE-2020-8169 HIGH 7.5 UPGRADE UPGRADE curl 7.62.0 through 7.70.0 is vulnerable to an information disclosure vulnerability that can lead to a partial
- CVE-2023-23915 MEDIUM 6.5 UPGRADE MITIGATE A cleartext transmission of sensitive information vulnerability exists in curl <v7.88.0 that could cause HSTS
- CVE-2023-27534 HIGH 8.8 UPGRADE MITIGATE A path traversal vulnerability exists in curl <8.0.0 SFTP implementation causes the tilde (~) character to be
- CVE-2023-28319 HIGH 7.5 UPGRADE UPGRADE A use after free vulnerability exists in curl <v8.1.0 in the way libcurl offers a feature to verify an SSH ser