All vulnerabilities

Servers and applications

CVE-2007-4727

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

Severity
Medium 6.8
Published
12 Sept 2007
Last changed
16 Jun 2026
Added to UpHeron
1 Nov 2026
Exploit chance
13% in the next 30 daysHigher than 96% of CVEs. EPSS by FIRST, 12 Nov 2026
Weakness
Memory buffer errors (CWE-119)
Attack
Over the network · No login needed
Attacker can
Read some data · Change some data · Slow it down
CVSS vector
AV:N/AC:M/Au:N/C:P/I:P/A:P
Sources
NVD

Affected software

SoftwareAffected versions
lighttpdServers and applications · cpe:a:lighttpd:lighttpd
  • Every version up to 1.4.15

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2007-4727
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2007-4727