Heap memory corruption via overlong USART device name
Published Aug 11, 2025 · Updated Aug 11, 2025
A heap buffer overflow in libcsp 2.0 allows attackers to overwrite memory when a Zephyr USART device name exceeds 11 characters. The csp_usart_open function copies conf->device into the 11-byte ctx->name field with strcpy, without validating or limiting the input length. Exploitation requires an overlong configuration value; public sources do not establish how attackers control that value or the resulting application-level consequence.
Summary
What happened
A heap buffer overflow in libcsp 2.0 allows attackers to overwrite memory when a Zephyr USART device name exceeds 11 characters. The csp_usart_open function copies conf->device into the 11-byte ctx->name field with strcpy, without validating or limiting the input length. Exploitation requires an overlong configuration value; public sources do not establish how attackers control that value or the resulting application-level consequence.
The record
- CVE
- CVE-2025-51824
- Published
- Aug 11, 2025
- Updated
- Aug 11, 2025
- Vendor
- Unknown vendor
- Product
- Unknown product
- Classifications
- CWE-120
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Aug 11, 2025CVE publishedPublication date reported by the CVE source.
- Aug 11, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
What conditions does exploitation require?
What is affected?
Affected products and versions are unavailable in this record.
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo