CVE-2025-51823 Memory corruption in n/a

Medium 6.5 Published Updated

A buffer overflow in libcsp's csp_eth_init function allows attackers to execute arbitrary code or cause denial of service via improper interface name handling.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-51823?

CVE-2025-51823 is a medium-severity memory corruption vulnerability in n/a, published on 11 Aug 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-120

Which versions are affected by CVE-2025-51823?

It affects 1 product.

Products include Libcsp Libcsp.

How do I fix CVE-2025-51823?

No fix has been published for CVE-2025-51823 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2025-51823 being exploited?

There is no known exploitation of CVE-2025-51823 in the wild and no public exploit code.

Sources

Also known as GHSA-mmm3-jq63-7mw5, UBUNTU-CVE-2025-51823.

Is CVE-2025-51823 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free