CVE-2012-5640: thttpd has a local DoS vulnerability via specially-crafted .htpasswd files
CVE-2012-5640 is a medium-severity flaw (CVSS 5.5) affecting thttpd. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
thttpd has a local DoS vulnerability via specially-crafted .htpasswd files
Why this priority
- No elevated risk signals yet
No fix is published yet: follow the downgrade or mitigation steps.
Risk facts
| CVSS score | 5.5 (Medium) |
| Attack vector | Local |
| Attack complexity | Low |
| Privileges needed | Low |
| User interaction | None |
| EPSS exploit chance | 0.4% (top 67%) |
| CISA exploited list | No |
| Weakness | CWE-476 |
| Published | 2019-11-25 |
| 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-2012-5640?
thttpd: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2012-5640 being exploited?
CVE-2012-5640 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-2012-5640 affect?
CVE-2012-5640 affects thttpd. Severity is medium (CVSS 5.5). thttpd has a local DoS vulnerability via specially-crafted .htpasswd files
How urgent is CVE-2012-5640?
Priority 27/100. No elevated risk signals yet.
Related CVEs
- CVE-2000-0900 HIGH 7.5 DOWNGRADE Directory traversal vulnerability in ssi CGI program in thttpd 2.19 and earlier allows remote attackers to rea
- CVE-2017-17663 CRITICAL 9.8 UPGRADE UPGRADE The htpasswd implementation of mini_httpd before v1.28 and of thttpd before v2.28 is affected by a buffer over
- CVE-2013-0348 LOW 2.1 UPGRADE MITIGATE thttpd.c in sthttpd before 2.26.4-r2 and thttpd 2.25b use world-readable permissions for /var/log/thttpd.log,
- CVE-2009-4491 CRITICAL 9.8 DOWNGRADE thttpd 2.25b0 writes data to a log file without sanitizing non-printable characters, which might allow remote
- CVE-2007-0664 MEDIUM 5.0 UPGRADE thttpd before 2.25b-r6 in Gentoo Linux is started from the system root directory (/) by the Gentoo baselayout