What’s Vulnerable › Vulnerabilities
CVE-2012-10058: RabidHamster R4 Log Entry sprintf() Buffer Overflow
- Severity: critical (CVSS 10.0 v4.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 2.0% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-08-13 · updated 2026-06-16
- Weakness: CWE-121
Description
RabidHamster R4 v1.25 contains a stack-based buffer overflow vulnerability due to unsafe use of sprintf() when logging malformed HTTP requests. A remote attacker can exploit this flaw by sending a specially crafted URI, resulting in arbitrary code execution under the context of the web server process.
Affected products
References
- http://aluigi.altervista.org/adv/r4_1-adv.txt
- https://advisories.checkpoint.com/defense/advisories/public/2013/cpai-07-jan405.html
- https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/windows/http/rabidhamster_r4_log.rb
- https://www.exploit-db.com/exploits/18929
- https://www.rabidhamster.org/R4/download.php
- https://www.vulncheck.com/advisories/rabidhamster-r4-log-entry-buffer-overflow
- https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/windows/http/rabidhamster_r4_log.rb
Get alerted when CVE-2012-10058 or the next vulnerability affects your stack