{
"affected": [
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "apktool",
"binary_version": "2.0.2+dfsg-2"
}
]
},
"package": {
"ecosystem": "Ubuntu:16.04:LTS",
"name": "apktool",
"purl": "pkg:deb/ubuntu/apktool@2.0.2+dfsg-2?arch=source\u0026distro=xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.0.2+dfsg-1",
"2.0.2+dfsg-2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "apktool",
"binary_version": "2.3.4-1~18.04"
}
]
},
"package": {
"ecosystem": "Ubuntu:18.04:LTS",
"name": "apktool",
"purl": "pkg:deb/ubuntu/apktool@2.3.4-1~18.04?arch=source\u0026distro=bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.2.4+dfsg-1",
"2.3.0+dfsg-1",
"2.3.1+dfsg-1",
"2.3.4-1~18.04"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "apktool",
"binary_version": "2.4.0-1"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "apktool",
"purl": "pkg:deb/ubuntu/apktool@2.4.0-1?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.4.0-1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "apktool",
"binary_version": "2.5.0+dfsg.1-2build1"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "apktool",
"purl": "pkg:deb/ubuntu/apktool@2.5.0+dfsg.1-2build1?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.5.0+dfsg.1-2build1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "apktool",
"binary_version": "2.7.0+dfsg-7"
}
]
},
"package": {
"ecosystem": "Ubuntu:24.04:LTS",
"name": "apktool",
"purl": "pkg:deb/ubuntu/apktool@2.7.0+dfsg-7?arch=source\u0026distro=noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.7.0+dfsg-6",
"2.7.0+dfsg-7"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "apktool",
"binary_version": "2.7.0+dfsg-7"
}
]
},
"package": {
"ecosystem": "Ubuntu:25.10",
"name": "apktool",
"purl": "pkg:deb/ubuntu/apktool@2.7.0+dfsg-7?arch=source\u0026distro=questing"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.7.0+dfsg-7"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "apktool",
"binary_version": "2.7.0+dfsg-7.1ubuntu1"
}
]
},
"package": {
"ecosystem": "Ubuntu:26.04:LTS",
"name": "apktool",
"purl": "pkg:deb/ubuntu/apktool@2.7.0+dfsg-7.1ubuntu1?arch=source\u0026distro=resolute"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.7.0+dfsg-7",
"2.7.0+dfsg-7.1ubuntu1"
]
}
],
"aliases": [],
"details": "Apktool is a tool for reverse engineering Android APK files. In versions 3.0.0 and 3.0.1, a path traversal vulnerability in `brut/androlib/res/decoder/ResFileDecoder.java` allows a maliciously crafted APK to write arbitrary files to the filesystem during standard decoding (`apktool d`). This is a security regression introduced in commit e10a045 (PR #4041, December 12, 2025), which removed the `BrutIO.sanitizePath()` call that previously prevented path traversal in resource file output paths. An attacker can embed `../` sequences in the `resources.arsc` Type String Pool to escape the output directory and write files to arbitrary locations, including `~/.ssh/config`, `~/.bashrc`, or Windows Startup folders, escalating to RCE. The fix in version 3.0.2 re-introduces `BrutIO.sanitizePath()` in `ResFileDecoder.java` before file write operations.",
"id": "UBUNTU-CVE-2026-39973",
"modified": "2026-05-20T15:27:25Z",
"published": "2026-04-21T02:16:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2026-39973"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2026-39973"
}
],
"related": [],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2026-39973"
]
}