Live threats

All CVEs / Lighttpd

CVE-2007-4727Lighttpd

Medium 6.8 No auth neededHigh EPSS

Priority
57
CVSS 2.0
6.8
EPSS
12.9%
probability of exploitation in 30 days · percentile 97
Auth required
No
Published
Sep 12, 2007
Updated
Jun 16, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-119
Vector
AV:N/AC:M/Au:N/C:P/I:P/A:P

What happens

Buffer overflow in the fcgi_env_add function in mod_proxy_backend_fastcgi.c in the mod_fastcgi extension in lighttpd before 1.4.18 allows remote attackers to overwrite arbitrary CGI variables and execute arbitrary code via an HTTP request with a long content length, as demonstrated by overwriting the SCRIPT_FILENAME variable, aka a "header overflow."

Original NVD text.

What to do

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

Affected products (CPE)

VendorProductVersions
lighttpdlighttpd≤ 1.4.15

Official sources

References

Links published by the sources. Open them with care.