Summary
CVE-2026-119760 is a NULL pointer dereference vulnerability (CWE-476) in resolv_cancel() in sniproxy, the TLS/HTTP proxy that routes by SNI name or Host header. A remote, unauthenticated attacker can crash the daemon, causing denial of service. The CVE record lists a CVSS v4.0 score of 8.7 (High).
Technical details
- Root cause:
valid_hostname()accepts hostnames up to 255 characters, but DNS names are limited to 253. When libudns rejects an overlong name,resolv_query()returns NULL.resolve_server_address()still places the connection in the RESOLVING state with a NULL query handle. - Trigger conditions: The client sends a 254–255 character TLS SNI name or HTTP Host header that matches a wildcard (
*) backend entry, then closes the connection. Closing callsresolv_cancel()with a NULL handle, and the daemon crashes with a segmentation fault. A 253-character name does not reproduce the crash (per the upstream issue report). - Attack vector: Network. No authentication or user interaction is needed.
- Impact: The sniproxy process terminates, so all proxied services behind it become unavailable. The record does not describe any confidentiality or integrity impact.
Affected software
- sniproxy (dlundquist/sniproxy) versions through 0.7.0 (inclusive).
- Exposure requires a configuration with a wildcard backend that matches the attacker-supplied name.
Severity
- CVSS v4.0: 8.7 (High) –
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N - CVSS v3.1: 7.5 (High) –
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Mitigation and recommended actions
- Immediate: The CVE record does not name a fixed upstream release. The record notes that patches are available as commits in the renaudallard fork of sniproxy. Review and apply those commits, or watch the upstream project (issue #411) for an official fix.
- Workarounds: The sources do not list an official workaround. Reasonable interim steps, which are general hardening and not vendor guidance, are to avoid wildcard backend entries where possible. You can also put a filter in front of sniproxy that drops SNI names or Host headers longer than 253 characters.
- Run sniproxy under a supervisor that restarts it automatically, and monitor for unexpected crashes.

