<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://vulnerability.circl.lu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-09-28T10:46:31.141906+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@circl.lu</email>
  </author>
  <link href="https://vulnerability.circl.lu" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/brew-stellar-xdr-cve-2026-29795</id>
    <title>BREW-stellar-xdr-CVE-2026-29795 — stellar-xdr: `StringM::from_str` bypasses max length validation</title>
    <updated>2026-09-28T10:46:31.263281+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Homebrew: stellar-xdr</p>
<p>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::&lt;N&gt;::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.</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/brew-stellar-xdr-cve-2026-29795"/>
  </entry>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/fkie_cve-2026-29795</id>
    <title>fkie_cve-2026-29795</title>
    <updated>2026-09-28T10:46:31.263613+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>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::&lt;N&gt;::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.</p>
      </div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/fkie_cve-2026-29795"/>
  </entry>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/ghsa-x57h-xx53-v53w</id>
    <title>GHSA-x57h-xx53-v53w — stellar-xdr's StringM::from_str bypasses max length validation</title>
    <updated>2026-09-28T10:46:31.263769+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> crates.io: stellar-xdr</p>
<p>### Impact</p>
<p>`StringM::from_str` does not validate that the input length is within the declared maximum (`MAX`). Calling `StringM::&lt;N&gt;::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.</p>
<p>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.</p>
<p>All published versions of the `stellar-xdr` crate up to and including `v25.0.0` are affected.</p>
<p>### Patches</p>
<p>The fix is merged in [#500](https://github.com/stellar/rs-stellar-xdr/pull/500). It replaces the direct `Ok(Self(b))` construction with `b.try_into()`, which routes through `TryFrom&lt;Vec&lt;u8&gt;&gt;` and properly validates the length — matching the pattern already used by `BytesM::from_str`.</p>
<p>Users should upgrade to the first release containing this fix once published (the next release after `v25.0.0`).</p>
<p>### Workarounds</p>
<p>Validate the byte length of string input before calling `StringM::from_str`, or construct `StringM` values via `StringM::try_from(s.as_bytes().to_vec())` which correctly enforces the length constraint.</p>
<p>### References</p>
<p>- Issue: https://github.com/stellar/rs-stellar-xdr/issues/499
- Fix: https://github.com/stellar/rs-stellar-xdr/pull/500</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/ghsa-x57h-xx53-v53w"/>
  </entry>
</feed>
