<?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://cve.radiocsirt.org</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>Sun, 04 Oct 2026 14:33:43 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-27809 — psd-tools: Compression module has unguarded zlib decompression, missing dimension validation, and hardening gaps</title>
      <link>https://cve.radiocsirt.org/vuln/cve-2026-27809</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; psd-tools&lt;/p&gt;
&lt;p&gt;psd-tools is a Python package for working with Adobe Photoshop PSD files. Prior to version 1.12.2, when a PSD file contains malformed RLE-compressed image data (e.g. a literal run that extends past the expected row size), decode_rle() raises ValueError which propagated all the way to the user, crashing psd.composite() and psd-tools export. decompress() already had a fallback that replaces failed channels with black pixels when result is None, but it never triggered because the ValueError from decode_rle() was not caught. The fix in version 1.12.2 wraps the decode_rle() call in a try/except so the existing fallback handles the error gracefully.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; psd-tools&lt;/p&gt;
&lt;p&gt;psd-tools is a Python package for working with Adobe Photoshop PSD files. Prior to version 1.12.2, when a PSD file contains malformed RLE-compressed image data (e.g. a literal run that extends past the expected row size), decode_rle() raises ValueError which propagated all the way to the user, crashing psd.composite() and psd-tools export. decompress() already had a fallback that replaces failed channels with black pixels when result is None, but it never triggered because the ValueError from decode_rle() was not caught. The fix in version 1.12.2 wraps the decode_rle() call in a try/except so the existing fallback handles the error gracefully.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/cve-2026-27809</guid>
    </item>
    <item>
      <title>GHSA-24p2-j2jr-386w — psd-tools: Compression module has unguarded zlib decompression, missing dimension validation, and hardening gaps</title>
      <link>https://cve.radiocsirt.org/vuln/ghsa-24p2-j2jr-386w</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; PyPI: psd-tools&lt;/p&gt;
&lt;p&gt;## Summary&lt;/p&gt;
&lt;p&gt;A security review of the `psd_tools.compression` module (conducted against the `fix/invalid-rle-compression` branch, commits `7490ffa`–`2a006f5`) identified the following pre-existing issues. The two findings introduced and **fixed** by those commits (Cython buffer overflow, `IndexError` on lone repeat header) are excluded from this report.&lt;/p&gt;
&lt;p&gt;---&lt;/p&gt;
&lt;p&gt;## Findings&lt;/p&gt;
&lt;p&gt;### 1. Unguarded `zlib.decompress` — ZIP bomb / memory exhaustion (Medium)&lt;/p&gt;
&lt;p&gt;**Location**: `src/psd_tools/compression/__init__.py`, lines 159 and 162&lt;/p&gt;
&lt;p&gt;```python
result = zlib.decompress(data)          # Compression.ZIP
decompressed = zlib.decompress(data)    # Compression.ZIP_WITH_PREDICTION
```&lt;/p&gt;
&lt;p&gt;`zlib.decompress` is called without a `max_length` cap. A crafted PSD file containing a ZIP-compressed channel whose compressed payload expands to gigabytes would exhaust process memory before any limit is enforced. The RLE path is not vulnerable to this because the decoder pre-allocates exactly `row_size × height` bytes; the ZIP path has no equivalent ceiling.&lt;/p&gt;
&lt;p&gt;**Impact**: Denial-of-service / OOM crash when processing untrusted PSD files.&lt;/p&gt;
&lt;p&gt;**Suggested mitigation**: Pass a reasonable `max_length` to `zlib.decompress`, derived from the expected `width * height * depth // 8` byte count already computed in `decompress()`.&lt;/p&gt;
&lt;p&gt;---&lt;/p&gt;
&lt;p&gt;### 2. No upper-bound validation on image dimensions before allocation (Low)&lt;/p&gt;
&lt;p&gt;**Location**: `src/psd_tools/compression/__init__.py`, lines 138 and 193&lt;/p&gt;
&lt;p&gt;```python
length = width * height * max(1,…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; PyPI: psd-tools&lt;/p&gt;
&lt;p&gt;## Summary&lt;/p&gt;
&lt;p&gt;A security review of the `psd_tools.compression` module (conducted against the `fix/invalid-rle-compression` branch, commits `7490ffa`–`2a006f5`) identified the following pre-existing issues. The two findings introduced and **fixed** by those commits (Cython buffer overflow, `IndexError` on lone repeat header) are excluded from this report.&lt;/p&gt;
&lt;p&gt;---&lt;/p&gt;
&lt;p&gt;## Findings&lt;/p&gt;
&lt;p&gt;### 1. Unguarded `zlib.decompress` — ZIP bomb / memory exhaustion (Medium)&lt;/p&gt;
&lt;p&gt;**Location**: `src/psd_tools/compression/__init__.py`, lines 159 and 162&lt;/p&gt;
&lt;p&gt;```python
result = zlib.decompress(data)          # Compression.ZIP
decompressed = zlib.decompress(data)    # Compression.ZIP_WITH_PREDICTION
```&lt;/p&gt;
&lt;p&gt;`zlib.decompress` is called without a `max_length` cap. A crafted PSD file containing a ZIP-compressed channel whose compressed payload expands to gigabytes would exhaust process memory before any limit is enforced. The RLE path is not vulnerable to this because the decoder pre-allocates exactly `row_size × height` bytes; the ZIP path has no equivalent ceiling.&lt;/p&gt;
&lt;p&gt;**Impact**: Denial-of-service / OOM crash when processing untrusted PSD files.&lt;/p&gt;
&lt;p&gt;**Suggested mitigation**: Pass a reasonable `max_length` to `zlib.decompress`, derived from the expected `width * height * depth // 8` byte count already computed in `decompress()`.&lt;/p&gt;
&lt;p&gt;---&lt;/p&gt;
&lt;p&gt;### 2. No upper-bound validation on image dimensions before allocation (Low)&lt;/p&gt;
&lt;p&gt;**Location**: `src/psd_tools/compression/__init__.py`, lines 138 and 193&lt;/p&gt;
&lt;p&gt;```python
length = width * height * max(1,…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/ghsa-24p2-j2jr-386w</guid>
    </item>
  </channel>
</rss>
