
CVE catalog
CVE-2026-5122
A security flaw has been discovered in osrg GoBGP up to 4.3.0. This affects the function DecodeFromBytes of the file pkg/packet/bgp/bgp.go of the component BGP OPEN Message Handler. Performing a manip
- Severity
- Medium · CVSS 6.3
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.29% · Oct 25, 2026
A security flaw has been discovered in osrg GoBGP up to 4.3.0. This affects the function DecodeFromBytes of the file pkg/packet/bgp/bgp.go of the component BGP OPEN Message Handler. Performing a manipulation of the argument domainNameLen results in improper access controls. The attack may be initiated remotely. A high degree of complexity is needed for the attack. The exploitability is reported as difficult. The patch is named 2b09db390a3d455808363c53e409afe6b1b86d2d. It is suggested to install a patch to address this issue.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | gobgp | sid | 4.8.0-1 | fixed |
| Debian | gobgp | forky | 4.8.0-1 | fixed |
| Debian | gobgp | trixie | 3.36.0-2 | vulnerable |
| Debian | gobgp | bookworm | 3.10.0-1 | vulnerable |
| Cpe | gobgp | Not reported | Not reported | vulnerable |
| Cpe | gobgp | Not reported | 4.4.0 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | gobgp | source | sid | 4.4.0-1 | unimportant | Not reported | [1132653] |
| Debian | gobgp | source | forky | 4.4.0-1 | unimportant | Not reported | [1132653] |
| Debian | gobgp | source | trixie | (unfixed) | unimportant | Not reported | [1132653] |
| Debian | gobgp | source | bookworm | (unfixed) | unimportant | Not reported | [1132653] |
| Cpe | gobgp | cpe | Not reported | 4.4.0 | Not reported | Not reported | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [gobgpd]Affected
Source package: [gobgp]
Details (2)
3.10.0-1+b4· amd64 · bookwormAffected
nvd · gobgp · debian · bookworm; nvd · gobgp · debian · 12
3.10.0-1+b4· arm64 · bookwormAffected
nvd · gobgp · debian · bookworm; nvd · gobgp · debian · 12
- [golang-github-osrg-gobgp-dev]Affected
Source package: [gobgp]
Details (2)
3.10.0-1· all · bookwormAffected
nvd · gobgp · debian · bookworm; nvd · gobgp · debian · 12
3.10.0-1· all · bookwormAffected
nvd · gobgp · debian · bookworm; nvd · gobgp · debian · 12
[Debian 13 (Trixie)]
- [gobgpd]Affected
Source package: [gobgp]
Details (4)
3.36.0-2+b3· amd64 · trixieAffected
nvd · gobgp · debian · 13
3.36.0-2+b3· arm64 · trixieAffected
nvd · gobgp · debian · 13
4.7.0-1~bpo13+1· amd64 · trixie-backportsAffected
nvd · gobgp · debian · 13
4.7.0-1~bpo13+1· arm64 · trixie-backportsAffected
nvd · gobgp · debian · 13
- [golang-github-osrg-gobgp-dev]Affected
Source package: [gobgp]
Details (4)
3.36.0-2· all · trixieAffected
nvd · gobgp · debian · 13
3.36.0-2· all · trixieAffected
nvd · gobgp · debian · 13
4.7.0-1~bpo13+1· all · trixie-backportsAffected
nvd · gobgp · debian · 13
4.7.0-1~bpo13+1· all · trixie-backportsAffected
nvd · gobgp · debian · 13
Observed:
References
- [https://nvd.nist.gov/vuln/detail/CVE-2026-5122]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-5122]
- [https://security-tracker.debian.org/tracker/CVE-2026-5122]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-5122.json]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]