CVE-2012-10053 Simple Web Server Connection Header Buffer Overflow

Critical 9.3 Published Updated

Remote attackers can execute arbitrary code via a stack-based buffer overflow in the Connection header of Simple Web Server.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2012-10053?

CVE-2012-10053 is a critical memory corruption vulnerability in PMSoftware Simple Web Server, published on 8 Aug 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-121

Which versions are affected by CVE-2012-10053?

How do I fix CVE-2012-10053?

No fix has been published for CVE-2012-10053 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2012-10053 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2012-10053 exists.

Public exploit code: 2 Metasploit modules.

Sources

Also known as GHSA-2c3g-g985-wqv4.

Is CVE-2012-10053 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free