Skip to content
OpenAdvisories
Medium · 6.5 CVE-2025-51823 EUVD-2025-24163GHSA-mmm3-jq63-7mw5

libcsp 2.0 is vulnerable to Buffer Overflow in the csp_eth_init() function due to improper handling of the ifname parameter. The function u…

Published Aug 11, 2025 · Updated Aug 11, 2025 · 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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS libcsp No fix yet —
Ubuntu 16.04 LTS libcsp No fix yet —

References