[Issue 10421] mdb_load can crash on malicious input