Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/osrg/gobgp
  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. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions

Solution

Unfortunately, there is no solution available yet.

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/CVE-2025-43971.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 08 Nov 2026 00:16:19 +0000.