---
title: "CVE-2022-28085\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-28085?format=md
keywords: index, follow
---

# CVE-2022-28085

Publication date 27 April 2022

Last updated 26 August 2025

---

Ubuntu priority

**Medium**

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

## Cvss 3 Severity Score

**7.8 · High**

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

Toggle side navigation

## Description

A flaw was found in htmldoc commit 31f7804. A heap buffer overflow in the
function pdf\_write\_names in ps-pdf.cxx may lead to arbitrary code execution
and Denial of Service (DoS).

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| htmldoc | 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 | 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 | Fixed 1.9.15-1ubuntu0.1~esm1  Ubuntu Pro |
| 21.10 impish | Ignored end of life |
| 20.04 LTS focal | Fixed 1.9.7-1ubuntu0.3+esm2  Ubuntu Pro |
| 18.04 LTS bionic | Fixed 1.9.2-1ubuntu0.2+esm2  Ubuntu Pro |
| 16.04 LTS xenial | Fixed 1.8.27-8ubuntu1.1+esm3  Ubuntu Pro |
| 14.04 LTS trusty | Fixed 1.8.27-8ubuntu1+esm4  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)

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

7.8 · High

* Base metrics

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

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

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

## References

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

### Related Ubuntu Security Notices (USN)

+ [USN-7225-1](https://usn.ubuntu.com/USN-7225-1)
+ HTMLDOC vulnerabilities
+ 22 January 2025

### Other references

* <https://github.com/michaelrsweet/htmldoc/issues/480>
* <https://github.com/michaelrsweet/htmldoc/commit/46c8ec2b9bccb8ccabff52d998c5eee77a228348>
* <https://www.cve.org/CVERecord?id=CVE-2022-28085>
