Executive brief
RTKLIB is an open-source program package for standard and precise positioning with GNSS (Global Navigation Satellite System). A vulnerability in how the software handles specific satellite data files (RINEX) could allow an attacker to crash the application or potentially view sensitive internal memory. To exploit this, an attacker would need to convince a user to process a specially crafted, malicious RINEX data file.
Technical details
An out-of-bounds read exists in the `getcodepri` function within `src/rtkcmn.c`. When the software encounters an unrecognized RINEX observation code, the `code2obs` function returns an empty string and sets an index variable to zero. Subsequent logic performs a negative array index operation (`j-1`) and attempts to read one byte past the empty string constant. This results in a reliable crash (Denial of Service) and may allow the disclosure of adjacent global data. The vulnerability is triggered when a user processes a crafted RINEX file containing unknown observation types.
Affected products
- tomojitakasu RTKLIB through 2.4.3
Timeline
- 2026-06-09: disclosed: Issue reported on GitHub by FuzzingLabs
- 2026-06-25: advisory: NVD and VulnCheck published advisory details