CVE-2026-56788 RTKLIB 2.4.3 - Out-of-bounds Read via Negative Array Index in getcodepri

Medium 4.8 Published Updated

Attackers can cause crashes or leak memory by providing crafted RINEX files to RTKLIB, affecting applications using this GNSS library.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2026-56788?

CVE-2026-56788 is a medium-severity memory corruption vulnerability in tomojitakasu RTKLIB, published on 25 Jun 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

RTKLIB through 2.4.3 contains an out-of-bounds read vulnerability in getcodepri function when processing unrecognized RINEX observation codes, allowing attackers to trigger denial of service. Crafted RINEX files with unknown observation types cause negative array indexing into the codepris table, resulting in reliable crashes and potential memory disclosure of adjacent global data.

Weakness: CWE-125

Which versions are affected by CVE-2026-56788?

It affects 1 product.

Products include Rtklib Rtklib.

How do I fix CVE-2026-56788?

No fix has been published for CVE-2026-56788 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2026-56788 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-56788 exists.

Sources

Also known as DEBIAN-CVE-2026-56788, GHSA-m65p-fp8q-q43h, UBUNTU-CVE-2026-56788.

Is CVE-2026-56788 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free