<?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://db.gcve.eu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-11-10T09:26:31.381757+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@gcve.eu</email>
  </author>
  <link href="https://db.gcve.eu" 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://db.gcve.eu/vuln/fkie_cve-2026-125107</id>
    <title>fkie_cve-2026-125107</title>
    <updated>2026-11-10T09:26:31.382763+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>Muhammara is a node module with c/cpp bindings to modify PDF with JavaScript for node or electron. Prior to 6.0.5, Muhammara PDFParser::CreateFilterForStream() in src/deps/PDFWriter/PDFParser.cpp dereferences a null PDFInteger pointer when a PDF stream uses the LZWDecode filter with a DecodeParms dictionary that omits the EarlyChange key. An application that processes an untrusted PDF and reads the affected stream can crash, causing a denial of service. This issue is fixed in version 6.0.5.</p>
      </div>
    </content>
    <link href="https://db.gcve.eu/vuln/fkie_cve-2026-125107"/>
  </entry>
  <entry>
    <id>https://db.gcve.eu/vuln/ghsa-fhp4-pr5j-46m5</id>
    <title>GHSA-fhp4-pr5j-46m5 — Muhammara has a NULL pointer dereference in LZWDecode filter when DecodeParms omits EarlyChange key</title>
    <updated>2026-11-10T09:26:31.382827+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> npm: muhammara</p>
<p>## Summary</p>
<p>A NULL pointer dereference vulnerability exists in `PDFParser::CreateFilterForStream()` when processing a PDF stream with `/Filter /LZWDecode` and a `/DecodeParms` dictionary that does not contain the `EarlyChange` key. This causes an access violation (0xC0000005) and crashes the process.</p>
<p>## Affected Version</p>
<p>muhammara &lt;= 6.0.4 (latest)</p>
<p>## Vulnerability Details</p>
<p>**File:** `src/deps/PDFWriter/PDFParser.cpp` line 2107</p>
<p>```cpp
if (inDecodeParams)
{
    PDFObjectCastPtr&lt;PDFInteger&gt; earlyObj(
        QueryDictionaryObject(inDecodeParams, "EarlyChange")
    );
    early = earlyObj-&gt;GetValue();  // NULL dereference when EarlyChange key is absent
}
```</p>
<p>When `inDecodeParams` is non-NULL but lacks the `EarlyChange` key:
1. `QueryDictionaryObject()` returns NULL
2. `PDFObjectCastPtr&lt;PDFInteger&gt;(NULL)` wraps NULL
3. `earlyObj-&gt;GetValue()` dereferences NULL → crash</p>
<p>## PoC</p>
<p>460-byte malicious PDF triggers crash via `startReadingFromStream()`:</p>
<p>- PDF contains `/Filter /LZWDecode` with `/DecodeParms &lt;&lt; &gt;&gt;` (empty, no EarlyChange)
- Exit code: `0xC0000005` (Access Violation)</p>
<p>## Fix</p>
<p>```cpp
if (earlyObj)
    early = earlyObj-&gt;GetValue();
```</p>
<p>## Impact</p>
<p>Any application accepting untrusted PDFs and using muhammara to read stream contents is vulnerable to DoS.</p>
<p>Similar to: CVE-2022-41957, CVE-2022-39381</p>
<p>## PoC File
[poc_muhammara_lzw_null.js](https://github.com/user-attachments/files/27186113/poc_muhammara_lzw_null.js)</p></div>
    </content>
    <link href="https://db.gcve.eu/vuln/ghsa-fhp4-pr5j-46m5"/>
  </entry>
</feed>
