android-gif-drawable Double Free vulnerabilityGHSA-x534-j49x-mqvj
HIGHFix: koral--/android-gif-drawable#673GHSA-x534-j49x-mqvj is a high-severity (CVSS 8.8) CWE-415 vulnerability in pl.droidsonroids.gif:android-gif-drawable. 25 public exploit or proof-of-concept references are indexed, so weaponization risk is real. A fix is available for pl.droidsonroids.gif:android-gif-drawable — see the affected versions and patch details below.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
pl.droidsonroids.gif:android-gif-drawableReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
Description
A double free vulnerability in the DDGifSlurp function in decoding.c in the android-gif-drawable library before version 1.2.18, as used in WhatsApp for Android before version 2.19.244 and many other Android applications, allows remote attackers to execute arbitrary code or cause a denial of service when the library is used to parse a specially crafted GIF image.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | pl.droidsonroids.gif:android-gif-drawable | all versions | 1.2.18pl.droidsonroids.gif:android-gif-drawable:1.2.18 |
Affected Products
android-gif-drawableandroid-gif-drawable_projectwhatsappwhatsappResearch use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.
Whatsapp 2.19.216 - Remote Code Execution
by Valerio Brussani · Oct 16, 2019
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for pl.droidsonroids.gif:android-gif-drawable, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update pl.droidsonroids.gif:android-gif-drawable to 1.2.18 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-x534-j49x-mqvj is resolved across your whole dependency graph.
Workarounds
Stop feeding it untrusted input: reject or quarantine files and payloads from unverified sources until you can upgrade, restrict accepted formats to the ones you actually need, and run the parsing or decoding step in a least-privileged sandbox or short-lived worker so a crash or corrupted read cannot reach the rest of the process.
Frequently Asked Questions
Is GHSA-x534-j49x-mqvj in your dependencies?
Find it across Maven, including transitive dependencies.