CVE-2026-56789 Details
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.
A heap buffer overflow vulnerability has been identified in RTKLIB versions through 2.4.3. The issue arises in the 'readrnxobsb' function within 'src/rinex.c', where satellite count values from RINEX epoch headers are not properly clamped. This oversight allows attackers to craft malicious RINEX files that declare more than 64 satellites per epoch, leading to heap buffer overflow writes and out-of-bounds stack reads. The vulnerability causes memory corruption and crashes RTKLIB-based applications such as 'rnx2rtkp' and 'RTKPOST'.
To address this vulnerability, it is recommended to clamp the satellite count in the 'decode_obsepoch' function before it is used in 'readrnxobsb'. Additionally, the loop in 'readrnxobsb' should be modified to only process data while within the bounds of the observation and satellite arrays.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jun 25, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/tomojitakasu/RTKLIB/issues/796 | [email protected] | ExploitIssue TrackingThird Party Advisory |
| https://www.vulncheck.com/advisories/rtklib-heap-buffer-overflow-and-stack-read-via-oversized-rinex-epoch-satellite-count | [email protected] | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-122 | Heap-based Buffer Overflow | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| rtklib rtklib | <= 2.4.3 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 14, 2026 | CVE Modified | [email protected] |
| Jun 26, 2026 | Initial Analysis | [email protected] |
| Jun 25, 2026 | New CVE Received | [email protected] |
| Jun 25, 2026 | CVE Modified | CISA-ADP |