---
title: "CVE-2022-46285"
canonical_url: "https://pkgseek.com/security/CVE-2022-46285"
locale: "en"
source: "pkgseek"
entity_type: "cve"
severity: "high"
---

# CVE-2022-46285

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 is rated HIGH (7.5), with 10 indexed affected package builds across 3 distributions.

- **Severity / Score**: HIGH (7.5)
- **Affected builds**: 10
- **Affected distros**: 3
- **Distros with fixed_in**: Oracle Linux, Red Hat Enterprise Linux, Ubuntu

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Oracle Linux | 8 | libXpm | 3.5.12-8.el8 | 3.5.12-9.el8_7 |
| Oracle Linux | 8 | libXpm-devel | 3.5.12-8.el8 | 3.5.12-9.el8_7 |
| Oracle Linux | 9 | libXpm | 3.5.13-7.el9 | 3.5.13-8.el9_1 |
| Oracle Linux | 9 | libXpm-devel | 3.5.13-7.el9 | 3.5.13-8.el9_1 |
| Red Hat Enterprise Linux | 9.8 | libXpm | 3.5.13-7.el9 | 3.5.13-8.el9_1 |
| Red Hat Enterprise Linux | 9.8 | libXpm-devel | 3.5.13-7.el9 | 3.5.13-8.el9_1 |
| Ubuntu | focal | libxpm4 | 1:3.5.12-1 | 1:3.5.12-1ubuntu0.20.04.1 |
| Ubuntu | focal | libxpm-dev | 1:3.5.12-1 | 1:3.5.12-1ubuntu0.20.04.1 |
| Ubuntu | jammy | libxpm4 | 1:3.5.12-1build2 | 1:3.5.12-1ubuntu0.22.04.1 |
| Ubuntu | jammy | libxpm-dev | 1:3.5.12-1build2 | 1:3.5.12-1ubuntu0.22.04.1 |
