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

- Severity: Medium 4.8 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.14%, higher than 3% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-25T18:13:15.671Z
- Modified: 2026-11-08T14:06:26.984Z
- Weaknesses: CWE-125
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- tomojitakasu RTKLIB: up to 2.4.3
- rtklib rtklib: up to 2.4.3

## Every score

- VulnCheck: CVSS:4.0 4.8 Medium `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 4.4 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L`
- NVD: CVSS:3.1 7.1 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H`

## References

- <https://github.com/tomojitakasu/RTKLIB/issues/797> (exploit, issue-tracking, technical-description, third-party-advisory)
- <https://www.vulncheck.com/advisories/rtklib-out-of-bounds-read-via-negative-array-index-in-getcodepri> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-56788](https://www.cve.org/CVERecord?id=CVE-2026-56788), CVE Terms of Use, modified 2026-11-08
- NVD: [CVE-2026-56788](https://nvd.nist.gov/vuln/detail/CVE-2026-56788), Public domain, modified 2026-10-25

---

Page: https://cve.day/CVE-2026-56788 · Whole record: https://cve.day/CVE-2026-56788.json · Rebuilt by cve.day 2026-11-25T22:59:26.425Z
