Skip to main content

RTKLIB CVE-2026-56786

| EUVDEUVD-2026-39528 CRITICAL
Out-of-bounds Write (CWE-787)
2026-06-25 VulnCheck GHSA-5cx9-6hw2-hchv
9.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Host rogue NTRIP caster or MITM feed
  2. Delivery
    Send CRC-valid type-1033 RTCM3 message
  3. Exploit
    Overflow 64-byte descriptor buffers
  4. Execution
    Corrupt adjacent rtcm_t members
  5. Impact
    Execute code or crash receiver

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, write limits
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that the target be actively consuming an attacker-influenced RTCM3 correction stream - either an NTRIP feed the attacker hosts or can man-in-the-middle, or a serial RTCM3 link the attacker can inject into - and that the attacker send a crafted type-1033 message whose CRC is valid (the parser validates CRC, so malformed frames are rejected). No authentication on the victim side and no user interaction are needed per the CVSS vector (PR:N/UI:N), and default RTKLIB builds through 2.4.3 are vulnerable. The principal limiting factor is the need to control or tamper with the correction source: deployments that pull corrections only from trusted, authenticated NTRIP casters over secured links significantly raise the bar, whereas devices configured to accept public or unauthenticated correction streams are directly exposed.

Impact

The supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H, score 9.3) rates this critical with network reach, low complexity, no privileges, and high confidentiality/integrity/availability impact, consistent with a memory-corruption-to-RCE primitive. EPSS and SSVC values were not provided in the input, so probabilistic exploitation likelihood and an automatable/exploitation-status decision cannot be cross-referenced here. Publicly available exploit code raises practical risk above the typical high-CVSS-without-PROC case, but the listing is not in CISA KEV, so this should be read as exploitable-and-demonstrated rather than confirmed widespread active exploitation. One caveat worth verifying: the vector marks AV:N/PR:N, yet exploitation depends on the attacker controlling the RTCM3 correction stream the victim consumes - i.e., operating a malicious NTRIP caster/server or performing a man-in-the-middle on the correction feed - which is a real-world precondition that can lower the practical attack surface for devices using trusted, authenticated correction providers.

Exploit ScenarioDerived

An attacker stands up a rogue NTRIP caster (or MITMs an existing correction feed) that a target RTK receiver or rtkrcv instance is configured to pull corrections from. They send a CRC-valid RTCM3 type-1033 message with oversized descriptor length fields, overflowing the fixed 64-byte buffers and corrupting adjacent rtcm_t members to crash the process or steer execution. Public exploit code referenced by VulnCheck lowers the barrier to reproducing this against vulnerable deployments.

Act Now Prioritize within 24-48h. Why: CRITICAL severity + public POC available.
No patch listed yet 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 25, 2026

Out-of-bounds write in RTKLIB's decode_type1033 function affects all versions through 2.4.3, where unclamped length counters allow up to a 191-byte overflow into fixed 64-byte descriptor fields when parsing an RTCM3 type-1033 message. An attacker who controls an NTRIP or serial RTCM3 correction stream can deliver a CRC-valid crafted message to corrupt adjacent rtcm_t members, potentially achieving arbitrary code execution or denial of service. Publicly available exploit code exists (reported by VulnCheck), though there is no public exploit identified as actively exploited in CISA KEV.

RemediationAI

No vendor-released patched version is independently confirmed in the provided data; remediation tracking currently points to the upstream GitHub issue (https://github.com/tomojitakasu/RTKLIB/issues/799) and the VulnCheck advisory (https://www.vulncheck.com/advisories/rtklib-out-of-bounds-write-in-decode-type1033-via-crafted-rtcm3-message), so monitor those for a tagged release and upgrade as soon as a fixed build past 2.4.3 is published. Until a patched release is available, apply compensating controls: only consume RTCM3 corrections from trusted, authenticated NTRIP casters and enforce TLS/authentication on the NTRIP connection to prevent malicious-server or MITM injection (trade-off: rules out anonymous/public casters); restrict serial RTCM3 inputs to physically trusted base stations; and where source code is embedded, locally patch decode_type1033 to clamp the descriptor/serial length counters to the 64-byte destination buffer size before copying (trade-off: requires rebuilding from source and validating against legitimate type-1033 messages). Network-segment GNSS receivers and block untrusted inbound NTRIP traffic at the firewall to reduce exposure.

Affected VersionsENISA

RTKLIB 0 ≤2.4.3

Affected Packages

euvd rtklib no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

RTKLIB is an open-source GNSS positioning library (by Tomoji Takasu) widely used in RTK/PPP receivers, base stations, drones, and surveying tools. The flaw is rooted in CWE-787 (Out-of-bounds Write): the decode_type1033 routine, which parses RTCM3 message type 1033 (antenna/receiver descriptor and serial number text fields), reads attacker-supplied length counters from the bitstream and copies that many bytes into fixed 64-byte character arrays inside the rtcm_t structure without clamping the count to the destination size. Because RTCM3 length fields can specify up to 255 bytes, copying into a 64-byte buffer permits up to a 191-byte linear overflow, overwriting adjacent rtcm_t object members and any structures laid out after them in memory. RTCM3 is the standard differential-correction protocol carried over NTRIP (HTTP-based GNSS streaming) or direct serial links, so the parser sits on the untrusted input path of any device consuming external corrections. The affected component is identified by CPE cpe:2.3:a:tomojitakasu:rtklib:*:*:*:*:*:*:*:*.

Know when Rtklib gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 9.3 CRITICAL
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
vuln.today AI 8.1 HIGH

Network-delivered via RTCM3 with no victim auth or interaction (AV:N/PR:N/UI:N), but AC:H because the attacker must control or MITM the correction stream and craft a CRC-valid frame; memory corruption yields full C/I/A impact.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

RTKLIB through 2.4.3 contains an out-of-bounds write vulnerability in decode_type1033 function that fails to clamp length counters to destination buffer size, allowing up to 191-byte overflow into fixed 64-byte descriptor fields. An attacker controlling an NTRIP or serial RTCM3 correction stream can craft a valid CRC-bearing type-1033 message to corrupt adjacent rtcm_t object members, potentially achieving arbitrary code execution or denial of service.

Executive ViewAI

Why It Matters

RTKLIB, a GNSS/positioning library used in surveying, autonomous systems, and critical infrastructure applications, contains a critical remote code execution vulnerability (CVE-2026-56786, CVSS 9.3) exploitable through malicious RTCM3 correction messages. Organizations relying on RTKLIB for precision positioning face immediate risk of service disruption and system compromise if correction data streams are controlled or intercepted by an attacker. No vendor patch is currently available, requiring urgent interim containment measures.

Business Impact: Severe
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Enforce mutual TLS authentication and encryption for all RTCM3/NTRIP streams; (2) Implement strict network access controls and IP allowlisting for correction stream sources; (3) Deploy monitoring to detect abnormal RTCM3 message patterns or unexpected RTKLIB process termination; (4) Air-gap critical positioning systems from external correction streams until patched alternatives are available; (5) Apply process sandboxing or read-only filesystem controls to contain impact if code execution occurs.

Threat Intelligence Overview

EPSS Score
0.4%
Top 68% exploitable
Prevalence
Medium
widely-used open-source GNSS/RTK library embedded in surveying and receiver firmware
Exploit
POC
Public exploit code exists
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC Yes
EPSS 0.4%
Patch available No
Active threat No
Deciding rule
CRITICAL severity + public POC available
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Total

Priority Score

66
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +46
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy