CVE-2025-43971: GoBGP panics due to a zero value for softwareVersionLen
An issue was discovered in GoBGP before 3.35.0 (introduced in v3.11.0). pkg/packet/bgp/bgp.go allows attackers to cause a panic via a zero value for softwareVersionLen.
Published Apr 21, 2025 · Updated Mar 12, 2026
Affected packages
github.com/osrg/gobgp/v3
- Ecosystem
- Go
- Affected
- >= 3.11.0, < 3.35.0
- Fixed in
- 3.35.0
- Check
go list -m github.com/osrg/gobgp/v3
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
An issue was discovered in GoBGP before 3.35.0 (introduced in v3.11.0). pkg/packet/bgp/bgp.go allows attackers to cause a panic via a zero value for softwareVersionLen.
Credited to shaked-seal.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Go vulnerabilities
All Go entriesCVE-2025-43970
GoBGP does not properly check the input length
medium4.3No fixApr 21, 2025CVE-2025-43972
GoBGP crashes in the flowspec parser
medium6.8No fixApr 21, 2025CVE-2025-43973
GoBGP does not verify that the input length
medium6.8No fixApr 21, 2025CVE-2023-46565
Buffer Overflow vulnerability in osrg gobgp
high7.5No fixApr 29, 2024
