# CVE-2024-21633: Arbitrary file write on Decoding

- Severity: High 7.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/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.12%, higher than 66% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-01-03T16:59:18.566Z
- Modified: 2026-06-17T07:09:53.393Z
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

Apktool is a tool for reverse engineering Android APK files. In versions 2.9.1 and prior, Apktool infers resource files' output path according to their resource names which can be manipulated by attacker to place files at desired location on the system Apktool runs on. Affected environments are those in which an attacker may write/overwrite any file that user has write access, and either user name is known or cwd is under user folder. Commit d348c43b24a9de350ff6e5bd610545a10c1fc712 contains a patch for this issue.

(As written by CVE List.)

## Affected

- iBotPeaches Apktool: <= 2.9.1
- apktool apktool: before 2.9.2

## Every score

- GitHub_M: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://github.com/iBotPeaches/Apktool/security/advisories/GHSA-2hqv-2xv4-5h5w> (exploit, patch, vendor-advisory)
- <https://github.com/iBotPeaches/Apktool/commit/d348c43b24a9de350ff6e5bd610545a10c1fc712> (patch)

## Sources

- CVE List: [CVE-2024-21633](https://www.cve.org/CVERecord?id=CVE-2024-21633), CVE Terms of Use, modified 2025-06-03
- NVD: [CVE-2024-21633](https://nvd.nist.gov/vuln/detail/CVE-2024-21633), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-21633 · Whole record: https://cve.day/CVE-2024-21633.json · Rebuilt by cve.day 2026-11-25T22:58:35.912Z
