CVE-2024-22087
CWE-787Published: January 5, 2024· Updated: Jun 17, 2026
Official Description
route in main.c in Pico HTTP Server in C through f3b69a6 has an sprintf stack-based buffer overflow via a long URI, leading to remote code execution.
Risk Analysis
Pico HTTP Server contains a stack-based buffer overflow vulnerability due to improper handling of long URIs. This flaw allows for remote code execution, and its critical CVSS score of 9.8 reflects the high impact on confidentiality, integrity, and availability.
There is no known public exploit for this vulnerability, and it is not currently listed in the CISA KEV catalog. It is remotely exploitable due to the network attack vector and low attack complexity.
Users should update to a patched version of Pico HTTP Server if available. Implement input validation for URI lengths as a defensive measure.
Technical Analysis
CVE-2024-22087 can be exploited remotely over the network without requiring physical or adjacent access, significantly expanding the attack surface for threat actors.
The vulnerability requires no privileges and no user interaction, making it a prime target for automated exploitation campaigns and worm-like propagation.
A successful exploit results in complete confidentiality breach (data exposure), full integrity compromise (data manipulation), availability disruption (denial of service), with a CVSS base score of 9.8.
From a weakness classification perspective (CWE-787): Out-of-bounds write vulnerabilities can lead to data corruption, crashes, or arbitrary code execution.
CVSS v3.1 Vector Breakdown
Affected Vendors & Products
Exploit & PoC Resources
Official Patches & Advisories
All References (4)
Quick Facts
Related CVEs (CWE-787)
Recommended Actions
- →Apply vendor patches immediately
- →Monitor CVE-2024-22087 in threat intel feeds
- →Review IDS/IPS signatures for exploitation attempts