<?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://cve.radiocsirt.org/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-11-17T12:26:29.241325+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>csirt@opendfir.org</email>
  </author>
  <link href="https://cve.radiocsirt.org" 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://cve.radiocsirt.org/vuln/bit-pillow-2026-96638</id>
    <title>BIT-pillow-2026-96638 — Pillow: BMP RLE decoder memory-amplification DoS via unbounded delta escape / absolute mode</title>
    <updated>2026-11-17T12:26:29.243907+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Bitnami: pillow</p>
<p>Pillow is a Python imaging library. From 9.1.0 until 13.0.0, BmpRleDecoder.decode() in src/PIL/BmpImagePlugin.py permits crafted RLE BMP delta escapes and absolute-mode runs to append beyond the remaining dest_length without a per-branch cap. A delta can add roughly 255 image rows in one iteration, so a kilobyte-sized file with a large but permitted width can expand the data bytearray to hundreds of megabytes or more, causing memory-exhaustion denial of service. This issue is fixed in version 13.0.0.</p></div>
    </content>
    <link href="https://cve.radiocsirt.org/vuln/bit-pillow-2026-96638"/>
  </entry>
  <entry>
    <id>https://cve.radiocsirt.org/vuln/cve-2026-96638</id>
    <title>CVE-2026-96638 — Pillow: BMP RLE decoder memory-amplification DoS via unbounded delta escape / absolute mode</title>
    <updated>2026-11-17T12:26:29.243963+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> python-pillow Pillow</p>
<p>Pillow is a Python imaging library. From 9.1.0 until 13.0.0, BmpRleDecoder.decode() in src/PIL/BmpImagePlugin.py permits crafted RLE BMP delta escapes and absolute-mode runs to append beyond the remaining dest_length without a per-branch cap. A delta can add roughly 255 image rows in one iteration, so a kilobyte-sized file with a large but permitted width can expand the data bytearray to hundreds of megabytes or more, causing memory-exhaustion denial of service. This issue is fixed in version 13.0.0.</p></div>
    </content>
    <link href="https://cve.radiocsirt.org/vuln/cve-2026-96638"/>
  </entry>
  <entry>
    <id>https://cve.radiocsirt.org/vuln/ghsa-24rc-8hj2-v98c</id>
    <title>GHSA-24rc-8hj2-v98c — Pillow: BMP RLE decoder memory-amplification DoS via unbounded delta escape / absolute mode</title>
    <updated>2026-11-17T12:26:29.243994+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> PyPI: pillow</p>
<p>## Summary
BmpRleDecoder can be forced to allocate gigabytes of memory from a kilobyte-sized crafted BMP file via unbounded growth in the delta escape and absolute mode branches.</p>
<p>## Affected versions
All versions up to and including current HEAD (v13.0.0.dev0, commit e7a7ea84)</p>
<p>## Root cause
BmpRleDecoder.decode() (BmpImagePlugin.py:327-395) builds a Python bytearray `data` with dest_length = xsize*ysize, looping `while len(data) &lt; dest_length`. The loop condition is only checked at the TOP; individual branches append attacker-controlled amounts UNBOUNDED by dest_length:</p>
<p>- delta escape (line 370): data += b"\x00" * (right + up * self.state.xsize) with right,up in 0..255 -&gt; up to ~255*xsize bytes in ONE iteration.
- absolute mode (line 385): data += bytes_read (up to 255).</p>
<p>Because a single delta can push len(data) to ~256 * (row size), a tiny RLE stream combined with a large-but-legal xsize (xsize*ysize just under MAX_IMAGE_PIXELS, ~89M) yields a multi-GB `data` bytearray (then copied again by bytes(data) and set_as_raw). No heap OOB (bytearray/set_as_raw are bounds-safe), but a severe memory-amplification DoS: the attacker file stays tiny.</p>
<p>## Reproduction
Python 3.13, Pillow HEAD e7a7ea84</p>
<p>Attached: pillow_poc_bmp_rle_dos.py</p>
<p>A 1084-byte BMP (BI_RLE8, width=3,000,000, height=1 -&gt; 3M px, passes bomb check) with one delta escape (00 02 00 150) produces ~429 MB `data`; measured peak RSS 911 MB. Scaling width toward the bomb limit and up=255 produces tens of GB from a ~1 KB…</p></div>
    </content>
    <link href="https://cve.radiocsirt.org/vuln/ghsa-24rc-8hj2-v98c"/>
  </entry>
</feed>
