UBUNTU-CVE-2026-39973

Source
https://ubuntu.com/security/CVE-2026-39973
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-39973.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-39973
Upstream
  • CVE-2026-39973
Published
2026-04-21T02:16:00Z
Modified
2026-05-20T16:25:38.736127384Z
Severity
  • 7.1 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N CVSS Calculator
  • 7.1 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N CVSS Calculator
  • Ubuntu - medium
Summary
[none]
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.

References

Affected packages

Ubuntu:16.04:LTS
apktool

Package

Name
apktool
Purl
pkg:deb/ubuntu/apktool?arch=source&distro=xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.0.2+dfsg-1
2.0.2+dfsg-2

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "2.0.2+dfsg-2",
            "binary_name": "apktool"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-39973.json"
Ubuntu:18.04:LTS
apktool

Package

Name
apktool
Purl
pkg:deb/ubuntu/apktool?arch=source&distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*
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_version": "2.3.4-1~18.04",
            "binary_name": "apktool"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-39973.json"
Ubuntu:20.04:LTS
apktool

Package

Name
apktool
Purl
pkg:deb/ubuntu/apktool?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.4.0-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "2.4.0-1",
            "binary_name": "apktool"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-39973.json"
Ubuntu:22.04:LTS
apktool

Package

Name
apktool
Purl
pkg:deb/ubuntu/apktool?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.5.0+dfsg.1-2build1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "2.5.0+dfsg.1-2build1",
            "binary_name": "apktool"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-39973.json"
Ubuntu:24.04:LTS
apktool

Package

Name
apktool
Purl
pkg:deb/ubuntu/apktool?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.7.0+dfsg-6
2.7.0+dfsg-7

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "2.7.0+dfsg-7",
            "binary_name": "apktool"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-39973.json"
Ubuntu:25.10
apktool

Package

Name
apktool
Purl
pkg:deb/ubuntu/apktool?arch=source&distro=questing

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.7.0+dfsg-7

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "2.7.0+dfsg-7",
            "binary_name": "apktool"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-39973.json"
Ubuntu:26.04:LTS
apktool

Package

Name
apktool
Purl
pkg:deb/ubuntu/apktool?arch=source&distro=resolute

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.7.0+dfsg-7
2.7.0+dfsg-7.1ubuntu1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "2.7.0+dfsg-7.1ubuntu1",
            "binary_name": "apktool"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-39973.json"