CVE-2007-4727: Lighttpd

Medium severity, CVSS 6.8. EPSS: 13% probability of exploitation activity in the next 30 days.

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."

What to do

No fixed version is stated in NVD's or the CNA's structured data. The description says "before 1.4.18"; check the vendor's advisory for the release that fixes it.

Affected products

Published 2007-09-12. Last modified 2026-06-16.