Home / osrg / GoBGP / CVE-2026-5123
CVE-2026-5123: is it exploited, and which versions of osrg GoBGP are affected and fixed?
CVE-2026-5123 is an off-by-one Error vulnerability in osrg GoBGP. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 15:39 UTC). Affected: GoBGP 4.0, GoBGP 4.1, GoBGP 4.2 and 1 more (CVE record by VulDB). Fixed in 4.4.0 (NVD). Severity: Medium (6.3, CVSS 4.0, from VulDB).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:39 UTC, CVE record November 19, 2026, 07:08 UTC and NVD November 19, 2026, 07:12 UTC.
What is CVE-2026-5123?
osrg GoBGP bgp.go DecodeFromBytes off-by-one
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.
From the CVE record by VulDB, last updated April 1, 2026, 18:10 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| osrg | GoBGP | 4.0 4.1 4.2 4.3.0 |
As the CVE record by VulDB states it, last updated April 1, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| osrg | gobgp | before 4.4.0 | application |
NVD analysis (status Analyzed), last modified June 17, 2026, 10:58 UTC.
How severe is CVE-2026-5123?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.3 | CVSS 4.0 | 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 | VulDB |
| Low 3.7 | CVSS 3.1 | 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 | VulDB |
| Low 3.7 | CVSS 3.0 | 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 | VulDB |
| Low 2.6 | CVSS 2.0 | AV:N/AC:H/Au:N/C:N/I:N/A:P/E:ND/RL:OF/RC:C | VulDB |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-5123 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, April 1, 2026)
- EPSS
- 0.47% probability of exploitation activity in the next 30 days, percentile 42.7 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
Where are the vendor advisories and references?
- VDB-354155 | osrg GoBGP bgp.go DecodeFromBytes off-by-one vdb-entry, technical-description
- VDB-354155 | CTI Indicators (IOB, IOC, IOA) signature, permissions-required
- Submit #780179 | osrg GoBGP 4.3.0 Off-by-one Error third-party-advisory
- https://github.com/osrg/gobgp/pull/3342 issue-tracking, patch
- https://github.com/osrg/gobgp/commit/67c059413470df64bc20801c46f64058e88f800f patch
- https://github.com/osrg/gobgp/ product
Who found and reported it?
- Sunxj (VulDB User) (reporter)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- March 30, 2026
- Published
- March 30, 2026, 15:15 UTC
- CVE record updated
- April 1, 2026, 18:10 UTC by VulDB
- NVD
- Analyzed, last modified June 17, 2026, 10:58 UTC
- Last checked
- CVE list November 19, 2026, 07:08 UTC; NVD November 19, 2026, 07:12 UTC; KEV December 3, 2026, 15:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect GoBGP?
- Sep 10, 2026CVE-2026-49838 osrg gobgp: improper array index validation
- Sep 10, 2026CVE-2026-49837 osrg gobgp: out-of-bounds read
- May 7, 2026CVE-2026-41643 osrg gobgp: improper array index validation
- May 7, 2026CVE-2026-42285 osrg gobgp: NULL pointer dereference (crash)
- May 7, 2026CVE-2026-41642 osrg gobgp: NULL pointer dereference (crash)
- May 4, 2026CVE-2026-7737 osrg GoBGP: out-of-bounds read
- May 4, 2026CVE-2026-7736 osrg GoBGP: integer underflow
- May 4, 2026CVE-2026-7735 osrg GoBGP: buffer overflow
Questions about CVE-2026-5123
Is CVE-2026-5123 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 15:39 UTC. FIRST's EPSS gives it a 0.47% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of osrg GoBGP are affected by CVE-2026-5123?
GoBGP 4.0, GoBGP 4.1, GoBGP 4.2 and GoBGP 4.3.0, per the CVE record by VulDB. The tables above give every range the sources list.
Which version fixes CVE-2026-5123?
4.4.0, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-5123?
Medium (6.3, CVSS 4.0, from VulDB). The severity table above shows each score with its source.
Where is the official record of CVE-2026-5123?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.