CVE-2025-51823
JSON

6.5medium

libcsp 2.0 is vulnerable to Buffer Overflow in the cspethinit() function due to improper handling of the ifname parameter.

Severity
6.5medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.30% (higher than 24% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre

Description

libcsp 2.0 is vulnerable to Buffer Overflow in the csp_eth_init() function due to improper handling of the ifname parameter. The function uses strcpy to copy the interface name into a structure member (ctx->name) without validating the input length.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
libcsp libcsp2.0NVD

Classification

CWE-120

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

What each source says

CVE List

libcsp 2.0 is vulnerable to Buffer Overflow in the csp_eth_init() function due to improper handling of the ifname parameter. The function uses strcpy to copy the interface name into a structure member (ctx->name) without validating the input length.

NVD (es)

libcsp 2.0 es vulnerable a desbordamiento de búfer en la función csp_eth_init() debido al manejo incorrecto del parámetro ifname. La función usa strcpy para copiar el nombre de la interfaz en un miembro de la estructura (ctx->name) sin validar la longitud de la entrada.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-51823 changed 2025-08-11CVE Terms of Use
NVDCVE-2025-51823 changed 2026-06-17Public domain