A flaw was found in the util-linux chfn and chsh utilities when compiled with Readline support. The Readline library uses an "INPUTRC" environment variable to get a path to the library config file. When the library cannot parse the specified file, it prints an error message containing data from the file. This flaw allows an unprivileged user to read root-owned files, potentially leading to privilege escalation. This flaw affects util-linux versions prior to 2.37.4.
Cite this page
CVE-2022-0563. CVEDatabase.com. Retrieved 1 May 2026. https://cvedatabase.com/cve/CVE-2022-0563
Use CWE-209, Kernel vendor hub and Util-Linux product page to widen CVE-2022-0563 into its surrounding weakness, vendor, and product context.
Compare it with CVE-2015-5224, CVE-2018-7738 and CVE-2014-9114 for nearby disclosures in the same product family.