<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://vulnerability.circl.lu</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Wed, 30 Sep 2026 10:40:48 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-89538 — SUNRPC: Reject krb5 v2 wrap tokens with oversized ec field</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2026-89538</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;SUNRPC: Reject krb5 v2 wrap tokens with oversized ec field&lt;/p&gt;
&lt;p&gt;gss_krb5_unwrap_v2() sets buf-&amp;gt;len to a logical
length, which can be much smaller than head[0].iov_len
(the allocated receive-page capacity).  It then calls
xdr_buf_trim() with a trim length derived from the 16-bit
&amp;#34;extra count&amp;#34; (ec) field in the Kerberos v2 token header.&lt;/p&gt;
&lt;p&gt;The ec field is authenticated by the post-decrypt memcmp()
against the encrypted header copy, so a randomly-mutated
value is rejected.  However, any peer holding a valid GSS
context can legitimately encrypt a token whose ec exceeds
the plaintext length.  Per RFC 4121, such a token is
structurally malformed.&lt;/p&gt;
&lt;p&gt;Although xdr_buf_trim() now clamps the buf-&amp;gt;len subtraction
to avoid unsigned underflow, the buffer is still left in a
semantically invalid state (zero length, inconsistent iov
lengths) when ec is oversized.&lt;/p&gt;
&lt;p&gt;Reject these tokens before calling xdr_buf_trim(), giving
callers a well-defined GSS_S_DEFECTIVE_TOKEN error and
keeping the xdr_buf internally consistent.  The wrapped blob
begins at a nonzero offset -- both callers pass len as
offset + opaque_len -- so buf-&amp;gt;len still counts the offset
bytes that precede the blob.  Compare the trim length
against the remaining wrapped segment, buf-&amp;gt;len - offset,
rather than the whole buffer; comparing against buf-&amp;gt;len
alone leaves an offset-wide window in which an oversized ec
passes the test and xdr_buf_trim() cuts into the bytes ahead…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;SUNRPC: Reject krb5 v2 wrap tokens with oversized ec field&lt;/p&gt;
&lt;p&gt;gss_krb5_unwrap_v2() sets buf-&amp;gt;len to a logical
length, which can be much smaller than head[0].iov_len
(the allocated receive-page capacity).  It then calls
xdr_buf_trim() with a trim length derived from the 16-bit
&amp;#34;extra count&amp;#34; (ec) field in the Kerberos v2 token header.&lt;/p&gt;
&lt;p&gt;The ec field is authenticated by the post-decrypt memcmp()
against the encrypted header copy, so a randomly-mutated
value is rejected.  However, any peer holding a valid GSS
context can legitimately encrypt a token whose ec exceeds
the plaintext length.  Per RFC 4121, such a token is
structurally malformed.&lt;/p&gt;
&lt;p&gt;Although xdr_buf_trim() now clamps the buf-&amp;gt;len subtraction
to avoid unsigned underflow, the buffer is still left in a
semantically invalid state (zero length, inconsistent iov
lengths) when ec is oversized.&lt;/p&gt;
&lt;p&gt;Reject these tokens before calling xdr_buf_trim(), giving
callers a well-defined GSS_S_DEFECTIVE_TOKEN error and
keeping the xdr_buf internally consistent.  The wrapped blob
begins at a nonzero offset -- both callers pass len as
offset + opaque_len -- so buf-&amp;gt;len still counts the offset
bytes that precede the blob.  Compare the trim length
against the remaining wrapped segment, buf-&amp;gt;len - offset,
rather than the whole buffer; comparing against buf-&amp;gt;len
alone leaves an offset-wide window in which an oversized ec
passes the test and xdr_buf_trim() cuts into the bytes ahead…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2026-89538</guid>
    </item>
  </channel>
</rss>
