QID 355197

Date Published: 2023-05-29

QID 355197: Amazon Linux Security Advisory for libXpm : ALAS2023-2023-107

A flaw was found in libxpm.
When processing a file with width of 0 and a very large height, some parser functions will be called repeatedly and can lead to an infinite loop, resulting in a denial of service in the application linked to the library. (
( CVE-2022-44617) a flaw was found in libxpm.
This issue occurs when parsing a file with a comment not closed; the end-of-file condition will not be detected, leading to an infinite loop and resulting in a denial of service in the application linked to the library. (
( CVE-2022-46285) a flaw was found in libxpm.
When processing files with .z or .gz extensions, the library calls external programs to compress and uncompress files, relying on the path environment variable to find these programs, which could allow a malicious user to execute other programs by manipulating the path environment variable. (
( CVE-2022-4883)



Note: The preceding description block is extracted directly from the security advisory. Using automation, we have attempted to clean and format it as much as possible without introducing additional issues.

Successful exploitation of this vulnerability could lead to a securitybreach or could affect integrity, availability, and confidentiality.

  • CVSS V3 rated as Critical - 8.8 severity.
  • CVSS V2 rated as Medium - 5.4 severity.
  • Solution
    Please refer to Amazon advisory: ALAS2023-2023-107 for affected packages and patching details, or update with your package manager.
    Vendor References

    CVEs related to QID 355197

    Software Advisories
    Advisory ID Software Component Link
    ALAS2023-2023-107 amazon linux 2023 URL Logo alas.aws.amazon.com/AL2023/ALAS-2023-107.html