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 package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| libcsp libcsp | 2.0 | NVD |
Classification
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
| https://github.com/libcsp/libcsp/issues/850 | third-party-advisory | |
| https://github.com/libcsp/libcsp/pull/852 | patch | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-51823 changed 2025-08-11 | CVE Terms of Use |
| NVD | CVE-2025-51823 changed 2026-06-17 | Public domain |