CVE-2007-4727 json
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 r…
published 2007-09-12 19 y ago modified 2026-06-16 4 mo ago also EUVD-2007-4708
- cvss
- 6.8
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 12.9%
- EPSS 12.9% chance of exploitation in 30 days, percentile 96%
- public exploits
- 0
- none known
Summary
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."
Patch / fix
- lighttpd Debian 14, Debian 13, Debian 12 1.4.18-1
debian advisories DEBIAN-CVE-2007-4727
Exploit prediction
12.90% chance of exploitation in the next 30 days, higher than 96% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
References
-
fedoranews.org
/updates/FEDORA-2007-213.shtml
vendor-advisory
-
gentoo.org
/security/en/glsa/glsa-200709-16.xml
vendor-advisory
-
novell.com
/linux/security/advisories/2007_20_sr.html
vendor-advisory
-
secunia.com
/advisories/26732
third-party-advisory, vendor-advisory
- issues.rpath.com /browse/RPL-1715
-
securityfocus.com
/archive/1/479763/100/0/threaded
mailing-list
- secweb.se /en/advisories/lighttpd-fastcgi-remote-vulnerability/
-
securityfocus.com
/bid/25622
vdb-entry
- bugzilla.redhat.com /show_bug.cgi?id=284511
- lighttpd.net /assets/2007/9/9/lighttpd_sa_2007_12.txt
-
exchange.xforce.ibmcloud.com
/vulnerabilities/36526
vdb-entry
-
securityreason.com
/securityalert/3127
third-party-advisory
-
secunia.com
/advisories/26997
third-party-advisory
- trac.lighttpd.net /trac/changeset/1986
-
secunia.com
/advisories/26824
third-party-advisory
-
vupen.com
/english/advisories/2007/3110
vdb-entry
-
secunia.com
/advisories/27229
third-party-advisory
-
secunia.com
/advisories/26794
third-party-advisory
Sources
- CVE List CVE-2007-4727
- NVD CVE-2007-4727
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.