A malicious data file could create a very large string and put many GameMaker references to it. The references are only 4 bytes in the data file, but LibGM clones every read string. This could be used to crash the program with an "out of memory" error.
To prevent this, an AtomicUsize could be added that keeps track of cloned bytes amount and throws an error if they exceed some failsafe limit (20 MB?).