rtklib — security advisory
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.
- 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-56786
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 02:47 UTC · Revision 1
Source evidence
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.
osv:UBUNTU-CVE-2026-56786
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": "9e936a2ed447e677f3497f93a6b8ef7f019fc826236cfe7c1b789c464045d8c5",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-56786",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2026-56786",
"summary": "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.",
"evidence": "osv:UBUNTU-CVE-2026-56786",
"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": "critical",
"structured": {
"id": "UBUNTU-CVE-2026-56786",
"aliases": [
"UBUNTU-CVE-2026-56786"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
},
{
"type": "CVSS_V4",
"score": "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"
},
{
"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-56786.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-56786.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-56786.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-56786.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-56786.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-56786.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-56786.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:10.503893064Z",
"provider": "osv",
"upstream": [
"CVE-2026-56786"
],
"references": [
"https://ubuntu.com/security/CVE-2026-56786",
"https://www.cve.org/CVERecord?id=CVE-2026-56786",
"https://github.com/tomojitakasu/RTKLIB/issues/799"
]
},
"related_cves": [
{
"value": "CVE-2026-56786",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 359379,
"published_at": "2026-06-25T19:16:00+00:00"
}