CVE-2025-51823

medium

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.

References

https://github.com/libcsp/libcsp/pull/852

https://github.com/libcsp/libcsp/issues/850

Details

Source: Mitre, NVD

Published: 2025-08-11

Updated: 2025-08-14

Risk Information

CVSS v2

Base Score: 6.1

Vector: CVSS2#AV:N/AC:H/Au:N/C:P/I:C/A:N

Severity: Medium

CVSS v3

Base Score: 6.5

Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N

Severity: Medium

EPSS

EPSS: 0.00028