torch is vulnerable to Out-of-bounds Write
55
CVE Score
Medium
Out-of-bounds Write
The mobile FlatBuffer loader reached through torch::load parses serialized module data without validating the offsets embedded in the buffer. Because untrusted offsets are dereferenced and combined with buffer pointers, a crafted FlatBuffer-format model can make the loader compute and access arbitrary memory addresses. Loading such a file can corrupt pointers and cause out-of-bounds reads and writes, at minimum crashing the process. The fix adds buffer verification and bounds checks so malformed modules are rejected before parsing.
Upgrade the pytorch library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and your application loads FlatBuffer-format model data from untrusted sources via torch::load.
0.0.1 - 2.0.1
Fixed in 2.1.0torch is vulnerable to Out-of-bounds Write in versions 0.0.1 - 2.0.1.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.