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.b34+dfsg-1
- Fixed versions
- Not specified
- CVEs
- CVE-2026-56786
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 12:17 UTC · Revision 2
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:DEBIAN-CVE-2026-56786
rtklib
Fixed versions: Not specified
rtklib
Fixed versions: Not specified
rtklib
Fixed versions: Not specified
Complete source record
{
"id": "ab6d8a09a9f95c9ac9f8fe891af45d3f0dc24f0610d1384894e246bbb90f167a",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2026-56786",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-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:DEBIAN-CVE-2026-56786",
"products": [
{
"name": {
"value": "rtklib",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.4.3.b34+dfsg-1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "rtklib",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.4.3.b34+dfsg-1",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "rtklib",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.4.3.b34+dfsg-1",
"evidence": "/affected/2/versions"
}
]
}
],
"severity": "critical",
"structured": {
"id": "DEBIAN-CVE-2026-56786",
"aliases": [
"DEBIAN-CVE-2026-56786"
],
"metrics": [
{
"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "rtklib",
"purl": "pkg:deb/debian/rtklib?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"versions": [
"2.4.3.b34+dfsg-1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-56786.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "rtklib",
"purl": "pkg:deb/debian/rtklib?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"versions": [
"2.4.3.b34+dfsg-1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-56786.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "rtklib",
"purl": "pkg:deb/debian/rtklib?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"versions": [
"2.4.3.b34+dfsg-1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-56786.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-26T11:47:32.110625125Z",
"provider": "osv",
"upstream": [
"CVE-2026-56786"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2026-56786"
]
},
"related_cves": [
{
"value": "CVE-2026-56786",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 450805,
"published_at": "2026-06-25T19:16:44.997+00:00"
}