Skip to content
Memory corruption Advisory Advanced CVE-2025-1533

Asus Armoury Crate AsIO3.sys stack-based buffer overflow vulnerability

The AsIO3.sys kernel driver converts a process's Win32 image path to an NT namespace path by copying the remainder of the path into a fixed 255-character stack buffer without a length check. An unprivileged attacker who runs an executable from a path longer than 255 characters can overflow that buffer and, if they also defeat the stack cookie, potentially gain kernel-level code execution.

Marcin 'Icewall' Noga Follow

Originally disclosed on Cisco Talos

High 8.8 View original

A stack-based buffer overflow vulnerability exists in the AsIO3.sys kernel driver of Asus Armoury Crate 5.9.13.0. A specially crafted I/O request packet (IRP) can lead to stack-based buffer overflow.

Marcin 'Icewall' Noga, on Cisco Talos

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the path-conversion routine copies the post-drive portion of the process image path into a fixed 255-wide-character stack buffer with an unbounded loop, assuming Windows paths never exceed 255 characters.

Impact

An unprivileged local attacker could crash the system and, by also bypassing the stack cookie, potentially achieve kernel-level arbitrary code execution.

What the attacker needed

Local access to the machine; ability to run a program from a long path; bypass stack cookie for code execution

How it was found

  1. Place an executable at a path longer than 255 characters using the extended-length path prefix.
  2. Run that executable so it attempts to open a handle to the Asusgio3 device.
  3. The driver queries the process image path and converts it to an NT path, overflowing the stack buffer.
  4. The overwritten stack cookie is detected and the system bugchecks with DRIVER_OVERRAN_STACK_BUFFER.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

A kernel driver is privileged software that runs at the heart of the operating system. This one takes the file path of whatever program asks to talk to it and copies part of that path into a small fixed-size box on the stack, a scratch area with limited room. Because Windows allows paths far longer than 255 characters, a long path spills past the box and corrupts nearby memory, which can crash the machine or, in skilled hands, let the attacker run their own code with the highest privileges.

What is Memory corruption?

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.

More by Marcin 'Icewall' Noga

View all

146 more disclosed reports, best first.

More from Cisco Talos

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Memory corruption

The lesson behind this report.

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.