CVE Database›Document archive›CVE-2026-91104

CVE-2026-91104

hplip: heap-based buffer overflow can lead to remote code execution

Loading…

Severity

Important

Red Hat Product Security

8.4

CVSS 3.1

Review impact separately from score.

Published · September 17, 2026

Updated · October 25, 2026

Description

A flaw was found in HPLIP. A heap-based buffer overflow could potentially allow an attacker to achieve code execution, escalate privileges, cause a denial of service, disclose sensitive information, or perform unauthorized file modifications under certain conditions.

Statement

This vulnerability allows an unauthenticated attacker to achieve arbitrary code execution and privilege escalation, among other security impacts.

HPLIP provides printer drivers and tools for managing HP devices. The client tools are not exposed to the network. Printer, scanner, and fax drivers are used by CUPS (once configured with a print queue). The driver binaries are executed within a restricted environment under the unprivileged 'lp' user. This limits exploitation to a local attacker and restricts code execution to the unprivileged 'lp' user.

For these reasons, this issue has been rated with an important severity.

Default Red Hat Enterprise Linux security features, including SELinux enforcement, Address Space Layout Randomization (ASLR) and NX (No-Execute) stack protection, significantly increase the difficulty of achieving arbitrary code execution, limiting the impact of this vulnerability.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

To mitigate this vulnerability, consider removing the hplip package if its functionality is not required by using the command indicated below. Note this will remove HP printer support and related utilities from the system.

sudo dnf remove hplip

CVSS / CWE

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

CWE-122 · Heap-based Buffer Overflow