Live threats

All CVEs / Sthttpd Project

CVE-2021-26843Sthttpd Project Sthttpd

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
1.5%
probability of exploitation in 30 days · percentile 74
Auth required
No
Published
Feb 7, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-119
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Sthttpd.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
sthttpd_projectsthttpd≤ 2.27.1

Official sources

References

Links published by the sources. Open them with care.