# CVE-2022-37797: In lighttpd 1.4.65, modwstunnel does not initialize a handler function pointer if an invalid HTTP request (websocket handshake) is received.

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/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): 2.57%, higher than 85% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-09-12T00:00:00.000Z
- Modified: 2026-06-17T04:55:15.500Z
- Weaknesses: CWE-476
- Assigned by: mitre

## Description

In lighttpd 1.4.65, mod_wstunnel does not initialize a handler function pointer if an invalid HTTP request (websocket handshake) is received. It leads to null pointer dereference which crashes the server. It could be used by an external attacker to cause denial of service condition.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- lighttpd lighttpd: 1.4.65
- debian debian_linux: 10.0

## References

- <https://redmine.lighttpd.net/issues/3165> (exploit, issue-tracking, third-party-advisory)
- <https://www.debian.org/security/2022/dsa-5243> (mailing-list, third-party-advisory, vendor-advisory)
- <https://lists.debian.org/debian-lts-announce/2022/10/msg00002.html> (mailing-list, third-party-advisory)
- <https://security.gentoo.org/glsa/202210-12> (third-party-advisory, vendor-advisory)

## Sources

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

---

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