# CVE-2022-23435: android-gif-drawable vulerable to denial of service due to unrestricted comment length

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.23%, higher than 69% of CVEs (2026-12-01)
- Published: 2022-01-19T00:26:04.000Z
- Modified: 2026-06-17T04:30:00.463Z
- Also known as: GHSA-3mm4-w7v6-4rhv
- Weaknesses: CWE-770
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- pl.droidsonroids.gif:android-gif-drawable (Maven): before 1.2.24
- android-gif-drawable_project android-gif-drawable: before 1.2.24

## Every score

- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:N/A:P`

## References

- <https://github.com/koral--/android-gif-drawable/commit/9f0f0c89e6fa38548163771feeb4bde84b828887> (patch, third-party-advisory, web)
- <https://github.com/koral--/android-gif-drawable/compare/v1.2.23...v1.2.24> (patch, release-notes, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-23435> (advisory)
- <https://github.com/koral--/android-gif-drawable/issues/792#issuecomment-1048850678> (web)
- <https://github.com/koral--/android-gif-drawable> (package)

## Sources

- CVE List: [CVE-2022-23435](https://www.cve.org/CVERecord?id=CVE-2022-23435), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-3mm4-w7v6-4rhv](https://github.com/advisories/GHSA-3mm4-w7v6-4rhv), CC-BY-4.0, modified 2025-01-13
- NVD: [CVE-2022-23435](https://nvd.nist.gov/vuln/detail/CVE-2022-23435), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-23435 · Whole record: https://cve.day/CVE-2022-23435.json · Rebuilt by cve.day 2026-11-25T22:58:09.298Z
