CVE-2026-29795
Last modified
CVE-2026-29795 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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). EPSS estimates a 0.19% chance of exploitation in the next 30 days.
Description
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 constructs StringM values from string input using FromStr (including str::parse), and relies on the type's maximum length constraint being enforced. An oversized StringM could propagate through serialization, validation, or other logic that assumes the invariant holds. This issue has been patched in version 25.0.1.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Stellar | Stellar-Xdr | < 25.0.1 |
References
- https://github.com/stellar/rs-stellar-xdr/issues/499Issue Tracking
- https://github.com/stellar/rs-stellar-xdr/pull/500Issue Tracking, Patch
- https://github.com/stellar/rs-stellar-xdr/security/advisories/GHSA-x57h-xx53-v53wMitigation, Patch, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-29795?
How severe is CVE-2026-29795?
How do I fix CVE-2026-29795?
Are you affected by CVE-2026-29795?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
