Advisory Details

March 3rd, 2025

(Pwn2Own) HP LaserJet Pro MFP 3301fdw PostScript File Parsing Stack-based Buffer Overflow Remote Code Execution Vulnerability

ZDI-25-107
ZDI-CAN-25594

CVE ID CVE-2025-26506
CVSS SCORE 8.8, AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
AFFECTED VENDORS HP
AFFECTED PRODUCTS LaserJet Pro MFP 3301fdw
VULNERABILITY DETAILS

This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of HP LaserJet Pro MFP 3301fdw printers. Authentication is not required to exploit this vulnerability.

The specific flaw exists within the parsing of PostScript data. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a fixed-length stack-based buffer. An attacker can leverage this vulnerability to execute code in the context of root.

ADDITIONAL DETAILS HP has issued an update to correct this vulnerability. More details can be found at:
https://support.hp.com/us-en/document/ish_11953771-11953793-16/hpsbpi04007
DISCLOSURE TIMELINE
  • 2024-12-02 - Vulnerability reported to vendor
  • 2025-03-03 - Coordinated public release of advisory
  • 2025-03-03 - Advisory Updated
CREDIT Felipe Jacob Custodio Romero, Neodyme AG
BACK TO ADVISORIES