Tuesday 25 March 2025
Researchers have long warned about the vulnerabilities in artificial intelligence and machine learning systems, particularly those that rely on GPU acceleration for their processing power. A recent study has shed new light on just how easily these systems can be compromised, highlighting a previously unknown threat vector that could have far-reaching implications.
The researchers focused on two specific attack vectors: deserialization attacks and custom layer exploits. Deserialization attacks occur when an attacker injects malicious code into a system by exploiting vulnerabilities in the way data is converted from one format to another. Custom layer exploits, meanwhile, involve manipulating the complex computational layers that underlie many AI and ML systems.
In their experiment, the researchers demonstrated how these attack vectors could be used to launch remote code execution attacks on GPU-accelerated systems. This means that an attacker could essentially take control of a system’s processing power, using it to perform malicious tasks such as cryptocurrency mining or data theft.
The most alarming aspect of this research is the ease with which these attacks can be launched. The researchers were able to successfully execute their attack vectors without triggering any obvious signs of intrusion, making them difficult to detect using traditional security tools.
So how do these attacks work? In the case of deserialization attacks, an attacker injects malicious code into a system by exploiting vulnerabilities in the way data is converted from one format to another. This could involve modifying serialized model files or injecting malicious code into GPU memory. Custom layer exploits, meanwhile, involve manipulating the complex computational layers that underlie many AI and ML systems.
The researchers used two specific examples of how these attack vectors could be used to launch remote code execution attacks on GPU-accelerated systems. In one example, they demonstrated how a deserialization attack could be used to inject malicious code into a system’s GPU memory, allowing an attacker to take control of the system’s processing power.
In the other example, they showed how a custom layer exploit could be used to manipulate the complex computational layers that underlie many AI and ML systems. This allowed them to execute arbitrary code on the system, including launching malicious tasks such as cryptocurrency mining or data theft.
The implications of this research are significant. It highlights the need for more robust security measures in GPU-accelerated systems, particularly those used in AI and ML applications. The researchers recommend implementing strict controls over object mapping during deserialization, explicitly defining safe mappings to avoid inadvertently executing unsafe code.
Cite this article: “AI and ML Systems Vulnerable to Remote Code Execution Attacks via GPU Acceleration”, The Science Archive, 2025.
Artificial Intelligence, Machine Learning, Gpu Acceleration, Deserialization Attacks, Custom Layer Exploits, Remote Code Execution, Cryptocurrency Mining, Data Theft, Object Mapping, Secure Programming
Reference: Ariel Szabo, Uzy Hadad, “Crypto Miner Attack: GPU Remote Code Execution Attacks” (2025).







