Description
RTKLIB through 2.4.3 contains a heap buffer overflow vulnerability in the readrnxobsb function in src/rinex.c that allows attackers to trigger memory corruption by failing to clamp satellite count values from RINEX epoch headers. Attackers can craft malicious RINEX files declaring more than 64 satellites per epoch to cause heap buffer overflow writes and out-of-bounds stack reads, crashing RTKLIB-based applications including rnx2rtkp and RTKPOST.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| tomojitakasu | RTKLIB | ≤ 2.4.3 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | rtklib | No fix yet | — |
| Debian 13 | rtklib | No fix yet | — |
| Debian 12 | rtklib | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | rtklib | No fix yet | — |
| Ubuntu 26.04 LTS | rtklib | No fix yet | — |
| Ubuntu 25.10 | rtklib | No fix yet | — |
| Ubuntu 24.04 LTS | rtklib | No fix yet | — |
| Ubuntu 22.04 LTS | rtklib | No fix yet | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | rtklib | No fix yet | — |
| Ubuntu 18.04 LTS | rtklib | No fix yet | — |
References
- Researcher Disclosure technical-description exploit issue-tracking
- https://www.vulncheck.com/advisories/rtklib-heap-buffer-overflow-and-stack-read-via-oversized-rinex-epoch-satellite-count third-party-advisory