<?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://db.gcve.eu</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>Mon, 28 Sep 2026 19:44:57 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-54522 — MessagePack::Buffer#clear Use-After-Free that Enables Cross-Buffer Disclosure</title>
      <link>https://db.gcve.eu/vuln/cve-2026-54522</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; msgpack-ruby&lt;/p&gt;
&lt;p&gt;MessagePack for Ruby is an implementation of the MessagePack binary serialization format. Prior to 1.8.2, MessagePack::Buffer#clear in ext/msgpack/buffer.c leaves rmem_last, rmem_end, and rmem_owner stale after _msgpack_buffer_shift_chunk returns an rmem page to the shared pool, allowing a subsequent Buffer#write and a second MessagePack::Buffer to alias the page and disclose or corrupt cross-buffer data. This issue is fixed in version 1.8.2.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; msgpack-ruby&lt;/p&gt;
&lt;p&gt;MessagePack for Ruby is an implementation of the MessagePack binary serialization format. Prior to 1.8.2, MessagePack::Buffer#clear in ext/msgpack/buffer.c leaves rmem_last, rmem_end, and rmem_owner stale after _msgpack_buffer_shift_chunk returns an rmem page to the shared pool, allowing a subsequent Buffer#write and a second MessagePack::Buffer to alias the page and disclose or corrupt cross-buffer data. This issue is fixed in version 1.8.2.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-54522</guid>
    </item>
    <item>
      <title>GHSA-4mrv-5p47-p938 — MessagePack::Buffer#clear Use-After-Free that Enables Cross-Buffer Disclosure</title>
      <link>https://db.gcve.eu/vuln/ghsa-4mrv-5p47-p938</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; RubyGems: msgpack&lt;/p&gt;
&lt;p&gt;### Summary
`MessagePack::Buffer#clear` shifts out every chunk and returns its 4 KiB rmem page to the shared pool, but does not reset the buffer&amp;#39;s rmem cursor (`rmem_last`, `rmem_end`, `rmem_owner`). The next write sees &amp;#34;unused rmem space&amp;#34; left over from the freed page and hands back a slice of memory that has already been returned to the pool. A second `MessagePack::Buffer` then re-acquires that same page, so reading the cleared-and-rewritten buffer discloses the second buffer&amp;#39;s bytes — a same-process use-after-free with cross-buffer information disclosure (and the symmetric write-corruption).&lt;/p&gt;
&lt;p&gt;### Details
- `msgpack_buffer_clear()` → `_msgpack_buffer_shift_chunk()` (`ext/msgpack/buffer.c:151`, `:128`) destroys chunks (`_msgpack_buffer_chunk_destroy`, `:58`, returns the page via `msgpack_rmem_free`) but resets only `tail_buffer_end`/`read_buffer`, leaving `rmem_last`/`rmem_end`/`rmem_owner` pointing into the freed page.
- Next `Buffer#write` → `_msgpack_buffer_chunk_malloc()` reuse branch (`:363`) returns `b-&amp;gt;rmem_last`, a pointer into the already-freed page.
- A second buffer&amp;#39;s first write calls `msgpack_rmem_alloc()` and gets the same physical page back from the pool → the two buffers alias the same memory.
- Sanitizer note: rmem (`ext/msgpack/rmem.h`) recycles pages with a slab bitmask, not `free()`, so a stock ASAN build does not abort; the cross-buffer disclosure below is the proof.&lt;/p&gt;
&lt;p&gt;### PoC
Single self-contained script (builds msgpack from rubygems with AddressSanitiz…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; RubyGems: msgpack&lt;/p&gt;
&lt;p&gt;### Summary
`MessagePack::Buffer#clear` shifts out every chunk and returns its 4 KiB rmem page to the shared pool, but does not reset the buffer&amp;#39;s rmem cursor (`rmem_last`, `rmem_end`, `rmem_owner`). The next write sees &amp;#34;unused rmem space&amp;#34; left over from the freed page and hands back a slice of memory that has already been returned to the pool. A second `MessagePack::Buffer` then re-acquires that same page, so reading the cleared-and-rewritten buffer discloses the second buffer&amp;#39;s bytes — a same-process use-after-free with cross-buffer information disclosure (and the symmetric write-corruption).&lt;/p&gt;
&lt;p&gt;### Details
- `msgpack_buffer_clear()` → `_msgpack_buffer_shift_chunk()` (`ext/msgpack/buffer.c:151`, `:128`) destroys chunks (`_msgpack_buffer_chunk_destroy`, `:58`, returns the page via `msgpack_rmem_free`) but resets only `tail_buffer_end`/`read_buffer`, leaving `rmem_last`/`rmem_end`/`rmem_owner` pointing into the freed page.
- Next `Buffer#write` → `_msgpack_buffer_chunk_malloc()` reuse branch (`:363`) returns `b-&amp;gt;rmem_last`, a pointer into the already-freed page.
- A second buffer&amp;#39;s first write calls `msgpack_rmem_alloc()` and gets the same physical page back from the pool → the two buffers alias the same memory.
- Sanitizer note: rmem (`ext/msgpack/rmem.h`) recycles pages with a slab bitmask, not `free()`, so a stock ASAN build does not abort; the cross-buffer disclosure below is the proof.&lt;/p&gt;
&lt;p&gt;### PoC
Single self-contained script (builds msgpack from rubygems with AddressSanitiz…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/ghsa-4mrv-5p47-p938</guid>
    </item>
  </channel>
</rss>
