An issue was discovered in sthttpd through 2.27.1.
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA. Impact type from CWE-119 and the CVSS impact.
Summary
An issue was discovered in sthttpd through 2.27.1. On systems where the strcpy function is implemented with memcpy, the de_dotdot function may cause a Denial-of-Service (daemon crash) due to overlapping memory ranges being passed to memcpy. This can triggered with an HTTP GET request for a crafted filename. NOTE: this is similar to CVE-2017-10671, but occurs in a different part of the de_dotdot function.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:sthttpd_project:sthttpd:*:*:*:*:*:*:*:* | up to 2.27.1 | Vulnerable | Sthttpd Project |
- cpe:2.3:a:sthttpd_project:sthttpd:*:*:*:*:*:*:*:* Versions up to 2.27.1 Vulnerable ·Sthttpd Project
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2021-26843
- 2026-10-03 Alias added: GHSA-67j3-q5rv-5gjr
References
More Sthttpd Project Sthttpd vulnerabilities
- TI-2017-07800 Heap-based Buffer Overflow in the de_dotdot function in libhttpd.c in sthttpd before… CVSS 3.1HIGH 7.8
Sources
- CVE-2021-26843 · CVE Program
- CVE-2021-26843 · NVD
- FIRST EPSS
- GHSA-67j3-q5rv-5gjr · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences