CVE-2026-33854
Out-of-Bounds Write in Android-ImageMagick7 Before
Publication date: 2026-03-24
Last updated on: 2026-03-26
Assigner: Government Technology Agency of Singapore Cyber Security Group (GovTech CSG)
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| molotovcherry | android-imagemagick7 | to 7.1.2-10 (exc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-787 | The product writes data past the end, or before the beginning, of the intended buffer. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
CVE-2026-33854 is an out-of-bounds (OOB) write vulnerability found in the Android-ImageMagick7 project, specifically in the function BuildHuffmanTable. This vulnerability occurs when the software writes data outside the allocated memory buffer during the construction of Huffman tables, which are used for data compression.
The issue originated from cloned code derived from the webmproject/libwebp repository and affected certain source files related to Huffman decoding and utilities. The vulnerability was fixed by applying a security patch that prevents memory corruption caused by these out-of-bounds writes.
How can this vulnerability impact me? :
This vulnerability can lead to serious security impacts including memory corruption, which may allow an attacker to execute arbitrary code, cause a denial of service (application crash), or escalate privileges within the affected system.
Given the CVSS score of 8.8 with high impact on confidentiality, integrity, and availability, an attacker could potentially exploit this flaw remotely without privileges, requiring only user interaction.
How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:
I don't know
How can this vulnerability be detected on my network or system? Can you suggest some commands?
This vulnerability is an out-of-bounds write in the BuildHuffmanTable function within Android-ImageMagick7, specifically in the Huffman table construction code. Detection would typically involve verifying the version of Android-ImageMagick7 installed on your system.
You can check the installed version of Android-ImageMagick7 to see if it is before 7.1.2-10, which is vulnerable.
- On a Linux-based system, use a command like: `dpkg -l | grep android-imagemagick7` or `rpm -qa | grep android-imagemagick7` to find the installed package version.
- If the software is built from source or embedded, check the version string or commit hash in the build metadata or binary.
Since this is a memory corruption vulnerability, network detection via traffic analysis or scanning is unlikely to be effective. Instead, focus on version auditing and applying patches.
What immediate steps should I take to mitigate this vulnerability?
The immediate mitigation step is to update Android-ImageMagick7 to version 7.1.2-10 or later, which includes the security patch fixing the out-of-bounds write vulnerability.
If updating is not immediately possible, consider restricting or disabling the use of the vulnerable Huffman table construction functionality within Android-ImageMagick7 to prevent exploitation.
Monitor for any unusual crashes or behavior in applications using Android-ImageMagick7, as these may indicate attempts to exploit the vulnerability.
Apply the patch described in the pull request merged on December 19, 2025, which backports the fix from the upstream libwebp repository.