Advisory Database
  • Advisories
  • Dependency Scanning
  1. conan
  2. ›
  3. libxpm
  4. ›
  5. CVE-2022-46285

CVE-2022-46285: Loop with Unreachable Exit Condition ('Infinite Loop')

February 7, 2023 (updated October 17, 2023)

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.

References

  • www.openwall.com/lists/oss-security/2023/10/03/1
  • www.openwall.com/lists/oss-security/2023/10/03/10
  • bugzilla.redhat.com/show_bug.cgi?id=2160092
  • gitlab.freedesktop.org/xorg/lib/libxpm/-/commit/a3a7c6dcc3b629d7650148
  • gitlab.freedesktop.org/xorg/lib/libxpm/-/merge_requests/9
  • lists.debian.org/debian-lts-announce/2023/06/msg00021.html
  • lists.x.org/archives/xorg-announce/2023-January/003312.html
  • nvd.nist.gov/vuln/detail/CVE-2022-46285

Code Behaviors & Features

Detect and mitigate CVE-2022-46285 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 3.5.15

Fixed versions

  • 3.5.15

Solution

Upgrade to version 3.5.15 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Source file

conan/libxpm/CVE-2022-46285.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:57 +0000.