<?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-10-06T09:35:16.144952+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/cve-2026-26981</id>
    <title>CVE-2026-26981 — OpenEXR has heap-buffer-overflow via signed integer underflow in ImfContextInit.cpp</title>
    <updated>2026-10-06T09:35:16.146767+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> AcademySoftwareFoundation openexr</p>
<p>OpenEXR provides the specification and reference implementation of the EXR file format, an image storage format for the motion picture industry. In versions 3.3.0 through 3.3.6 and 3.4.0 through 3.4.4, a heap-buffer-overflow (OOB read) occurs in the `istream_nonparallel_read` function in `ImfContextInit.cpp` when parsing a malformed EXR file through a memory-mapped `IStream`. A signed integer subtraction produces a negative value that is implicitly converted to `size_t`, resulting in a massive length being passed to `memcpy`. Versions 3.3.7 and 3.4.5 contain a patch.</p></div>
    </content>
    <link href="https://cve.radiocsirt.org/vuln/cve-2026-26981"/>
  </entry>
  <entry>
    <id>https://cve.radiocsirt.org/vuln/ghsa-q6vj-wxvf-5m8c</id>
    <title>GHSA-q6vj-wxvf-5m8c — OpenEXR has heap-buffer-overflow via signed integer underflow in ImfContextInit.cpp</title>
    <updated>2026-10-06T09:35:16.146822+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> PyPI: OpenEXR</p>
<p>## Summary</p>
<p>A heap-buffer-overflow (OOB read) occurs in the `istream_nonparallel_read` function in `ImfContextInit.cpp` when parsing a malformed EXR file through a memory-mapped `IStream`. A signed integer subtraction produces a negative value that is implicitly converted to `size_t`, resulting in a massive length being passed to `memcpy`.</p>
<p>## Affected Version</p>
<p>- OpenEXR **main branch** (commit at time of testing)
- `src/lib/OpenEXR/ImfContextInit.cpp`, lines 121–136</p>
<p>## Root Cause</p>
<p>`ImfContextInit.cpp:121-126`:</p>
<p>```cpp
int64_t stream_sz = s-&gt;size ();           // e.g., 21 (actual file size)
int64_t nend = nread + (int64_t)sz;       // e.g., 17 + 4096 = 4113
if (stream_sz &gt; 0 &amp;&amp; nend &gt; stream_sz)
{
    sz = stream_sz - nend;                // 21 - 4113 = -4092 (signed)
}
// ...
memcpy (buffer, data, sz);               // sz is size_t → wraps to 0xFFFFFFFFFFFFF004
```</p>
<p>`sz` is of type `size_t` (unsigned), but `stream_sz - nend` yields a negative `int64_t` value. This negative value is implicitly converted to `size_t`, wrapping around to a value close to `2^64`, which is then passed to `memcpy` causing a heap-buffer-overflow.</p>
<p>**Suggested fix:** `sz = stream_sz - nend` → `sz = stream_sz - nread`</p>
<p>## Reproduce</p>
<p>Build OpenEXR as static libraries with ASAN enabled, then compile the PoC below.</p>
<p>**PoC Code:**</p>
<p>```cpp
#include &lt;cstdint&gt;
#include &lt;cstring&gt;
#include &lt;iostream&gt;</p>
<p>#include &lt;ImfMultiPartInputFile.h&gt;
#include &lt;ImfInputPart.h&gt;
#include &lt;ImfHeader.h&gt;</p>
<p>OPENEXR_IMF_INTERNAL_NA…</p></div>
    </content>
    <link href="https://cve.radiocsirt.org/vuln/ghsa-q6vj-wxvf-5m8c"/>
  </entry>
</feed>
