---
title: "CVE-2022-46285\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2022-46285?format=md
keywords: index, follow
---

# CVE-2022-46285

Publication date 17 January 2023

Last updated 11 July 2025

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

## Cvss 3 Severity Score

**7.5 · High**

[Score breakdown](https://ubuntu.com/security/CVE-2022-46285?format=md#impact-score)

Toggle side navigation

## Description

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.

[Read the notes from the security team](https://ubuntu.com/security/CVE-2022-46285?format=md#notes)

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| motif | 26.04 LTS resolute | Needs evaluation |
| 25.10 questing | Ignored end of life, was needs-triage |
| 25.04 plucky | Ignored end of life, was needs-triage |
| 24.10 oracular | Ignored end of life, was needs-triage |
| 24.04 LTS noble | Needs evaluation |
| 23.10 mantic | Ignored end of life, was needs-triage |
| 23.04 lunar | Ignored end of life, was needs-triage |
| 22.10 kinetic | Ignored end of life, was needs-triage |
| 22.04 LTS jammy | Needs evaluation |
| 20.04 LTS focal | Needs evaluation |
| 18.04 LTS bionic | Needs evaluation |
| 16.04 LTS xenial | Needs evaluation |
| 14.04 LTS trusty | Needs evaluation |
| libxpm | 26.04 LTS resolute | Not affected |
| 25.10 questing | Not affected |
| 25.04 plucky | Not affected |
| 24.10 oracular | Not affected |
| 24.04 LTS noble | Not affected |
| 23.10 mantic | Not affected |
| 23.04 lunar | Fixed 1:3.5.12-1ubuntu1 |
| 22.10 kinetic | Fixed 1:3.5.12-1ubuntu0.22.10.1 |
| 22.04 LTS jammy | Fixed 1:3.5.12-1ubuntu0.22.04.1 |
| 20.04 LTS focal | Fixed 1:3.5.12-1ubuntu0.20.04.1 |
| 18.04 LTS bionic | Fixed 1:3.5.12-1ubuntu0.18.04.2 |
| 16.04 LTS xenial | Fixed 1:3.5.11-1ubuntu0.16.04.1+esm1  Ubuntu Pro |
| 14.04 LTS trusty | Fixed 1:3.5.10-1ubuntu0.1+esm1  Ubuntu Pro |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)

### Get expanded security coverage with Ubuntu Pro

Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.

[Get Ubuntu Pro](https://ubuntu.com/pro)
[30-day free trial](https://ubuntu.com/pro/free-trial)

## Notes

---

### [alexmurray](https://launchpad.net/~alexmurray)

motif contains a vendored copy of libxpm under lib/Xm/ with files
prefixed by Xpm eg. the file src/parse.c in libxpm is
lib/Xm/Xpmparse.c

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

7.5 · High

* Base metrics

  | Parameter | Value |
  | --- | --- |
  | Attack vector | Network |
  | Attack complexity | Low |
  | Privileges required | None |
  | User interaction | None |
  | Scope | Unchanged |
  | Confidentiality impact | None |
  | Integrity impact | None |
  | Availability impact | High |
* Scores

  | Parameter | Value |
  | --- | --- |
  | Base score | 7.5 · High |
  | Exploitability score | - |
  | Impact score | - |

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

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-46285)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2022-46285)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2022-46285)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2022-46285)

### Related Ubuntu Security Notices (USN)

+ [USN-5807-1](https://usn.ubuntu.com/USN-5807-1)
+ libXpm vulnerabilities
+ 17 January 2023

+ [USN-5807-2](https://usn.ubuntu.com/USN-5807-2)
+ libXpm vulnerabilities
+ 21 February 2023

+ [USN-5807-3](https://usn.ubuntu.com/USN-5807-3)
+ libXpm vulnerability
+ 26 July 2023

### Other references

* <https://www.cve.org/CVERecord?id=CVE-2022-46285>
