CVE-2022-40297

CVE-2022-40297 is a high-severity vulnerability in Ubports Ubuntu Touch with a CVSS 3.x base score of 7.8. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-269.

Key facts

Description

UBports Ubuntu Touch 16.04 allows the screen-unlock passcode to be used for a privileged shell via Sudo. This passcode is only four digits, far below typical length/complexity for a user account's password. NOTE: a third party states "The described attack cannot be executed as demonstrated.

Frequently asked questions

What is CVE-2022-40297?
UBports Ubuntu Touch 16.04 allows the screen-unlock passcode to be used for a privileged shell via Sudo. This passcode is only four digits, far below typical length/complexity for a user account's password. NOTE: a third party states "The described attack cannot be executed as demonstrated.
How severe is CVE-2022-40297?
CVE-2022-40297 has a CVSS 3.x base score of 7.8, rated high severity. It is exploitable over local access with low attack complexity, requires low privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
Is CVE-2022-40297 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (36th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2022-40297?
CVE-2022-40297 affects Ubports Ubuntu Touch. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2022-40297?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
When was CVE-2022-40297 published?
CVE-2022-40297 was published on 2022-09-09 and last updated on 2026-06-17.

References

Affected products (1)

More vulnerabilities in Ubports Ubuntu Touch

All CVEs affecting Ubports Ubuntu Touch →

Other CWE-269 (Improper Privilege Management) vulnerabilities

Browse all CWE-269 (Improper Privilege Management) vulnerabilities →