CVE-2026-144478: readsb before 3.16.8 Out-of-Bounds Read via Fragmented HTTP API Requests
readsb before 3.16.8 contains an out-of-bounds read vulnerability in apiReadRequest() in api.c that, when searching newly received request data for a newline, passes the total buffered request length to memchr() instead of the length of the new data. Remote unauthenticated attackers who can reach the HTTP API port enabled with --net-api-port can send a request in several chunks without a newline to make readsb read past the end of the heap request buffer, potentially crashing 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?
Deployments running a readsb version before 3.16.8 are exposed if the HTTP API is enabled with --net-api-port and an attacker can reach that port. No authentication is required.
What request pattern is needed to trigger the issue?
An attacker must send an HTTP API request in multiple chunks while omitting a newline, causing apiReadRequest() to search newly received data using the total buffered request length.
What is the practical impact?
The out-of-bounds read can access memory beyond the heap request buffer and may crash the readsb process, resulting in a denial of service.
What should be done if upgrading is not immediately possible?
Disable the HTTP API by avoiding --net-api-port, or restrict network access to that port so untrusted remote attackers cannot reach it.