Menu

Star on GitHub · 3.2k

CVE-2026-46151

5.5 · MEDIUM

In the Linux kernel, the following vulnerability has been resolved: usb: usblp: fix heap leak in IEEE 1284 device ID via short response usblp_ctrl_msg() collapses the usb_control_msg() return val…

Published May 28, 2026CWE-401EPSS 0.17%

Overview

CVE-2026-46151 is a medium-severity vulnerability. It was published on May 28, 2026 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical description

In the Linux kernel, the following vulnerability has been resolved:

usb: usblp: fix heap leak in IEEE 1284 device ID via short response

usblp_ctrl_msg() collapses the usb_control_msg() return value to

0/-errno, discarding the actual number of bytes transferred. A broken

printer can complete the GET_DEVICE_ID control transfer short and the

driver has no way to know.

usblp_cache_device_id_string() reads the 2-byte big-endian length prefix

from the response and trusts it (clamped only to the buffer bounds).

The buffer is kmalloc(1024) at probe time. A device that sends exactly

two bytes (e.g. 0x03 0xFF, claiming a 1023-byte ID) leaves

device_id_string[2..1022] holding stale kmalloc heap.

That stale data is then exposed:

- via the ieee1284_id sysfs attribute (sprintf("%s", buf+2), truncated

at the first NUL in the stale heap), and

- via the IOCNR_GET_DEVICE_ID ioctl, which copy_to_user()s the full

claimed length regardless of NULs, up to 1021 bytes of uninitialized

hea

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2026-46151?

CVE-2026-46151 is a medium-severity vulnerability. It was published on May 28, 2026 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

How severe is CVE-2026-46151?

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2026-46151?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2026-46151?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2026-46151 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related MEDIUM CVEs from 2026

View all