<?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-30T05:39:48.333290+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/ghsa-jc7w-c686-c4v9</id>
    <title>GHSA-jc7w-c686-c4v9 — github.com/ulikunitz/xz leaks memory when decoding a corrupted multiple LZMA archives</title>
    <updated>2026-09-30T05:39:48.336139+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Go: github.com/ulikunitz/xz</p>
<p>### Summary</p>
<p>It is possible to put data in front of an LZMA-encoded byte stream without detecting the situation while reading the header. This can lead to increased memory consumption because the current implementation allocates the full decoding buffer directly after reading the header. The LZMA header doesn't include a magic number or has  a checksum to detect such an issue according to the [specification](https://github.com/jljusten/LZMA-SDK/blob/master/DOC/lzma-specification.txt).</p>
<p>Note that the code recognizes the issue later while reading the stream, but at this time the memory allocation has already been done.</p>
<p>### Mitigations</p>
<p>The release v0.5.15 includes following mitigations:</p>
<p>- The ReaderConfig DictCap field is now interpreted as a limit for the dictionary size.
- The default is 2 Gigabytes - 1 byte (2^31-1 bytes).
- Users can check with the [Reader.Header] method what the actual values are in  their LZMA files and set a smaller limit using ReaderConfig.
- The dictionary size will not exceed the larger of the file size and the minimum dictionary size. This is another measure to prevent huge memory allocations for the dictionary.
- The code supports stream sizes only up to a pebibyte (1024^5).</p>
<p>Note that the original v0.5.14 version had a compiler error for 32 bit platforms, which has been fixed by v0.5.15.</p>
<p>### Methods affected</p>
<p>Only software that uses [lzma.NewReader](https://pkg.go.dev/github.com/ulikunitz/xz/lzma#NewReader) or [lzma.ReaderConfig.NewReader](http…</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/ghsa-jc7w-c686-c4v9"/>
  </entry>
</feed>
