Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

GHSA-gjrg-jjr3-56cm: GoBGP: BGP OPEN capability parser may read capability values outside declared CapLen boundaries

0
Medium
Published: 07/09/2026 (07/09/2026, 23:20:57 UTC)
Source: GCVE Database
Product: github.com/osrg/gobgp/v4

Description

GoBGP versions prior to 4.6.0 contain a vulnerability in the BGP OPEN capability parser where certain capability decoders read beyond the declared capability length boundary (CapLen). This can cause bytes from subsequent capabilities to be incorrectly parsed as part of the current capability, notably affecting the 4-octet AS capability when CapLen is zero. This parsing flaw may impact peer AS validation and capability negotiation during BGP session establishment but does not lead to memory corruption, remote code execution, or information disclosure.

CVSS v3.1

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N

Affected software

Goghsa
github.com/osrg/gobgp/v4
Affected versions
<4.6.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/10/2026, 09:33:08 UTC

Technical Analysis

The GoBGP BGP OPEN capability parser improperly handles the declared capability length (CapLen) in several concrete capability decoders. Instead of restricting parsing to the declared CapLen, some decoders parse from the full remaining capability buffer, allowing malformed BGP OPEN messages to cause capability values to be read from outside their boundaries. A proof of concept shows that a 4-octet AS capability with CapLen set to zero can cause the parser to read the next four bytes as the AS number, potentially affecting peer AS validation and session establishment decisions. The issue is a protocol parser boundary validation flaw and does not result in arbitrary memory corruption, remote code execution, or information disclosure.

Potential Impact

A remote attacker able to send malformed BGP OPEN messages to a vulnerable GoBGP instance can cause the parser to read capability values beyond their declared length. This can affect peer AS validation, capability negotiation, and the interpretation of malformed OPEN messages, potentially influencing acceptance or rejection of BGP sessions. There is no indication of memory corruption, code execution, or data leakage from this vulnerability.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, carefully validate BGP OPEN messages and consider deploying network-level controls to restrict untrusted BGP peers. Monitor vendor channels for updates regarding patches or official fixes.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-gjrg-jjr3-56cm
Osv Schema Version
1.4.0
Aliases
["CVE-2026-49837"]
Ecosystems
["Go"]
Database Specific Severity
MODERATE
Cvss Version
3.1

Threat ID: 6a50ba3c68715ace4357db13

Added to database: 07/10/2026, 09:24:12 UTC

Last enriched: 07/10/2026, 09:33:08 UTC

Last updated: 07/10/2026, 13:51:14 UTC

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses