# CVE-2023-50965: In MicroHttpServer (aka Micro HTTP Server) through 4398570, ReadStaticFiles in lib/middleware.c allows a stack-based buffer overflow and po…

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.53%, higher than 75% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-12-17T00:00:00.000Z
- Modified: 2026-06-17T06:40:19.720Z
- Weaknesses: CWE-787
- Assigned by: mitre

## Description

In MicroHttpServer (aka Micro HTTP Server) through 4398570, _ReadStaticFiles in lib/middleware.c allows a stack-based buffer overflow and potentially remote code execution via a long URI.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- starnight micro_http_server: no versions given

## References

- <https://github.com/starnight/MicroHttpServer/issues/5> (exploit, issue-tracking, mitigation, third-party-advisory)
- <https://github.com/starnight/MicroHttpServer/tree/43985708ef5fe7677392c54e229bd22e136c2665> (product)

## Sources

- CVE List: [CVE-2023-50965](https://www.cve.org/CVERecord?id=CVE-2023-50965), CVE Terms of Use, modified 2024-08-02
- NVD: [CVE-2023-50965](https://nvd.nist.gov/vuln/detail/CVE-2023-50965), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-50965 · Whole record: https://cve.day/CVE-2023-50965.json · Rebuilt by cve.day 2026-11-25T22:58:31.460Z
