# CVE-2022-22707

- Priority: **Routine**
- Reason: Not severe (CVSS 5.9, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2022-01-06 · Modified: 2024-08-03
- Aliases: ALPINE-CVE-2022-22707, MGASA-2022-0161, openSUSE-SU-2022:0024-1, UBUNTU-CVE-2022-22707, DEBIAN-CVE-2022-22707, DSA-5040-1, openSUSE-SU-2024:11764-1
- Record: https://cvemate.com/vulnerability/CVE-2022-22707 · JSON: https://cvemate.com/vulnerability/CVE-2022-22707/json

## Description

```text
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.
```

## Signals

- CVSS: 5.9 medium (v3.1, NVD) CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 9.662%, percentile 95.628%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected

- alpine lighttpd (Alpine Linux): ≥ 1.4.46, \< 1.4.64-r0
- debian lighttpd (Debian): \< 1.4.53-4+deb10u2 \| \< 1.4.59-1+deb11u1 \| \< 1.4.64-1
- ubuntu lighttpd (Ubuntu): \< 1.4.55-1ubuntu1.20.04.2 \| \< 1.4.63-1ubuntu3.1
- debian debian\_linux: 10.0 \| 11.0
- lighttpd lighttpd: ≥ 1.4.46, ≤ 1.4.63
- mageia lighttpd (Mageia): \< 1.4.59-1.1.mga8
- opensuse lighttpd&distro=openSUSE Leap 15.3 (openSUSE): \< 1.4.64-bp153.2.3.1
- opensuse lighttpd&distro=openSUSE Tumbleweed (openSUSE): \< 1.4.64-1.1
- suse lighttpd&distro=SUSE Package Hub 15 SP3 (SUSE Linux Enterprise): \< 1.4.64-bp153.2.3.1

## References

- <https://redmine.lighttpd.net/issues/3134>
- <https://www.debian.org/security/2022/dsa-5040>
- <https://security.alpinelinux.org/vuln/CVE-2022-22707>
- <https://advisories.mageia.org/MGASA-2022-0161.html>
- <https://bugs.mageia.org/show_bug.cgi?id=29877>
- <https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/6P5G6MJW4Q5RKKPO7TS5CLAAEQ2QUYBE/>
- <https://bugzilla.suse.com/1146452>
- <https://bugzilla.suse.com/1181400>
- <https://bugzilla.suse.com/1194376>
- <https://www.suse.com/security/cve/CVE-2022-22707>
- <https://ubuntu.com/security/CVE-2022-22707>
- <https://ubuntu.com/security/notices/USN-5903-1>
- <https://www.cve.org/CVERecord?id=CVE-2022-22707>
- <https://security-tracker.debian.org/tracker/CVE-2022-22707>

---

Data as of 2026-12-05T04:58:39.043Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
