Muhammara Has a NULL Pointer Dereference
Affects muhammaraSource GCVE Database
CVSS 7.5 High : upgrade to 6.0.5 soon.
Data as of 26 Jun 2026, 22:07 UTC
- Patch
- Available – fixed in 6.0.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HWhat to do
Upgrade muhammara to 6.0.5.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmmuhammara | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix is available in muhammara version 6.0.5 that adds a NULL check before dereferencing the EarlyChange key in the DecodeParms dictionary. Users should upgrade to version 6.0.5 or later to remediate this issue. Until upgraded, avoid processing untrusted PDFs with muhammara or apply the patch that adds the NULL pointer check as described in the vendor's fix snippet.
Description
A NULL pointer dereference vulnerability exists in muhammara versions prior to 6.0.5 in the LZWDecode filter when processing PDF streams with a DecodeParms dictionary missing the EarlyChange key. This causes an access violation and crashes the process, resulting in a denial of service. The issue occurs because the code dereferences a NULL pointer without checking if the EarlyChange key is present. A fix involves adding a NULL check before dereferencing. This vulnerability affects applications that use muhammara to parse untrusted PDFs and can be triggered by a crafted PDF file.