CVE-2025-43970
MEDIUM 5.3CVSS 3.1GoBGP does not properly check the input length
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).
- Published
- 21 Apr 2025
- Last modified
- 10 Sep 2026
- Assigned by
- cve@mitre.org
- NVD status
- Analyzed
- Weakness
- CWE-1284
- Also known as
- GHSA-hqhq-hp5x-xp3wGO-2025-3630
- Sources
- NVDJSONOSV GHSA-hqhq-hp5x-xp3wJSONOSV GO-2025-3630JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| NVD | cve@mitre.org (Secondary) | CVSS 3.1 | MEDIUM 4.3 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.3 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | osrg | gobgpcpe:2.3:a:osrg:gobgp:*:*:*:*:*:*:*:* |
< 3.35.0 | 3.35.0 |
| OSV | Go | github.com/osrg/gobgp | all versions | |
| OSV | Go | github.com/osrg/gobgp/v3 | < 3.35.0 | 3.35.0 |
References
- https://github.com/osrg/gobgp/commit/5153bafbe8dbe1a2f02a70bbf0365e98b80e47b0 · Patch, WEB, FIX
- https://github.com/osrg/gobgp/compare/v3.34.0...v3.35.0 · Patch, Release Notes, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-43970 · ADVISORY
- https://github.com/osrg/gobgp · PACKAGE
- https://github.com/advisories/GHSA-hqhq-hp5x-xp3w · ADVISORY
History
- 25 Nov 2026 20:57 UTC · NVD: first stored (published 21 Apr 2025)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 22 Apr 2025)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 21 Apr 2025)