You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Array.prototype.fill computes its bounds k/final from the array length captured before argument coercion. Normalizing start/end calls ToInteger → user valueOf, which can shrink the array and reallocate the fast-array backing store smaller. The write loop (ecma-builtin-array-prototype.c:2189-2194) then uses the stale bounds, never re-clamped to the current ext_obj_p->u.array.length — unlike indexOf/lastIndexOf/includes, which clamp. Result: OOB read/write (attacker-controlled fill value) past the buffer.
Activity