CVE-2022-37797: In lighttpd 1.4.65, mod_wstunnel does not initialize a handler function pointer if an invalid HTTP request (we
CVE-2022-37797 is a high-severity flaw (CVSS 7.5) affecting lighttpd, debian linux. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- High severity
- Public exploit reference
- Remotely exploitable, no login, no user action
- On your watchlist
No fix is published yet: follow the downgrade or mitigation steps.
Risk facts
| CVSS score | 7.5 (High) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 2.5% (top 15%) |
| CISA exploited list | No |
| Weakness | CWE-476 |
| Published | 2022-09-12 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2022-37797?
lighttpd: downgrade or apply the listed mitigation; debian linux: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2022-37797 being exploited?
CVE-2022-37797 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2022-37797 affect?
CVE-2022-37797 affects lighttpd, debian linux. Severity is high (CVSS 7.5). 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 att
How urgent is CVE-2022-37797?
Priority 63/100. High severity; Public exploit reference; Remotely exploitable, no login, no user action; On your watchlist
Software pages
Debian vulnerabilities · lighttpd vulnerabilities
Related CVEs
- CVE-2025-12642 CRITICAL 9.1 DOWNGRADE lighttpd1.4.80 incorrectly merged trailer fields into headers after http request parsing
- CVE-2022-41556 HIGH 7.5 UPGRADE MITIGATE A resource leak in gw_backend.c in lighttpd 1.4.56 through 1.4.66 could lead to a denial of service (connectio
- CVE-2022-30780 HIGH 7.5 DOWNGRADE Lighttpd 1.4.56 through 1.4.58 allows a remote attacker to cause a denial of service (CPU consumption from stu
- CVE-2019-11072 CRITICAL 9.8 UPGRADE lighttpd before 1.4.54 has a signed integer overflow, which might allow remote attackers to cause a denial of
- CVE-2018-19052 HIGH 7.5 UPGRADE DOWNGRADE An issue was discovered in mod_alias_physical_handler in mod_alias.c in lighttpd before 1.4.50