CVE-2025-51824 Details
Description
libcsp 2.0 is vulnerable to Buffer Overflow in the csp_usart_open() function at drivers/usart/zephyr.c.
A buffer overflow vulnerability has been identified in libcsp version 2.0 within the csp_usart_open function, located in the usart_zephyr.c file. The vulnerability arises from the use of the unsafe strcpy function, which copies data without proper input validation or length checks. This flaw allows for memory safety issues, as an input argument exceeding 11 characters can overflow the ctx->name buffer, which is limited to 11 bytes.
The vulnerability has been addressed in the official libcsp repository. Users should update to the latest version.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Aug 11, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/libcsp/libcsp/issues/851 | [email protected] | Issue Tracking |
| https://github.com/libcsp/libcsp/pull/853 | [email protected] | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-120 | Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| libcsp libcsp | 2.0 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Aug 14, 2025 | Initial Analysis | [email protected] |
| Aug 11, 2025 | CVE Modified | CISA-ADP |
| Aug 11, 2025 | New CVE Received | [email protected] |