Skip to content
Heist/ feed
Back to feed
High

rtklib — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2026-56788

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.

Products
rtklib
Affected versions
2.4.3+dfsg1-1, 2.4.3+dfsg1-2.1, 2.4.3+dfsg1-2.1build1, 2.4.3.b34+dfsg-1, 2.4.3.b34+dfsg-1build1, 2.4.3.b34+dfsg-1build2, 2.4.3.b34+dfsg-1build3
Fixed versions
Not specified
CVEs
CVE-2026-56788
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 02:47 UTC · Revision 1

Source evidence

UBUNTU-CVE-2026-56788

core-osv · Original source

Published 25 Jun 2026, 19:16 UTC

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.

osv:UBUNTU-CVE-2026-56788

rtklib

Fixed versions: Not specified

rtklib

Fixed versions: Not specified

rtklib

Fixed versions: Not specified

rtklib

Fixed versions: Not specified

rtklib

Fixed versions: Not specified

rtklib

Fixed versions: Not specified

rtklib

Fixed versions: Not specified

Complete source record
{
  "id": "5bb1b0d740c50649b3e8b45f19354b428940549510577a854d3cf634e6fd02d3",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-56788",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2026-56788",
    "summary": "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.",
    "evidence": "osv:UBUNTU-CVE-2026-56788",
    "products": [
      {
        "name": {
          "value": "rtklib",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.4.3+dfsg1-1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "rtklib",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.4.3+dfsg1-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "2.4.3+dfsg1-2.1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "2.4.3+dfsg1-2.1build1",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "rtklib",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.4.3+dfsg1-2.1build1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "2.4.3.b34+dfsg-1",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "rtklib",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.4.3.b34+dfsg-1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "2.4.3.b34+dfsg-1build1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "2.4.3.b34+dfsg-1build2",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "rtklib",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.4.3.b34+dfsg-1build2",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "rtklib",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.4.3.b34+dfsg-1build3",
            "evidence": "/affected/5/versions"
          }
        ]
      },
      {
        "name": {
          "value": "rtklib",
          "evidence": "/affected/6/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.4.3.b34+dfsg-1build2",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "2.4.3.b34+dfsg-1build3",
            "evidence": "/affected/6/versions"
          }
        ]
      }
    ],
    "severity": "high",
    "structured": {
      "id": "UBUNTU-CVE-2026-56788",
      "aliases": [
        "UBUNTU-CVE-2026-56788"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L"
        },
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H"
        },
        {
          "type": "CVSS_V4",
          "score": "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"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "rtklib",
            "purl": "pkg:deb/ubuntu/rtklib?arch=source&distro=bionic",
            "ecosystem": "Ubuntu:18.04:LTS"
          },
          "versions": [
            "2.4.3+dfsg1-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-56788.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "rtklib",
                "binary_version": "2.4.3+dfsg1-1"
              },
              {
                "binary_name": "rtklib-qt",
                "binary_version": "2.4.3+dfsg1-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "rtklib",
            "purl": "pkg:deb/ubuntu/rtklib?arch=source&distro=focal",
            "ecosystem": "Ubuntu:20.04:LTS"
          },
          "versions": [
            "2.4.3+dfsg1-1",
            "2.4.3+dfsg1-2.1",
            "2.4.3+dfsg1-2.1build1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-56788.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "rtklib",
                "binary_version": "2.4.3+dfsg1-2.1build1"
              },
              {
                "binary_name": "rtklib-qt",
                "binary_version": "2.4.3+dfsg1-2.1build1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "rtklib",
            "purl": "pkg:deb/ubuntu/rtklib?arch=source&distro=jammy",
            "ecosystem": "Ubuntu:22.04:LTS"
          },
          "versions": [
            "2.4.3+dfsg1-2.1build1",
            "2.4.3.b34+dfsg-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-56788.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "librtklib1",
                "binary_version": "2.4.3.b34+dfsg-1"
              },
              {
                "binary_name": "rtklib",
                "binary_version": "2.4.3.b34+dfsg-1"
              },
              {
                "binary_name": "rtklib-qt",
                "binary_version": "2.4.3.b34+dfsg-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "rtklib",
            "purl": "pkg:deb/ubuntu/rtklib?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "2.4.3.b34+dfsg-1",
            "2.4.3.b34+dfsg-1build1",
            "2.4.3.b34+dfsg-1build2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-56788.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "librtklib1",
                "binary_version": "2.4.3.b34+dfsg-1build2"
              },
              {
                "binary_name": "rtklib",
                "binary_version": "2.4.3.b34+dfsg-1build2"
              },
              {
                "binary_name": "rtklib-qt",
                "binary_version": "2.4.3.b34+dfsg-1build2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "rtklib",
            "purl": "pkg:deb/ubuntu/rtklib?arch=source&distro=questing",
            "ecosystem": "Ubuntu:25.10"
          },
          "versions": [
            "2.4.3.b34+dfsg-1build2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-56788.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "librtklib1",
                "binary_version": "2.4.3.b34+dfsg-1build2"
              },
              {
                "binary_name": "rtklib",
                "binary_version": "2.4.3.b34+dfsg-1build2"
              },
              {
                "binary_name": "rtklib-qt",
                "binary_version": "2.4.3.b34+dfsg-1build2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "rtklib",
            "purl": "pkg:deb/ubuntu/rtklib?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "2.4.3.b34+dfsg-1build3"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-56788.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "librtklib1",
                "binary_version": "2.4.3.b34+dfsg-1build3"
              },
              {
                "binary_name": "rtklib",
                "binary_version": "2.4.3.b34+dfsg-1build3"
              },
              {
                "binary_name": "rtklib-qt",
                "binary_version": "2.4.3.b34+dfsg-1build3"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "rtklib",
            "purl": "pkg:deb/ubuntu/rtklib?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "2.4.3.b34+dfsg-1build2",
            "2.4.3.b34+dfsg-1build3"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-56788.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "librtklib1",
                "binary_version": "2.4.3.b34+dfsg-1build3"
              },
              {
                "binary_name": "rtklib",
                "binary_version": "2.4.3.b34+dfsg-1build3"
              },
              {
                "binary_name": "rtklib-qt",
                "binary_version": "2.4.3.b34+dfsg-1build3"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:59:11.399014498Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-56788"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2026-56788",
        "https://www.cve.org/CVERecord?id=CVE-2026-56788",
        "https://github.com/tomojitakasu/RTKLIB/issues/797"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-56788",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/1/score"
  },
  "source_id": "core-osv",
  "document_id": 359408,
  "published_at": "2026-06-25T19:16:00+00:00"
}