# CVE-2022-22707: In lighttpd 1.4.46 through 1.4.63, the modextforwardForwarded function of the modextforward plugin has a stack-based buffer overflow (4 byt…

- Severity: Medium 5.9 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 9.66%, higher than 95% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-01-06T05:55:30.000Z
- Modified: 2026-06-17T04:28:50.213Z
- Weaknesses: CWE-787
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- lighttpd lighttpd: from 1.4.46 up to 1.4.63
- debian debian_linux: 10.0; 11.0

## Every score

- NVD: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:N/A:P`

## References

- <https://redmine.lighttpd.net/issues/3134> (exploit, vendor-advisory)
- <https://www.debian.org/security/2022/dsa-5040> (third-party-advisory, vendor-advisory)

## Sources

- CVE List: [CVE-2022-22707](https://www.cve.org/CVERecord?id=CVE-2022-22707), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2022-22707](https://nvd.nist.gov/vuln/detail/CVE-2022-22707), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-22707 · Whole record: https://cve.day/CVE-2022-22707.json · Rebuilt by cve.day 2026-11-25T22:58:09.145Z
