CVE-2026-29795: rs-stellar-xdr · Unthrottled Resource Allocation
Affects rs-stellar-xdrSource CVE Database V5
Not known to be exploited · CVSS 4.0 Medium : upgrade to 25.0.1 when convenient.
Data as of 30 Oct 2026, 11:52 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 10% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 25.0.1
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 6 Mar 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.
What to do
Upgrade rs-stellar-xdr and github/stellar/rs-stellar-xdr to 25.0.1.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| stellarrs-stellar-xdr | Affected
| Fixed in
|
crates.iogithub/stellar/rs-stellar-xdrpkg:cargo/github/stellar/rs-stellar-xdrOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
To mitigate this vulnerability, organizations should upgrade all instances of the rs-stellar-xdr library to version 25.0.1 or later, where the input length validation issue has been fixed. Developers should audit their codebases to identify any usage of StringM::from_str or related parsing methods that construct StringM values from untrusted input and ensure proper input validation is enforced. Implement additional input sanitization and length checks at higher application layers to prevent oversized strings from reaching the vulnerable code paths. Incorporate fuzz testing and static analysis tools to detect similar resource allocation or input validation issues in related code. Finally, conduct thorough testing of serialization and validation logic to confirm that length invariants are correctly enforced and that malformed data cannot propagate through the system.
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.
References
- github.com/stellar/rs-stellar-xdr/security/advisories/GHSA-x57h-xx53-v53w (opens in a new tab)
- github.com/stellar/rs-stellar-xdr/issues/499 (opens in a new tab)
- github.com/stellar/rs-stellar-xdr/pull/500 (opens in a new tab)
- github.com/stellar/rs-stellar-xdr/commit/1f840013c3e2fca0321fb844b048afa01d10dda6 (opens in a new tab)