← Lab /Security & privacy

Canon MF753Cdw printer has unauthenticated heap overflow enabling arbitrary free

An unauthenticated heap-based buffer overflow in the Canon MF753Cdw printer allows arbitrary free and remote code execution via the fax driver and BJNP protocol.

Security & privacy Zero Day Initiative Blog 23 Sep 2026 Disclosure Prototype evidence

Published as “CVE-2024-0244 – A heap buffer overflow in the Canon MF753Cdw printer”

Why it matters

The work shows that legacy Canon multifunction printers can be remotely compromised without authentication, underscoring the need for stronger firmware hardening and mitigation of unauthenticated services.

Summary

The researcher examined the Windows fax driver for the Canon MF753Cdw and discovered that a SOAP binary payload containing an overlong fax destination length triggers a heap buffer overflow. This overflow overwrites a pointer that is later passed to free(), giving an arbitrary free primitive. By leveraging the unauthenticated BJNP protocol to store shellcode at known addresses, the attacker can hijack a function pointer after the free and achieve code execution, demonstrated by displaying DOOM on the printer. The exploit was validated on a real printer in a lab environment.

What they found 1

  1. Heap buffer overflow in fax destination number parsing leads to arbitrary free.

    “The pointer passed to free() was fully controlled via a malformed binary fax payload that contained a large string length and lots of A’s as the destination fax number.”

Caveats 5

  • The actual root cause of the overflow was never identified.
  • The method of freeing system-related objects was deemed too unreliable for competition.
  • The maximum overflow size only allowed overwriting fields within the vulnerable object, not adjacent heap chunks.
  • Techniques may not be directly applicable to newer Canon devices.
  • Maximum overflow size limited to fields within the vulnerable object, preventing adjacent chunk corruption.

What’s new here 4

  • Unauthenticated heap overflow in the fax driver via a malformed SOAP payload.
  • Arbitrary free primitive discovered by controlling the pointer passed to free().
  • Exploitation chain using the BJNP protocol to place shellcode at fixed addresses and hijack execution.
  • Demonstrated remote code execution by rendering graphics on the printer display.