
CVE catalog
CVE-2022-22707
lighttpd: CVE-2022-22707
- Severity
- Medium · CVSS 5.9
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 8.93% · Oct 25, 2026
In lighttpd 1.4.46 through 1.4.63, the mod_extforward_Forwarded function of the mod_extforward plugin has a stack-based buffer overflow (4 bytes representing -1), as demonstrated by remote denial of service (daemon crash) in a non-default configuration. The non-default configuration requires handling of the Forwarded header in a somewhat unusual manner. Also, a 32-bit system is much more likely to be affected than a 64-bit system.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | lighttpd | sid | 1.4.85-1 | fixed |
| Debian | lighttpd | forky | 1.4.85-1 | fixed |
| Debian | lighttpd | trixie | 1.4.79-2 | fixed |
| Debian | lighttpd | bookworm | 1.4.69-1 | fixed |
| Ubuntu | lighttpd | 20.04 | 1.4.53-4ubuntu2 | vulnerable |
| Ubuntu | lighttpd | 20.04 | 1.4.54-2ubuntu1 | vulnerable |
| Ubuntu | lighttpd | 20.04 | 1.4.55-1ubuntu1 | vulnerable |
| Ubuntu | lighttpd | 20.04 | 1.4.55-1ubuntu1.20.04.1 | vulnerable |
| Ubuntu | lighttpd | 20.04 | 1.4.55-1ubuntu1.20.04.2 | fixed |
| Ubuntu | lighttpd | 22.04 | 1.4.59-1ubuntu2 | vulnerable |
| Ubuntu | lighttpd | 22.04 | 1.4.59-1ubuntu3 | vulnerable |
| Ubuntu | lighttpd | 22.04 | 1.4.63-1ubuntu1 | vulnerable |
| Ubuntu | lighttpd | 22.04 | 1.4.63-1ubuntu2 | vulnerable |
| Ubuntu | lighttpd | 22.04 | 1.4.63-1ubuntu3 | vulnerable |
| Ubuntu | lighttpd | 22.04 | 1.4.63-1ubuntu3.1 | fixed |
| Ubuntu | lighttpd | 20.04 | 1.4.53-4ubuntu2 | vulnerable |
| Ubuntu | lighttpd | 20.04 | 1.4.54-2ubuntu1 | vulnerable |
| Ubuntu | lighttpd | 20.04 | 1.4.55-1ubuntu1 | vulnerable |
| Ubuntu | lighttpd | 20.04 | 1.4.55-1ubuntu1.20.04.1 | vulnerable |
| Ubuntu | lighttpd | 20.04 | 1.4.55-1ubuntu1.20.04.2 | fixed |
| Ubuntu | lighttpd | 22.04 | 1.4.59-1ubuntu2 | vulnerable |
| Ubuntu | lighttpd | 22.04 | 1.4.59-1ubuntu3 | vulnerable |
| Ubuntu | lighttpd | 22.04 | 1.4.63-1ubuntu1 | vulnerable |
| Ubuntu | lighttpd | 22.04 | 1.4.63-1ubuntu2 | vulnerable |
| Ubuntu | lighttpd | 22.04 | 1.4.63-1ubuntu3 | vulnerable |
| Ubuntu | lighttpd | 22.04 | 1.4.63-1ubuntu3.1 | fixed |
| Opensuse | lighttpd | tumbleweed | 1.4.64-1.1 | fixed |
| Suse | lighttpd | package hub 15 sp3 | 1.4.64-bp153.2.3.1 | fixed |
| Opensuse | lighttpd | leap 15.3 | 1.4.64-bp153.2.3.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | lighttpd | source | sid | 1.4.64-1 | not yet assigned | Not reported | Not reported |
| Debian | lighttpd | source | forky | 1.4.64-1 | not yet assigned | Not reported | Not reported |
| Debian | lighttpd | source | trixie | 1.4.64-1 | not yet assigned | Not reported | Not reported |
| Debian | lighttpd | source | bookworm | 1.4.64-1 | not yet assigned | Not reported | Not reported |
| Ubuntu | lighttpd | deb | 20.04 | 1.4.55-1ubuntu1.20.04.2 | Not reported | USN-5903-1 | Not reported |
| Ubuntu | lighttpd | deb | 22.04 | 1.4.63-1ubuntu3.1 | Not reported | USN-5903-1 | Not reported |
| Ubuntu | lighttpd | deb | 20.04 | 1.4.55-1ubuntu1.20.04.2 | Not reported | UBUNTU-CVE-2022-22707 | Not reported |
| Ubuntu | lighttpd | deb | 22.04 | 1.4.63-1ubuntu3.1 | Not reported | UBUNTU-CVE-2022-22707 | Not reported |
| Opensuse | lighttpd | rpm | tumbleweed | 1.4.64-1.1 | Not reported | OPENSUSE-SU-2024:11764-1 | Not reported |
| Suse | lighttpd | rpm | package hub 15 sp3 | 1.4.64-bp153.2.3.1 | Not reported | OPENSUSE-SU-2022:0024-1 | Not reported |
| Opensuse | lighttpd | rpm | leap 15.3 | 1.4.64-bp153.2.3.1 | Not reported | OPENSUSE-SU-2022:0024-1 | Not reported |
OpenFactory catalog packages
[openSUSE Tumbleweed]
- [lighttpd-mod_authn_dbi]Unknown
Source package: [lighttpd]
Details (1)
1.4.85-1.2· x86_64 · tumbleweedUnknown · Fixed:
1.4.64-1.1Version impact unknown
dsa · lighttpd · opensuse · tumbleweed
- [lighttpd-mod_authn_gssapi]Unknown
Source package: [lighttpd]
Details (1)
1.4.85-1.2· x86_64 · tumbleweedUnknown · Fixed:
1.4.64-1.1Version impact unknown
dsa · lighttpd · opensuse · tumbleweed
- [lighttpd-mod_authn_ldap]Unknown
Source package: [lighttpd]
Details (1)
1.4.85-1.2· x86_64 · tumbleweedUnknown · Fixed:
1.4.64-1.1Version impact unknown
dsa · lighttpd · opensuse · tumbleweed
- [lighttpd-mod_authn_pam]Unknown
Source package: [lighttpd]
Details (1)
1.4.85-1.2· x86_64 · tumbleweedUnknown · Fixed:
1.4.64-1.1Version impact unknown
dsa · lighttpd · opensuse · tumbleweed
- [lighttpd-mod_authn_sasl]Unknown
Source package: [lighttpd]
Details (1)
1.4.85-1.2· x86_64 · tumbleweedUnknown · Fixed:
1.4.64-1.1Version impact unknown
dsa · lighttpd · opensuse · tumbleweed
- [lighttpd-mod_deflate]Unknown
Source package: [lighttpd]
Details (1)
1.4.85-1.2· x86_64 · tumbleweedUnknown · Fixed:
1.4.64-1.1Version impact unknown
dsa · lighttpd · opensuse · tumbleweed
- [lighttpd-mod_gnutls]Unknown
Source package: [lighttpd]
Details (1)
1.4.85-1.2· x86_64 · tumbleweedUnknown · Fixed:
1.4.64-1.1Version impact unknown
dsa · lighttpd · opensuse · tumbleweed
- [lighttpd-mod_magnet]Unknown
Source package: [lighttpd]
Details (1)
1.4.85-1.2· x86_64 · tumbleweedUnknown · Fixed:
1.4.64-1.1Version impact unknown
dsa · lighttpd · opensuse · tumbleweed
- [lighttpd-mod_maxminddb]Unknown
Source package: [lighttpd]
Details (1)
1.4.85-1.2· x86_64 · tumbleweedUnknown · Fixed:
1.4.64-1.1Version impact unknown
dsa · lighttpd · opensuse · tumbleweed
- [lighttpd-mod_mbedtls]Unknown
Source package: [lighttpd]
Details (1)
1.4.85-1.2· x86_64 · tumbleweedUnknown · Fixed:
1.4.64-1.1Version impact unknown
dsa · lighttpd · opensuse · tumbleweed
- [lighttpd-mod_nss]Unknown
Source package: [lighttpd]
Details (1)
1.4.85-1.2· x86_64 · tumbleweedUnknown · Fixed:
1.4.64-1.1Version impact unknown
dsa · lighttpd · opensuse · tumbleweed
- [lighttpd-mod_openssl]Unknown
Source package: [lighttpd]
Details (1)
1.4.85-1.2· x86_64 · tumbleweedUnknown · Fixed:
1.4.64-1.1Version impact unknown
dsa · lighttpd · opensuse · tumbleweed
- [lighttpd-mod_rrdtool]Unknown
Source package: [lighttpd]
Details (1)
1.4.85-1.2· x86_64 · tumbleweedUnknown · Fixed:
1.4.64-1.1Version impact unknown
dsa · lighttpd · opensuse · tumbleweed
- [lighttpd-mod_vhostdb_dbi]Unknown
Source package: [lighttpd]
Details (1)
1.4.85-1.2· x86_64 · tumbleweedUnknown · Fixed:
1.4.64-1.1Version impact unknown
dsa · lighttpd · opensuse · tumbleweed
- [lighttpd-mod_vhostdb_ldap]Unknown
Source package: [lighttpd]
Details (1)
1.4.85-1.2· x86_64 · tumbleweedUnknown · Fixed:
1.4.64-1.1Version impact unknown
dsa · lighttpd · opensuse · tumbleweed
- [lighttpd-mod_vhostdb_mysql]Unknown
Source package: [lighttpd]
Details (1)
1.4.85-1.2· x86_64 · tumbleweedUnknown · Fixed:
1.4.64-1.1Version impact unknown
dsa · lighttpd · opensuse · tumbleweed
- [lighttpd-mod_vhostdb_pgsql]Unknown
Source package: [lighttpd]
Details (1)
1.4.85-1.2· x86_64 · tumbleweedUnknown · Fixed:
1.4.64-1.1Version impact unknown
dsa · lighttpd · opensuse · tumbleweed
- [lighttpd-mod_webdav]Unknown
Source package: [lighttpd]
Details (1)
1.4.85-1.2· x86_64 · tumbleweedUnknown · Fixed:
1.4.64-1.1Version impact unknown
dsa · lighttpd · opensuse · tumbleweed
[Debian 12 (Bookworm)]
- [lighttpd]Fixed
Details (2)
1.4.69-1· amd64 · bookwormFixed · Fixed:
1.4.64-1dsa · lighttpd · debian · bookworm
1.4.69-1· arm64 · bookwormFixed · Fixed:
1.4.64-1dsa · lighttpd · debian · bookworm
- [lighttpd-doc]Fixed
Source package: [lighttpd]
Details (2)
1.4.69-1· all · bookwormFixed · Fixed:
1.4.64-1dsa · lighttpd · debian · bookworm
1.4.69-1· all · bookwormFixed · Fixed:
1.4.64-1dsa · lighttpd · debian · bookworm
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2022_0024-1.json]
- [https://osv.dev/vulnerability/DSA-5040-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2022-22707]
- [https://osv.dev/vulnerability/USN-5903-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2022:0024-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2024:11764-1]
- [https://security-tracker.debian.org/tracker/CVE-2022-22707]
- [https://wid.cert-bund.de/.well-known/csaf/white/2022/wid-sec-w-2023-0506.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [SUSE security advisories and VEX]