CVE-2026-144475: readsb before 3.16.8 NULL Pointer Dereference via Malformed PROXY Header
readsb before 3.16.8 contains a NULL pointer dereference vulnerability in readProxy() in netio.c that searches a PROXY protocol v1 header for three successive spaces with memchr() without checking whether each search found one. Remote unauthenticated attackers who can connect to a network input of a readsb instance that parses PROXY headers, enabled with --net-ingest or, since 3.14.1646, --devel=readProxy, can send a PROXY line with fewer than three spaces to crash the process.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
readsbto a version that resolves this vulnerability.Fixed in 3.16.8
Event History
Frequently Asked Questions
Which deployments are exposed to remote exploitation?
Instances are exposed when they accept network input and parse PROXY protocol v1 headers. This occurs with --net-ingest enabled or, in versions since 3.14.1646, with --devel=readProxy enabled.
What does an attacker need to send to trigger the issue?
An unauthenticated remote attacker only needs to be able to connect to an affected network input. They can send a PROXY protocol v1 line containing fewer than three spaces, causing readProxy() to dereference a NULL pointer and crash the process.
Are default installations affected?
The issue requires PROXY-header parsing to be enabled through --net-ingest or --devel=readProxy. The provided information does not establish whether either option is enabled by default.
What is the immediate mitigation if upgrading is not possible?
Disable the affected network-input configuration that parses PROXY headers, including --net-ingest or --devel=readProxy where applicable. Restricting network access to the input can also prevent untrusted remote clients from delivering the malformed header.
How can I determine whether an instance needs remediation?
Check whether the readsb version is earlier than 3.16.8 and whether it is started with --net-ingest or, for versions since 3.14.1646, --devel=readProxy. An affected instance can be crashed by malformed PROXY v1 input with fewer than three spaces.