CVE-2007-4727
CVE-2007-4727 is a medium-severity vulnerability in Lighttpd with a CVSS 2.0 base score of 6.8. Its EPSS exploit-prediction score of 13% places it in the 96th percentile, indicating an elevated likelihood of exploitation. The underlying weakness is classified as CWE-119.
Key facts
- Severity: Medium (CVSS 2.0 base score 6.8)
- EPSS exploit prediction: 13% (96th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-119
- Affected product: Lighttpd
- Published:
- Last modified:
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."
Frequently asked questions
- What is 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."
- How severe is CVE-2007-4727?
- CVE-2007-4727 has a CVSS 2.0 base score of 6.8, rated medium severity.
- Is CVE-2007-4727 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 13% (96th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2007-4727?
- CVE-2007-4727 affects Lighttpd. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2007-4727?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- When was CVE-2007-4727 published?
- CVE-2007-4727 was published on 2007-09-12 and last updated on 2026-06-16.
References
- http://fedoranews.org/updates/FEDORA-2007-213.shtml
- http://secunia.com/advisories/26732
- http://secunia.com/advisories/26794
- http://secunia.com/advisories/26824
- http://secunia.com/advisories/26997
- http://secunia.com/advisories/27229
- http://securityreason.com/securityalert/3127
- http://secweb.se/en/advisories/lighttpd-fastcgi-remote-vulnerability/
- http://trac.lighttpd.net/trac/changeset/1986
- http://www.gentoo.org/security/en/glsa/glsa-200709-16.xml
- http://www.lighttpd.net/assets/2007/9/9/lighttpd_sa_2007_12.txt
- http://www.novell.com/linux/security/advisories/2007_20_sr.html
- http://www.securityfocus.com/archive/1/479763/100/0/threaded
- http://www.securityfocus.com/bid/25622
- http://www.vupen.com/english/advisories/2007/3110
- https://bugzilla.redhat.com/show_bug.cgi?id=284511
- https://exchange.xforce.ibmcloud.com/vulnerabilities/36526
- https://issues.rpath.com/browse/RPL-1715
Affected products (1)
- cpe:2.3:a:lighttpd:lighttpd:*:*:*:*:*:*:*:*
More vulnerabilities in Lighttpd
- CVE-2019-11072 — Critical (CVSS 9.8): lighttpd before 1.4.54 has a signed integer overflow, which might allow remote attackers to cause a denial of service…
- CVE-2014-2323 — Critical (CVSS 9.8): SQL injection vulnerability in mod_mysql_vhost.c in lighttpd before 1.4.35 allows remote attackers to execute arbitrary…
- CVE-2025-12642 — Critical (CVSS 9.1): lighttpd1.4.80 incorrectly merged trailer fields into headers after http request parsing. This behavior can be…
- CVE-2007-3949 — High (CVSS 8.3): mod_access.c in lighttpd 1.4.15 ignores trailing / (slash) characters in the URL, which allows remote attackers to…
- CVE-2007-1870 — High (CVSS 7.8): lighttpd before 1.4.14 allows attackers to cause a denial of service (crash) via a request to a file whose mtime is 0,…
- CVE-2013-4559 — High (CVSS 7.6): lighttpd before 1.4.33 does not check the return value of the (1) setuid, (2) setgid, or (3) setgroups functions, which…
Other CWE-119 (Improper Restriction of Operations within the Bounds of a Memory Buffer) vulnerabilities
- CVE-2026-2778 — Critical (CVSS 10.0): Sandbox escape due to incorrect boundary conditions in the DOM: Core & HTML component. This vulnerability was fixed in…
- CVE-2026-2776 — Critical (CVSS 10.0): Sandbox escape due to incorrect boundary conditions in the Telemetry component in External Software. This vulnerability…
- CVE-2025-1866 — Critical (CVSS 10.0): Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability in warmcat libwebsockets allows…
- CVE-2022-27625 — Critical (CVSS 10.0): A vulnerability regarding improper restriction of operations within the bounds of a memory buffer is found in the…
- CVE-2022-27624 — Critical (CVSS 10.0): A vulnerability regarding improper restriction of operations within the bounds of a memory buffer is found in the…
- CVE-2020-11896 — Critical (CVSS 10.0): The Treck TCP/IP stack before 6.0.1.66 allows Remote Code Execution, related to IPv4 tunneling.