In-depth lesson · Memory corruption
Bypasses and variations
Every point the Memory corruption reports back under this heading, best-backed first, each with the reports it is seen in.
-
Exploit a binary built without address randomisation or relocation protections to overwrite global pointers used by the crash handler.
Seen in 1 report
-
Exploit a firmware image parser during boot even with Secure Boot and boot guard enabled.
-
Exploit a type confusion without leaking kernel addresses through query APIs or abusing PreviousMode, because newer mitigations closed those paths.
-
Exploit the service without authentication depending on configuration.
Seen in 1 report
-
Fill both the file reference and the input filename to their maximum size before the concatenation.
Seen in 1 report
-
Fill the stack with a long share path first, then send an IOCTL request with zero input length to control the uninitialised pointer.
Seen in 1 report
-
Find a tag and attribute combination whose hash equals a reserved sentinel so the garbage collector skips the bucket.
Seen in 1 report
-
Flood network pools with ICMPv6 traffic to groom kernel pool memory after an out-of-bounds write.
Seen in 1 report
-
Follow an HTTP redirect to a hostname longer than 255 characters.
Seen in 1 report
-
Force a context to escape through a with statement and a runtime call so the escaping check misses nested objects and map checks are omitted.
Seen in 1 report
-
Force a hash collision so the map insertion fails and the copy path desynchronises its metadata.
Seen in 1 report
-
Force a partial write so the leftover buffer path is taken, then send again to reach the double free.
Seen in 1 report
-
Force an attribute into client-side streaming emulation with a large divisor, then switch programs so only active attributes are refreshed.
Seen in 1 report
-
Force an ioctl to fail at a specific step so the error path frees a resource still referenced.
-
Force deoptimisation by calling a function many times with a different type, then recompile so the typer's wrong assumption is used.
Seen in 1 report
-
Force device disconnects and power-state changes so teardown calls fail and are ignored in release builds.
Seen in 1 report
-
Force garbage collection at the error point during malformed JSON parsing.
Seen in 1 report
-
Force garbage collection with large typed array allocations while audio nodes are still in use.
Seen in 1 report
-
Force memory allocation failure during encoding to reach the double-free path.
-
Force the NoGC string allocation to fail so the fallback copy path with the bug is taken.
Seen in 1 report
-
Force the second allocation to fail by making the length huge, so the error path with the wrong deallocator runs.
Seen in 1 report
-
Get around the cyclic prototype check by using two distinct V8 object types that represent the same document.
Seen in 1 report
-
Get the victim to reply to a crafted email rather than just open it.
Seen in 1 report
-
Getting the user to accept the PDF conversion prompt is enough to reach the vulnerable path.
Seen in 1 report
-
Give a file an extension that does not match its real format so the pipeline parses it as a different type.
-
Grow a SharedArrayBuffer to its maximum inside a valueOf callback during an out-of-range typed array assignment to change the lookup result mid-operation.
Seen in 1 report
-
Hand-crafted wire commands bypass client-side buffer serialisers to reach the privileged process with malformed sizes.
Seen in 1 report
-
Hand-written bytecode that skips the numeric for-loop preparation instruction breaks the interpreter's type assumptions.
Seen in 1 report
-
Hide a crafted 3D object inside a PDF so the PDF parser hands it to the embedded object parser.
-
Huge allocations are placed deterministically by the Linux kernel, so an attacker can groom the heap to place decoder metadata next to a large allocation and overwrite function pointers.
-
If a single page load does not reproduce the crash, load the page many times in a row or open several browsers at once.
Seen in 1 report
-
If the page does not reproduce at first, open it in a new tab to retrigger the crash.
Seen in 1 report
-
Importing a crafted audio file into a presentation triggers the flaw.
Seen in 1 report
-
Include more operations than the padding allows so the overflow exceeds the buffer slack.
Seen in 1 report
-
Include the unicode-scanning flag in the format string and craft input with many quote characters followed by unicode prefix bytes to avoid an immediate crash.
Seen in 1 report
-
Incorrect clipping of a chunk size lets a size check pass even though the buffer is too small.
-
Induce memory pressure so that the URL string allocation fails during a connection attempt.
-
Induced faults during a protected operation skip the chip's security checks.
Seen in 1 report
-
Inflate the sample size in the container table while keeping the sender-side check satisfied, so the receiver-side copy overflows.
-
Insert an empty string after the custom element to drive the upgrade path during node insertion.
Seen in 1 report
-
Invalidate a depth attachment, close the render pass with another draw, then redefine the texture level so release runs.
Seen in 1 report
-
Launch the attack from a low-privilege AppContainer to reach a system service.
Seen in 1 report
-
Leak browser memory to help bypass ASLR and combine with another flaw for code execution.
Seen in 1 report
-
Leak heap and library addresses, forge a hash table and redirect execution to a built-in command function.
-
Lift the memory limit and use a very large input so the length wraps to a negative value.
Seen in 1 report
-
Loading and unloading the document as a template leaves state reachable through Quick Parts.
Seen in 1 report
-
Look for conditions the patch for an integer overflow missed in the same function.
-
Make a response fail the client's time condition after stalling an upload to reach the teardown path.
Seen in 1 report
-
Make the Length attribute a reference object rather than an integer so the parser frees it and leaves a stale pointer.
Seen in 1 report
-
Make the on-wire length differ from the captured length so the wrong value is used in bounds checks.