{"id":"GHSA-gjrg-jjr3-56cm","revision":null,"records":[{"revision":"0d52e384d6e0458aad94ca3f256da4cd","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-49837","aliases":[],"title":"GoBGP: BGP OPEN capability parser may read capability values outside declared CapLen boundaries","description":"GoBGP is an open source Border Gateway Protocol (BGP) implementation in the Go Programming Language. Versions prior to 4.6.0 contain a BGP OPEN capability parsing issue where several concrete capability decoders may parse data from the full remaining capability buffer instead of the slice bounded by the declared capability length, `CapLen`. A malformed BGP OPEN message can cause bytes from a following capability to be interpreted as part of the current capability. The most security-relevant case is the 4-octet AS capability, where a capability with `CapLen == 0` may cause the parser to read bytes from the following capability as the 4-octet AS value. This parsed value may later affect peer AS validation during BGP session establishment. Version 4.6.0 patches the issue.","state":0,"publishedAt":"2026-09-10T21:56:13.637+00:00","modifiedAt":"2026-09-15T15:10:15.877+00:00","affected":[{"ecosystem":"Vendor product","name":"gobgp","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"osrg\",\n                    \"product\": \"gobgp\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 4.6.0\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","score":5.9,"severity":"MEDIUM"}],"references":["https://github.com/osrg/gobgp/security/advisories/GHSA-gjrg-jjr3-56cm","https://github.com/osrg/gobgp/commit/f02ca397821f6ca182ef4eb492c3cbc459552d7c"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-49837","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-49837","identifiers":["CVE-2026-49837"]},"retained":false,"historicalAffected":[]},{"revision":"d0b80f4024d247b29e19ab280e3d016b","observedAt":"2026-11-13T14:01:05.59+00:00","statement":{"source":"euvd","id":"EUVD-2026-75806","aliases":["CVE-2026-49837","GHSA-gjrg-jjr3-56cm"],"title":"GoBGP is an open source Border Gateway Protocol (BGP) implementation in the Go Programming Language. Versions prior to 4.6.0 contain a BGP OPEN capability parsing issue where several concrete capability decoders may parse data from the full…","description":"GoBGP is an open source Border Gateway Protocol (BGP) implementation in the Go Programming Language. Versions prior to 4.6.0 contain a BGP OPEN capability parsing issue where several concrete capability decoders may parse data from the full remaining capability buffer instead of the slice bounded by the declared capability length, `CapLen`. A malformed BGP OPEN message can cause bytes from a following capability to be interpreted as part of the current capability. The most security-relevant case is the 4-octet AS capability, where a capability with `CapLen == 0` may cause the parser to read bytes from the following capability as the 4-octet AS value. This parsed value may later affect peer AS validation during BGP session establishment. Version 4.6.0 patches the issue.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","score":5.9,"severity":null}],"references":["https://github.com/osrg/gobgp/security/advisories/GHSA-gjrg-jjr3-56cm","https://github.com/osrg/gobgp/commit/f02ca397821f6ca182ef4eb492c3cbc459552d7c"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-75806","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Sep 10, 2026, 9:56:13 PM","dateUpdated":"Sep 15, 2026, 3:10:15 PM"},"relatedAdvisories":[],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2026-75806","identifiers":["EUVD-2026-75806","CVE-2026-49837","GHSA-gjrg-jjr3-56cm"]},"retained":false,"historicalAffected":[]},{"revision":"983a14d3b1094973bcef23639e3316c6","observedAt":"2026-10-25T12:17:38.331+00:00","statement":{"source":"nvd","id":"CVE-2026-49837","aliases":[],"title":"GoBGP is an open source Border Gateway Protocol (BGP) implementation in the Go Programming Language. Versions prior to 4.6.0 contain a BGP OPEN capability parsing issue where several concrete capability decoders may parse data from the full…","description":"GoBGP is an open source Border Gateway Protocol (BGP) implementation in the Go Programming Language. Versions prior to 4.6.0 contain a BGP OPEN capability parsing issue where several concrete capability decoders may parse data from the full remaining capability buffer instead of the slice bounded by the declared capability length, `CapLen`. A malformed BGP OPEN message can cause bytes from a following capability to be interpreted as part of the current capability. The most security-relevant case is the 4-octet AS capability, where a capability with `CapLen == 0` may cause the parser to read bytes from the following capability as the 4-octet AS value. This parsed value may later affect peer AS validation during BGP session establishment. Version 4.6.0 patches the issue.","state":0,"publishedAt":"2026-09-10T22:16:57.507+00:00","modifiedAt":"2026-09-16T13:42:46.953+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · security-advisories@github.com · Secondary","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","score":5.9,"severity":"MEDIUM"}],"references":["https://github.com/osrg/gobgp/commit/f02ca397821f6ca182ef4eb492c3cbc459552d7c","https://github.com/osrg/gobgp/security/advisories/GHSA-gjrg-jjr3-56cm"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-49837","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Deferred","weaknesses":["CWE-125"],"productCriteria":[],"sourceDates":{"published":"2026-09-10T22:16:57.507","lastModified":"2026-09-16T13:42:46.953"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2026-49837","identifiers":["CVE-2026-49837"]},"retained":false,"historicalAffected":[]},{"revision":"1f569ee9804747cc8416de3c29c01aa3","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-gjrg-jjr3-56cm","aliases":["CVE-2026-49837","GO-2026-5955"],"title":"GoBGP: BGP OPEN capability parser may read capability values outside declared CapLen boundaries","description":"### Summary\n    GoBGP contains a BGP OPEN capability parsing issue where several concrete capability decoders may parse data from the full remaining capability buffer instead of the slice bounded by the declared capability length, `CapLen`.\n    A malformed BGP OPEN message can cause bytes from a following capability to be interpreted as part of the current capability. The most security-relevant case is the 4-octet AS capability, where a capability with `CapLen == 0` may cause the parser to read bytes from the following capability as the 4-octet AS value. This parsed value may later affect peer AS validation during BGP session establishment.\n\n### Details\nThe issue is in the BGP OPEN capability parser under:\n\n- `pkg/packet/bgp/bgp.go`\n- `pkg/packet/bgp/validate.go`\n- \nThe BGP OPEN optional parameter capability format includes a capability code, a capability length field, and a capability value. Each concrete capability decoder should only parse bytes inside the declared capability value boundary.\nIn affected versions, the generic capability parser records the declared `CapLen`, but several concrete capability decoders continue parsing from the full remaining capability buffer after advancing past the two-byte capability header. Conceptually, the vulnerable pattern is:\n```go\ndata = data[2:]\n// decoder reads from data without first limiting it to CapLen\n\n### PoC\nThe following parser-level proof of concept demonstrates the issue without requiring a full BGP session or a running `bgpd` instance.\nThe malformed capability uses:\n- Capability Code: `65` (`BGP_CAP_FOUR_OCTET_AS_NUMBER`)\n- Declared `CapLen`: `0`\n- Four following bytes: `00 00 fd e8`\n\nAlthough the capability declares an empty value, affected versions parse the following four bytes as the 4-octet AS value `65000`.\n\n### Impact\nA remote peer that can send a malformed BGP OPEN message to a GoBGP instance may cause capability values to be parsed from outside their declared `CapLen` boundaries.\nIn the 4-octet AS capability case, this may affect:\n- peer AS validation;\n- capability negotiation;\n- interpretation of malformed OPEN messages;\n- acceptance or rejection decisions during BGP session establishment.\nThis issue does not appear to be arbitrary memory corruption, remote code execution, or information disclosure. It is a protocol parser boundary validation issue that can affect BGP OPEN validation semantics.","state":0,"publishedAt":"2026-07-09T23:20:57+00:00","modifiedAt":"2026-07-24T19:11:27.0190329+00:00","affected":[{"ecosystem":"Go","name":"github.com/osrg/gobgp/v4","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"4.6.0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/osrg/gobgp/security/advisories/GHSA-gjrg-jjr3-56cm","https://github.com/osrg/gobgp"],"sourceUrl":"https://github.com/advisories/GHSA-gjrg-jjr3-56cm","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-gjrg-jjr3-56cm","identifiers":["GHSA-gjrg-jjr3-56cm","CVE-2026-49837","GO-2026-5955"]},"retained":false,"historicalAffected":[]},{"revision":"f479adee74b343ce8efcc29ed1703c1d","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GO-2026-5955","aliases":["CVE-2026-49837","GHSA-gjrg-jjr3-56cm"],"title":"GoBGP: BGP OPEN capability parser may read capability values outside declared CapLen boundaries in github.com/osrg/gobgp","description":"GoBGP: BGP OPEN capability parser may read capability values outside declared CapLen boundaries in github.com/osrg/gobgp","state":0,"publishedAt":"2026-07-24T18:35:55+00:00","modifiedAt":"2026-07-24T19:00:27.2700487+00:00","affected":[{"ecosystem":"Go","name":"github.com/osrg/gobgp/v4","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"4.6.0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[],"references":["https://github.com/osrg/gobgp/security/advisories/GHSA-gjrg-jjr3-56cm","https://github.com/osrg/gobgp/commit/f02ca397821f6ca182ef4eb492c3cbc459552d7c"],"sourceUrl":"https://osv.dev/vulnerability/GO-2026-5955","license":"OSV · upstream source license applies","key":"osv:GO-2026-5955","identifiers":["GO-2026-5955","CVE-2026-49837","GHSA-gjrg-jjr3-56cm"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-15T14:00:58.8747033+00:00","complete":true,"records":1781,"lastAttemptAt":"2026-11-15T14:00:58.8747033+00:00","lastSuccessAt":"2026-11-15T14:00:59.0227358+00:00","error":null,"lastVerifiedAt":"2026-11-15T14:00:59.0227405+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-7de4d7559a5263003f03d9f70577ab06f92ba4178309f26fce53e22a4a959294-e0d3f110789655b29baffcc6dfd284a37d48c3c85e8fdf69001ce2a2553683cc","complete":true,"records":425795,"lastAttemptAt":"2026-11-15T14:00:58.2568227+00:00","lastSuccessAt":"2026-11-15T14:00:58.2484273+00:00","error":null,"lastVerifiedAt":"2026-11-15T14:00:58.2568227+00:00","snapshotPublishedAt":"2026-11-15T13:17:58+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-d060c8857bf84b09a873a38b01f771af","complete":false,"records":13821,"lastAttemptAt":"2026-11-15T14:03:26.2731968+00:00","lastSuccessAt":"2026-11-15T14:03:26.3718456+00:00","error":null,"lastVerifiedAt":"2026-11-15T14:03:26.3718456+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-15T14:00:58.8747033+00:00","complete":true,"records":1125,"lastAttemptAt":"2026-11-15T14:00:58.8747033+00:00","lastSuccessAt":"2026-11-15T14:00:59.0237887+00:00","error":null,"lastVerifiedAt":"2026-11-15T14:00:59.0237894+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-c167466b61b34733b7aedb2becc5e769","complete":true,"records":13833,"lastAttemptAt":"2026-11-15T14:01:07.9073093+00:00","lastSuccessAt":"2026-11-15T14:01:07.902+00:00","error":null,"lastVerifiedAt":"2026-11-15T14:01:07.902+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13874,"expectedIdentifiers":13874,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-64eea06dbd27de8464d5dbce1b78cc794cc59e2d901516ae0d3ea76e624cdae0","complete":true,"records":9955,"lastAttemptAt":"2026-11-15T14:00:58.6576445+00:00","lastSuccessAt":"2026-11-14T13:57:23.1208135+00:00","error":null,"lastVerifiedAt":"2026-11-15T14:00:58.6576445+00:00","snapshotPublishedAt":"2026-11-14T13:17:57+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-f4424d7d4861b1af1404bd15abcb83f295dcd003412a9340ca99dc8200aa148a","complete":true,"records":2014,"lastAttemptAt":"2026-11-15T14:00:58.434525+00:00","lastSuccessAt":"2026-11-13T19:57:08.2864435+00:00","error":null,"lastVerifiedAt":"2026-11-15T14:00:58.434525+00:00","snapshotPublishedAt":"2026-11-13T19:33:10+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-6086d649bcb454cdf302d7d9275177bda73550e1b6e446b3520e9b6266d3582c","complete":true,"records":3148,"lastAttemptAt":"2026-11-15T14:00:58.7667639+00:00","lastSuccessAt":"2026-11-15T11:05:17.1034234+00:00","error":null,"lastVerifiedAt":"2026-11-15T14:00:58.7667639+00:00","snapshotPublishedAt":"2026-11-15T10:03:04+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-ff18f36f13fcca3a20a3fb9274b59b8872d18869a99071730e1e79b625c8f612","complete":true,"records":232475,"lastAttemptAt":"2026-11-15T14:00:58.5538131+00:00","lastSuccessAt":"2026-11-15T11:05:10.4195883+00:00","error":null,"lastVerifiedAt":"2026-11-15T14:00:58.5538131+00:00","snapshotPublishedAt":"2026-11-15T10:33:06+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}