CVE-2026-29795: stellar-xdr is a library and CLI containing types and functionality for working with Stellar XDR
CVE-2026-29795 is a medium-severity flaw (CVSS 4.0) affecting stellar-xdr. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
stellar-xdr is a library and CLI containing types and functionality for working with Stellar XDR. Prior to version 25.0.1, StringM::from_str does not validate that the input length is within the declared maximum (MAX). Calling StringM::<N>::from_str(s) where s is longer than N bytes succeeds and returns an Ok value instead of Err(Error::LengthExceedsMax), producing a StringM that violates its length invariant. This affects any code that construct
Why this priority
- No elevated risk signals yet
A fixed release or distro patch exists.
Risk facts
| CVSS score | 4.0 (Medium) |
| Attack vector | Local |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 0.2% (top 90%) |
| CISA exploited list | No |
| Weakness | CWE-770 |
| Published | 2026-03-06 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-29795?
stellar-xdr: upgrade to 25.0.1. Exact commands for each OS are on this page.
Is CVE-2026-29795 being exploited?
CVE-2026-29795 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-29795 affect?
CVE-2026-29795 affects stellar-xdr. Severity is medium (CVSS 4.0). stellar-xdr is a library and CLI containing types and functionality for working with Stellar XDR. Prior to version 25.0.1, StringM::from_str does not validate that the input length is within the declared maximum (MAX). Calling StringM::<N>:
How urgent is CVE-2026-29795?
Priority 17/100. No elevated risk signals yet.