CVE-2026-7736 — gobgp
Fix: osrg/gobgp@76d9110CVE-2026-7736 is a CWE-189 vulnerability in github.com/osrg/gobgp/v4. A fix is available for github.com/osrg/gobgp/v4 — see the affected versions and patch details below.
osrg GoBGP mrt.go parseRibEntry integer underflow
Exploitation Status
No confirmed exploitation observed yet
- CISA assesses this as automatable — exploitation doesn’t require manual, per-target effort, which raises the odds of mass scanning and opportunistic attacks.
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for CVE-2026-7736.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
Real-World Exposure
github.com/osrg/gobgp/v4Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Go packages — download data is not available via public APIs for these ecosystems.
Description
A vulnerability was determined in osrg GoBGP up to 4.3.0. Affected by this vulnerability is the function parseRibEntry of the file pkg/packet/mrt/mrt.go. Executing a manipulation can lead to integer underflow. It is possible to launch the attack remotely. Upgrading to version 4.4.0 addresses this issue. This patch is called 76d911046344a3923cbe573364197aa081944592. It is suggested to upgrade the affected component.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐹Go | github.com/osrg/gobgp/v4 | all versions | 4.4.0go get github.com/osrg/gobgp/v4@v4.4.0 |
Affected Products
gobgposrgDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for github.com/osrg/gobgp/v4, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update github.com/osrg/gobgp/v4 to 4.4.0 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2026-7736 is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
Fixing This On Your OS
If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.
This flaw is rated as Important. A remote unauthenticated attacker whose is able to reach the application consuming the GoBGP library to handle `MRT` information can trigger the integer underflow vulnerability by sending a maliciously crafted packet to the application. The value resulted from the underflow is further…
To mitigate this issue, restrict network access to systems running GoBGP to only trusted BGP peers. Configure firewall rules to limit inbound connections to the BGP port (TCP 179) from known and authorized sources. This will reduce the attack surface by preventing arbitrary remote attackers from sending malicious BGP messages. Any changes to firewall rules or network configurations may require a service reload or restart to take effect, which could temporarily disrupt network services.Source: Red Hat security advisory for CVE-2026-7736 (CC BY 4.0)
Frequently Asked Questions
Is CVE-2026-7736 in your dependencies?
Find it across Go, including transitive dependencies.