Findings

CVE-2022-0563

A flaw was found in the util-linux chfn and chsh utilities when compiled with Readline support.

Published Feb 21, 2022 · updated Oct 14, 2026 · kernel util-linux

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.

Timeline

Detection, updates, and resolution for this record.

  1. Feb 21, 2022 · NIST NVD

    Detected

    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 privile

  2. Oct 14, 2026 · NIST NVD

    Updated

    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 privile

Affected

  • cpe kernel/util-linuxversion unspecified
  • cpe netapp/ontap select deploy administration utilityversion unspecified

Sources

  • CVE.orgCVE-2022-0563

    Official CVE identifier

    cve.org
  • NIST NVDCVE-2022-0563

    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 conta

    nvd.nist.gov

References

CVE-2022-0563 · ZeroDay Findings