Buffer overflow in Libcsp
CVE-2025-51823
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N.
EPSS exploit prediction
EPSS: 0.003 (16.6th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 17th percentile — 16.6% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.003 · newest: 0.003 · change: 0.000
Affected products
- Libcsp — versions 2.0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/libcsp/libcsp/issues/850 (Third Party Advisory)
- github.com/libcsp/libcsp/pull/852 (Patch)
Frequently asked questions
- What is CVE-2025-51823?
- CVE-2025-51823 is a medium-severity vulnerability in Libcsp, classified under Buffer Copy without Checking Size of Input (Classic Buffer Overflow). CVSS score: 6.5/10. Published 2025-08-11.
- How severe is CVE-2025-51823?
- Medium severity. CVSS v3 base score is 6.5 out of 10.
- Is CVE-2025-51823 known to be exploited?
- 2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.