| Name | CVE-2026-56787 |
| Description | RTKLIB through 2.4.3 contains an off-by-one out-of-bounds read vulnerability in the decode_ssr3 function at src/rtcm3.c:1446 that allows remote attackers to trigger a global buffer overflow via crafted RTCM3 SSR messages with attacker-controlled signal mode fields. Remote attackers can exploit this vulnerability by sending malicious SSR correction streams over NTRIP or serial connections to cause denial of service or crash RTKLIB rovers and CORS servers. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| Debian Bugs | 1140766 |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|
| rtklib (PTS) | bullseye | 2.4.3+dfsg1-2.1 | vulnerable |
| bookworm | 2.4.3.b34+dfsg-1 | fixed |
| forky, sid, trixie | 2.4.3.b34+dfsg-1 | vulnerable |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|
| rtklib | source | bookworm | (not affected) | | | |
| rtklib | source | (unstable) | (unfixed) | | | 1140766 |
Notes
[trixie] - rtklib <no-dsa> (Minor issue)
[bookworm] - rtklib <not-affected> (Off-by-one "mode<=ncode" construct not present; 2.4.3 b34 rewrote decode_ssr3 to index fixed ssr_sig_*[32] tables with the 5-bit mode field, in bounds by construction)
[bullseye] - rtklib <postponed> (Minor issue; one-element global over-read of the codes_* tables in decode_ssr3, requires an attacker-controlled RTCM3/NTRIP correction stream)
https://github.com/tomojitakasu/RTKLIB/issues/798