Critical severity · published Aug 8, 2025
CVE-2012-10053
Simple Web Server Connection Header Buffer Overflow
9.3
CVSS
1.7%
EPSS
No
On KEV
Description
Simple Web Server 2.2 rc2 contains a stack-based buffer overflow vulnerability in its handling of the Connection HTTP header. When a remote attacker sends an overly long string in this header, the server uses vsprintf() without proper bounds checking, leading to a buffer overflow on the stack. This flaw allows remote attackers to execute arbitrary code with the privileges of the web server process. The vulnerability is triggered before authentication.
Exploitation
Is it being used?
Exploit prediction (EPSS)1.7% · higher than 78% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
SW
Simple Web Server · PMSoftware
2.2 rc2 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2012-10053
CVE.org
https://www.cve.org/CVERecord?id=CVE-2012-10053
ghostinthelab.wordpress.com
http://ghostinthelab.wordpress.com/2012/07/19/simplewebserver-2-2-rc2-remote-buffer-overflow-exploit/
www.pmx.it
http://www.pmx.it/software/sws.asp
raw.githubusercontent.com
https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/windows/http/sws_connection_bof.rb
www.exploit-db.com
https://www.exploit-db.com/exploits/19937
www.exploit-db.com
https://www.exploit-db.com/exploits/20028
www.vulncheck.com
https://www.vulncheck.com/advisories/simple-web-server-connection-header-buffer-overflow
More from Simple Web Server
–
CVE-2005-1173
Buffer overflow in PMSoftware Simple Web Server 1.0 allows remote attackers to execute arbitrary code via a long GET request
