Apple Safari 1.x Large JavaScript Array Handling Denial of Service Vulnerability

ID SSV:77542
Type seebug
Reporter Root
Modified 2014-07-01T00:00:00


No description provided by source.


Apple Safari Web Browser is reported to be prone to a security vulnerability related to handling of large JavaScript arrays (with 99999999999999999999999 or 0x23000000 elements). By declaring such an array and then attempting to access it, it may be possible to cause a browser crash.

This issue is likely due to memory corruption but it is not known if it could be further exploitable to execute arbitrary code.

var a = new Array(99999999999999999999999);

var bam = new Array(0x23000000);
bam.sort(new Function("return 1"));