# CVE-2022-0563: A flaw was found in the util-linux chfn and chsh utilities when compiled with Readline support.

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.43%, higher than 39% of CVEs (2026-12-02)
- Published: 2022-02-21T00:00:00.000Z
- Modified: 2026-10-14T13:17:14.167Z
- Weaknesses: CWE-209
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: redhat

## Description

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.

(As written by CVE List.)

## Affected

- util-linux: util-linux 2.37.4
- kernel util-linux: before 2.37.4
- netapp ontap_select_deploy_administration_utility: no versions given

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:2.0 1.9 Low `AV:L/AC:M/Au:N/C:P/I:N/A:N`

## References

- <https://lore.kernel.org/util-linux/20220214110609.msiwlm457ngoic6w%40ws.net.home/T/#u>
- <https://security.netapp.com/advisory/ntap-20220331-0002/> (third-party-advisory)
- <https://security.gentoo.org/glsa/202401-08> (vendor-advisory)
- <https://cert-portal.siemens.com/productcert/html/ssa-398330.html>

## Sources

- CVE List: [CVE-2022-0563](https://www.cve.org/CVERecord?id=CVE-2022-0563), CVE Terms of Use, modified 2026-10-14
- NVD: [CVE-2022-0563](https://nvd.nist.gov/vuln/detail/CVE-2022-0563), Public domain, modified 2026-10-14

---

Page: https://cve.day/CVE-2022-0563 · Whole record: https://cve.day/CVE-2022-0563.json · Rebuilt by cve.day 2026-11-25T22:58:09.787Z
