CVE-2025-43970
JSON

4.3medium

GoBGP does not properly check the input length

Severity
4.3medium CVSS:3.1 by mitre
Exploit likelihood
0.44% (higher than 39% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre
Also known as
GHSA-hqhq-hp5x-xp3wGO-2025-3630

Description

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).

Affected

Product or packageVersionsReported by
GoBGP GoBGPbefore 3.35.0CVE List
github.com/osrg/gobgp (Go)all versionsGitHub Advisory Database, Go Vulnerability Database
github.com/osrg/gobgp/v3 (Go)before 3.35.0GitHub Advisory Database, Go Vulnerability Database
osrg gobgpbefore 3.35.0NVD

All scores

mitre4.3medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:L
GitHub4.3medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:L
NVD5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Classification

CWE-1284

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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).

Go Vulnerability Database

GoBGP does not properly check the input length in github.com/osrg/gobgp

NVD (es)

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).

References

Related

Sources

SourceRecordLicence
CVE ListCVE-2025-43970 changed 2025-04-21CVE Terms of Use
GitHub Advisory DatabaseGHSA-hqhq-hp5x-xp3w changed 2026-09-10CC-BY-4.0
Go Vulnerability DatabaseGO-2025-3630 changed 2026-02-04CC-BY-4.0
NVDCVE-2025-43970 changed 2026-06-17Public domain