Unauthenticated server crash via oversized URI
Published Feb 22, 2026 · Updated Feb 22, 2026
Out-of-bounds write in Tiny Web Server allows remote attackers to crash the server by requesting an oversized nonexistent URI. In client_error(), sprintf() copies the unvalidated request-derived filename into the fixed 8,192-byte linebuf stack buffer without a length bound. An unauthenticated HTTP GET with a missing-file URI around 8,180 bytes reaches the error path; the published demonstration confirms a stack-buffer-overflow crash, while code execution or disclosure is not demonstrated.
Summary
What happened
Out-of-bounds write in Tiny Web Server allows remote attackers to crash the server by requesting an oversized nonexistent URI. In client_error(), sprintf() copies the unvalidated request-derived filename into the fixed 8,192-byte linebuf stack buffer without a length bound. An unauthenticated HTTP GET with a missing-file URI around 8,180 bytes reaches the error path; the published demonstration confirms a stack-buffer-overflow crash, while code execution or disclosure is not demonstrated.
The record
- CVE
- CVE-2026-2940
- Published
- Feb 22, 2026
- Updated
- Feb 22, 2026
- Vendor
- Zaher1307
- Product
- Tiny Web Server
- Classifications
- CWE-119, CWE-787, T1190
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Feb 22, 2026CVE publishedPublication date reported by the CVE source.
- Feb 22, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=8d77b1044a0ca3a5297d8726ac8aa2cf944d481b
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Oversized HTTP GET URI proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo