Description
mod_cgi in lighttpd 1.4.18 sends the source code of CGI scripts instead of a 500 error when a fork failure occurs, which might allow remote attackers to obtain sensitive information.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | lighttpd | 1.4.18-4 | — |
| Debian 13 | lighttpd | 1.4.18-4 | — |
| Debian 12 | lighttpd | 1.4.18-4 | — |
| Debian 4.0 | lighttpd | 1.4.13-4etch5 | DSA-1513-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | lighttpd | 1.4.59-2.1 | openSUSE-SU-2024:10585-1 |
Advisories 2
- DSA-1513-1 lighttpd - information disclosure Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2024:10585-1 lighttpd-1.4.59-2.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
References
- 29268 third-party-advisory
- 29622 third-party-advisory
- ADV-2008-0763 vdb-entry
- 29318 third-party-advisory
- SUSE-SR:2008:008 vendor-advisory
- 29209 third-party-advisory
- DSA-1513 vendor-advisory
- FEDORA-2008-2262 vendor-advisory
- 28100 vdb-entry
- 20080312 rPSA-2008-0106-1 lighttpd mailing-list
- 29275 third-party-advisory
- GLSA-200803-10 vendor-advisory
- https://issues.rpath.com/browse/RPL-2326
- https://bugs.gentoo.org/show_bug.cgi?id=211956
- FEDORA-2008-2278 vendor-advisory
- http://trac.lighttpd.net/trac/changeset/2107
- 29235 third-party-advisory
- http://wiki.rpath.com/wiki/Advisories:rPSA-2008-0106
- lighttpd-modcgi-information-disclosure(41008) vdb-entry