CVE-2022-23435 is a high-severity (CVSS 7.5) vulnerability in pl.droidsonroids.gif:android-gif-drawable. A fix is available for pl.droidsonroids.gif:android-gif-drawable — see the affected versions and patch details below.
android-gif-drawable vulerable to denial of service due to unrestricted comment length
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
decoding.c in android-gif-drawable before 1.2.24 does not limit the maximum length of a comment, leading to denial of service.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | pl.droidsonroids.gif:android-gif-drawable | all versions | 1.2.24pl.droidsonroids.gif:android-gif-drawable:1.2.24 |
Affected Products
android-gif-drawableandroid-gif-drawable_projectDetection & 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.24 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2022-23435 is resolved across your whole dependency graph.
Workarounds
Cap what an attacker can consume: apply request size, rate and timeout limits in front of the affected component, and run it with memory and CPU limits so exhaustion degrades one worker rather than the whole service.
Frequently Asked Questions
Is CVE-2022-23435 in your dependencies?
Find it across Maven, including transitive dependencies.