CVE-2025-43970
MEDIUM4.3EPSS 0.01%GoBGP does not properly check the input length in github.com/osrg/gobgp
Published: 4/21/2025Modified: 4/28/2026
Description
An issue was discovered in GoBGP before 3.35.0. pkg/packet/mrt/mrt.go does not properly check the input length, e.g., by ensuring that there are 12 bytes or 36 bytes (depending on the address family).
Affected packages (5)
- Debian/gobgpfrom 0
- Go/github.com/osrg/gobgpfrom 0
- Go/github.com/osrg/gobgpfrom 0
- Go/github.com/osrg/gobgp/v3from 0, < 3.35.0
- Go/github.com/osrg/gobgp/v3from 0, < 3.35.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM4.3 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:L |
References (6)
- ADVISORYhttps://github.com/advisories/GHSA-hqhq-hp5x-xp3w
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2025-43970
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2025-43970
- PATCHhttps://github.com/osrg/gobgp
- WEBhttps://github.com/osrg/gobgp/commit/5153bafbe8dbe1a2f02a70bbf0365e98b80e47b0
- WEBhttps://github.com/osrg/gobgp/compare/v3.34.0...v3.35.0