Safeguard
Vulnerability Analysis•

CVE-2026-33854: Out of Bounds Write in Android-ImageMagick7

CVE-2026-33854 (CVSS 8.8) is an out of bounds write in Android-ImageMagick7 before 7.1.2-10. Update the library and rebuild any app that bundles it.

Safeguard Security Team
2 min read

CVE-2026-33854 is an out of bounds write in the Android-ImageMagick7 library. NVD scores it 8.8. It affects versions before 7.1.2-10. Update the library and rebuild any Android app that bundles it. The bug sits in WebP decoding code that was copied from another project.

What's affected

The record says Android-ImageMagick7 before 7.1.2-10 is affected. The referenced pull request, number 184, describes a fix for an out of bounds write in BuildHuffmanTable, in bundled libwebp 1.0.3 code that did not receive the upstream patch, and links CVE-2023-4863. That is the PR author's account, so confirm details against the project's release notes.

How to check if you're exposed

Look at your Gradle dependencies:

./gradlew app:dependencies | grep -i imagemagick

Compare the version with 7.1.2-10. Also check native libraries in built APKs, since the vulnerable code is compiled in.

What to do now

  1. Update to 7.1.2-10 or later and rebuild.
  2. Ship an app update, since users stay on the old native code until they update.
  3. Avoid decoding untrusted WebP images with the old library meanwhile.
  4. Inventory libraries that vendor copies of other projects.

Why it matters

The record uses CWE-787, out of bounds write. Memory writes past a buffer can corrupt data or enable code execution. The case shows how a fixed upstream bug survives in a vendored copy. Scanners that read lockfiles may miss it, so track bundled native code. The record is not marked as exploited in the wild and is not in CISA KEV.

For teams that ship mobile apps, the practical issue is the update cycle. A library fix does nothing for users until your app update reaches them, so plan the release, not only the dependency bump. If you cannot tell which of your apps bundle this library, search your build outputs for the native library names and your Gradle files for the dependency, and record the result in your inventory so the next advisory is a lookup instead of a hunt.

Quick check

Why did an old libwebp bug appear here?

The pull request says the project cloned libwebp code that missed the upstream patch.

Sources

Last reviewed: 19 October 2026.

Never miss an update

Weekly insights on software supply chain security, delivered to your inbox.

Self-healing security runs on Safeguard.

Your first fix PR is minutes away.

No sales call required, even your agent can complete the purchase over MCP.