Back
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…
Medium6.8EPSS 12.9%
- Published
- Updated
- Reserved
- Assigned by
- mitre
Description
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."
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | Medium6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
- EPSS (exploitation in 30 days)
- 12.9% · top 3.7% of all CVEs (4 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.8.
Weakness
Affected products
n/a
- affected n/a
References (18)
- https://issues.rpath.com/browse/RPL-1715 (opens in a new tab)x_refsource_CONFIRMx_transferred
- 20070917 FLEA-2007-0054-1 lighttpd (opens in a new tab)mailing-listx_refsource_BUGTRAQx_transferred
- FEDORA-2007-2132 (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- 26732 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- GLSA-200709-16 (opens in a new tab)vendor-advisoryx_refsource_GENTOOx_transferred
- http://secweb.se/en/advisories/lighttpd-fastcgi-remote-vulnerability/ (opens in a new tab)x_refsource_MISCx_transferred
- 25622 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- https://bugzilla.redhat.com/show_bug.cgi?id=284511 (opens in a new tab)x_refsource_MISCx_transferred
- http://www.lighttpd.net/assets/2007/9/9/lighttpd_sa_2007_12.txt (opens in a new tab)x_refsource_CONFIRMx_transferred
- lighttpd-modfastcgi-code-execution(36526) (opens in a new tab)vdb-entryx_refsource_XFx_transferred
- 3127 (opens in a new tab)third-party-advisoryx_refsource_SREASONx_transferred
- 26997 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- http://trac.lighttpd.net/trac/changeset/1986 (opens in a new tab)x_refsource_CONFIRMx_transferred
- 26824 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- ADV-2007-3110 (opens in a new tab)vdb-entryx_refsource_VUPENx_transferred
- 27229 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 26794 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- SUSE-SR:2007:020 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2007-4727)Record last updated .