UBUNTU-CVE-2026-4158

Source
https://ubuntu.com/security/CVE-2026-4158
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-4158.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-4158
Upstream
  • CVE-2026-4158
Published
2026-04-11T01:16:00Z
Modified
2026-05-20T16:25:42.337482320Z
Severity
  • 7.3 (High) CVSS_V3 - CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

KeePassXC OpenSSL Configuration Uncontrolled Search Path Element Local Privilege Escalation Vulnerability. This vulnerability allows local attackers to escalate privileges on affected installations of KeePassXC. An attacker must first obtain the ability to execute low-privileged code on the target system in order to exploit this vulnerability. The specific flaw exists within the configuration of OpenSSL. The product loads configuration from an unsecured location. An attacker can leverage this vulnerability to escalate privileges and execute arbitrary code in the context of KeePassXC when run by a target user on the system. Was ZDI-CAN-29156.

References

Affected packages

Ubuntu:18.04:LTS
keepassxc

Package

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

Affected ranges

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

Affected versions

2.*
2.2.2-1
2.2.3+dfsg.1-1
2.2.4+dfsg.1-1
2.3.0+dfsg.1-0ubuntu2
2.3.1+dfsg.1-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "keepassxc",
            "binary_version": "2.3.1+dfsg.1-1"
        }
    ]
}

Database specific

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

Package

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

Affected ranges

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

Affected versions

2.*
2.4.3+dfsg.1-1
2.4.3+dfsg.1-1build1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "keepassxc",
            "binary_version": "2.4.3+dfsg.1-1build1"
        }
    ]
}

Database specific

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

Package

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

Affected ranges

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

Affected versions

2.*
2.6.6+dfsg.1-1~exp1
2.6.6+dfsg.1-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "keepassxc",
            "binary_version": "2.6.6+dfsg.1-1"
        }
    ]
}

Database specific

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

Package

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

Affected ranges

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

Affected versions

2.*
2.7.4+dfsg.1-2
2.7.6+dfsg.1-1
2.7.6+dfsg.1-1build2
2.7.6+dfsg.1-1build3

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "keepassxc",
            "binary_version": "2.7.6+dfsg.1-1build3"
        }
    ]
}

Database specific

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

Package

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

Affected ranges

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

Affected versions

2.*
2.7.9+dfsg1-1
2.7.10+dfsg1-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "keepassxc",
            "binary_version": "2.7.10+dfsg1-1"
        },
        {
            "binary_name": "keepassxc-full",
            "binary_version": "2.7.10+dfsg1-1"
        },
        {
            "binary_name": "keepassxc-minimal",
            "binary_version": "2.7.10+dfsg1-1"
        }
    ]
}

Database specific

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

Package

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

Affected ranges

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

Affected versions

2.*
2.7.10+dfsg1-1
2.7.10+dfsg1-2
2.7.10+dfsg1-2ubuntu1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "keepassxc",
            "binary_version": "2.7.10+dfsg1-2ubuntu1"
        },
        {
            "binary_name": "keepassxc-full",
            "binary_version": "2.7.10+dfsg1-2ubuntu1"
        },
        {
            "binary_name": "keepassxc-minimal",
            "binary_version": "2.7.10+dfsg1-2ubuntu1"
        }
    ]
}

Database specific

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