{"id":"CVE-2025-43970","aliases":["CVE-2025-43970","GHSA-hqhq-hp5x-xp3w","GO-2025-3630"],"related":["CGA-jxf8-xr6h-j4wf"],"kind":"vulnerability","state":"published","title":"GoBGP does not properly check the input length","summary":"An issue was discovered in GoBGP before 3.35.0. pkg/packet/mrt/mrt.go does not properly check the input length, e.g., by ensuring that there are 12 bytes or 36 bytes (depending on the address family).","summarySource":"cvelist","descriptions":[{"lang":"en","text":"An issue was discovered in GoBGP before 3.35.0. pkg/packet/mrt/mrt.go does not properly check the input length, e.g., by ensuring that there are 12 bytes or 36 bytes (depending on the address family).","source":"cvelist"},{"lang":"en","text":"GoBGP does not properly check the input length in github.com/osrg/gobgp","format":"markdown","source":"go"},{"lang":"es","text":"Se descubrió un problema en GOBGP antes de 3.35.0. PKG/Packet/MRT/MRT.GO no verifica correctamente la longitud de entrada, por ejemplo, asegurando que haya 12 bytes o 36 bytes (dependiendo de la familia de direcciones).","source":"nvd"}],"published":"2025-04-21T00:00:00.000Z","modified":"2026-09-10T03:50:57.242Z","severity":{"scorer":"mitre","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:L","score":4.3,"rating":"MEDIUM"},"severities":[{"scorer":"mitre","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:L","score":4.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:L","score":4.3,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"rating":"MEDIUM"}],"cwes":["CWE-1284"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"3.35.0","status":"affected"}],"vendor":"GoBGP","product":"GoBGP","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/osrg/gobgp","purl":"pkg:golang/github.com/osrg/gobgp","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.35.0"}],"ecosystem":"Go","package":"github.com/osrg/gobgp/v3","purl":"pkg:golang/github.com/osrg/gobgp/v3","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/osrg/gobgp","purl":"pkg:golang/github.com/osrg/gobgp","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.35.0"}],"ecosystem":"Go","package":"github.com/osrg/gobgp/v3","purl":"pkg:golang/github.com/osrg/gobgp/v3","source":"go"},{"ranges":[{"status":"affected","fixed":"3.35.0"}],"vendor":"osrg","product":"gobgp","cpe":"cpe:2.3:a:osrg:gobgp:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/osrg/gobgp/compare/v3.34.0...v3.35.0","tags":["patch","release-notes","web"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/osrg/gobgp/commit/5153bafbe8dbe1a2f02a70bbf0365e98b80e47b0","tags":["fix","patch","web"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-43970","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/osrg/gobgp","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-hqhq-hp5x-xp3w","tags":["advisory"],"sources":["go"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-04-21T01:55:58.901Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-43970","url":"https://www.cve.org/CVERecord?id=CVE-2025-43970","licence":"CVE Terms of Use","modified":"2025-04-21T01:56:11.101Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-hqhq-hp5x-xp3w","url":"https://github.com/advisories/GHSA-hqhq-hp5x-xp3w","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:57.242Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2025-3630","url":"https://pkg.go.dev/vuln/GO-2025-3630","licence":"CC-BY-4.0","modified":"2026-02-04T04:14:59.897Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-43970","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-43970","licence":"Public domain","modified":"2026-06-17T09:24:50.657Z"}],"updatedAt":"2026-11-25T22:58:56.804Z","epss":{"score":0.00439,"percentile":0.39906,"date":"2026-12-01T12:00:22.000Z"}}