CVE-2026-5123
published medium CVSS 4.0 · 6.3osrg GoBGP bgp.go DecodeFromBytes off-by-one
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| osrg | — | GoBGP4.0 · 4.1 · 4.2 · 4.3.0 | Affected | Not stated | VulDB |
Description
A weakness has been identified in osrg GoBGP up to 4.3.0. This impacts the function DecodeFromBytes of the file pkg/packet/bgp/bgp.go. Executing a manipulation of the argument data[1] can lead to off-by-one. The attack may be launched remotely. Attacks of this nature are highly complex. The exploitability is said to be difficult. This patch is called 67c059413470df64bc20801c46f64058e88f800f. A patch should be applied to remediate this issue.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.3 / 10
- Severity
- medium
- Provider
- VulDB · cna
- Vector string
- CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 3.7 | low | VulDB · cna | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L/E:X/RL:O/RC:C | — |
| 3.0 | 3.7 | low | VulDB · cna | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L/E:X/RL:O/RC:C | — |
| 2.0 | 2.6 | low | VulDB · cna | AV:N/AC:H/Au:N/C:N/I:N/A:P/E:ND/RL:OF/RC:C | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| osrg | GoBGP | 4.0 (affected)4.1 (affected)4.2 (affected)4.3.0 (affected) | VulDB · cna |
Weaknesses
2- CWE-193 Off-by-One
- CWE-189 Numeric Error
References
6- https://github.com/osrg/gobgp/
- https://github.com/osrg/gobgp/commit/67c059413470df64bc20801c46f64058e88f800f
- https://github.com/osrg/gobgp/pull/3342
- Submit #780179 | osrg GoBGP 4.3.0 Off-by-one Error https://vuldb.com/submit/780179
- VDB-354155 | osrg GoBGP bgp.go DecodeFromBytes off-by-one https://vuldb.com/vuln/354155
- VDB-354155 | CTI Indicators (IOB, IOC, IOA) https://vuldb.com/vuln/354155/cti
Provider assertions
2VulDB · cna
osrg GoBGP bgp.go DecodeFromBytes off-by-one
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 5c067a94df67c29aad1942598230c4a05570aeaf72d75a37f9fb0b8820bc395e
- Ingested
- 23 Sep 2026, 09:22:51 UTC
- Source record
- Official CVE record