Safeguard
Vulnerability Analysis•

CVE-2026-8631: Integer Overflow in HP Linux Imaging and Printing

CVE-2026-8631 is an integer overflow in hpcups in HP Linux Imaging and Printing (CVSS 9.8) that can lead to code execution. Apply the vendor update.

Safeguard Security Team
3 min read

CVE-2026-8631 is an integer overflow in the hpcups print path of HP Linux Imaging and Printing (HPLIP), scored 9.8 (critical). Crafted print data may allow privilege escalation or code execution. Apply the HP or Linux distribution update. The sections below cover affected versions, how to check your exposure and what to do first.

What's affected

HP describes a potential vulnerability in the HP Linux Imaging and Printing Software that may allow escalation of privileges or arbitrary code execution through an integer overflow when hpcups handles crafted print data. The weaknesses are CWE-122 and CWE-190.

The record does not list version numbers. Red Hat published several errata for it, so most Linux users get the fix through their distribution. The HP and Red Hat pages were not readable from my tooling, so confirm the fixed package version for your system. The record is not in the CISA KEV catalog.

How to check if you're exposed

Check whether HPLIP is installed and which version.

rpm -q hplip
dpkg -l | grep -i hplip

Then check your distribution advisory, such as the Red Hat errata linked in the record, for the fixed package version.

What to do now

  1. Update the hplip package from your distribution repository.
  2. If you do not print from the machine, remove HPLIP.
  3. Rebuild container images and golden images that include the package.
  4. Limit who can submit print jobs to shared servers.
  5. Confirm the version against the HP bulletin and your distribution advisory.

Why it matters

An integer overflow happens when arithmetic on a size wraps around, so a buffer is allocated smaller than the data written into it. The overflow then becomes a memory write error.

Print drivers parse complex data from many sources, which makes them an attractive target. Images and servers often include them by default.

Try it yourself

Click through it at your own pace, or open it full screen.

Quick check

Do desktops and servers both need the update?

Any Linux system with HPLIP installed does. Server images are easy to forget, since nobody thinks of them as printing hosts.

Sources

Last reviewed: 19 October 2026.

Never miss an update

Weekly insights on software supply chain security, delivered to your inbox.

Self-healing security runs on Safeguard.

Your first fix PR is minutes away.

No sales call required, even your agent can complete the purchase over MCP.