Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/osrg/gobgp/v3
  4. ›
  5. CVE-2025-43971

CVE-2025-43971: GoBGP panics due to a zero value for softwareVersionLen

April 21, 2025

An issue was discovered in GoBGP before 3.35.0. pkg/packet/bgp/bgp.go allows attackers to cause a panic via a zero value for softwareVersionLen.

References

  • github.com/advisories/GHSA-7m35-vw2c-696v
  • github.com/osrg/gobgp
  • github.com/osrg/gobgp/commit/08a001e06d90e8bcc190084c66992f46f62c0986
  • github.com/osrg/gobgp/compare/v3.34.0...v3.35.0
  • nvd.nist.gov/vuln/detail/CVE-2025-43971

Code Behaviors & Features

Detect and mitigate CVE-2025-43971 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 3.35.0

Fixed versions

  • 3.35.0

Solution

Upgrade to version 3.35.0 or above.

Impact 8.6 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-193: Off-by-one Error

Source file

go/github.com/osrg/gobgp/v3/CVE-2025-43971.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:59 +0000.