Skip to content

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.

Back to the lesson 651 to 700 of 756
  1. Trigger the flaw through a malicious website when the browser plugin is enabled, not only by opening a file.

    Seen in 1 report
  2. Trigger type initialisation for an already-loaded API with a non-existent member name while holding a cached method reference.

    Seen in 1 report
  3. Triggering a kernel use-after-free from within any sandbox by calling IOKit or mach APIs with serialised arguments.

    Seen in 1 report
  4. Truncating a raster size to a signed 16-bit value and sign-extending it gets around the copy loop bound.

    Seen in 1 report
  5. Turn a limited heap overflow into an arbitrary allocation by overwriting the next-pointer of a freed chunk.

    Seen in 1 report
  6. Two different recursion groups with colliding hashes are treated as equal when the left-hand side has a generic heap type.

    Seen in 1 report
  7. URL-encode the long target parameter so it is decoded after the length check.

    Seen in 1 report
  8. Use a .gif file extension to skip the JavaScript image transcoder and reach the native parser directly.

    Seen in 1 report
  9. Use a 32-bit build so the offset and size sum wraps before the bounds check in PHP EXIF thumbnails.

    Seen in 1 report
  10. Use a 64-bit build where the underflow produces an arbitrary null byte write in PHP file reading.

    Seen in 1 report
  11. Use a bundle name length near the maximum signed integer so the capacity calculation goes negative and skips the size check.

    Seen in 1 report
  12. Use a caching allocator to force the freed connection's address to be reused by a new connection.

    Seen in 1 report
  13. Use a Calculate action that deletes pages to free many objects, then use a freed object.

    Seen in 1 report
  14. Use a colour value above 255 on a palette image to reach the out-of-bounds read in PHP image cropping.

    Seen in 1 report
  15. Use a compromised renderer to supply more than one WebAuthn extension to the browser process.

    Seen in 1 report
  16. Use a conversion callback that removes the parameter being converted in XSLT processing.

    Seen in 1 report
  17. Use a crafted length or offset field in the file to read past the real buffer size in PDF DST parsing.

    Seen in 1 report
  18. Use a crafted PEM certificate so the seal initialisation returns a negative key length that reaches the string copy.

    Seen in 1 report
  19. Use a degenerate loop bound with a strict comparison so the loop analysis treats an infinite loop as finite and the iteration cap is not injected.

    Seen in 1 report
  20. Use a field Format action that changes the current page to fire a page event that frees the field object.

    Seen in 1 report
  21. Use a form field OnBlur callback to destroy an annotation and free associated objects.

    Seen in 1 report
  22. Use a format combination that forces the CPU readback fallback and a large non-zero z offset on a 3D texture.

    Seen in 1 report
  23. Use a getter on the object prototype to intercept promise resolution and free the object mid-use.

    Seen in 1 report
  24. Use a getter that deprecates maps and add and delete a property before cloning with spread syntax to reach the confused write.

    Seen in 1 report
  25. Use a javascript: URI with a non-UTF-8 charset as a worker script URL to reach a non-thread-safe service.

    Seen in 1 report
  26. Use a kernel memory corruption reachable with CAP_NET_ADMIN to escape a Kubernetes container to the host.

    Seen in 1 report
  27. Use a large allocation on a 32-bit build so the pointer addition wraps and the bounds check passes.

    Seen in 1 report
  28. Use a large binary plist in file metadata to groom the heap so an overflow lands on a chosen object.

    Seen in 1 report
  29. Use a long non-null-terminated wide string so the null scan runs past the allocation and leaks adjacent heap memory.

    Seen in 1 report
  30. Use a loop increment that is a ternary or a function call so the forward-progress pass treats the loop as finite.

    Seen in 1 report
  31. Use a malformed record with an extended tag to reach the underflow path in ASN.1 decoding.

    Seen in 1 report
  32. Use a mutation observer to navigate away during a microtask checkpoint so the parser object is freed while still in use.

    Seen in 1 report
  33. Use a negative offset to read outside the intended memory range in PHP grapheme functions.

    Seen in 1 report
  34. Use a negative value so an increment wraps and a length check passes.

    Seen in 1 report
  35. Use a non-hardened EGL context so the large-variable validation is skipped.

    Seen in 1 report
  36. Use a non-standard property name on an edge element so the first pass silently skips it and the buffer size comes out as zero.

    Seen in 1 report
  37. Use a non-WebGL context type so the robust access attribute is dropped and draw-call bounds validation is disabled.

    Seen in 1 report
  38. Use a NOP sled so the exact shellcode start address does not matter.

    Seen in 1 report
  39. Use a null byte after a space in one distinguished name so the comparison passes or fails unexpectedly.

    Seen in 1 report
  40. Use a packet type value above the maximum allowed to index outside the DCERPC statistics array.

    Seen in 1 report
  41. Use a raw void pointer as callback context so the dangling reference is not protected.

    Seen in 1 report
  42. Use a reference buffer index that is in range but never populated so an early error path skips the fence wait.

    Seen in 1 report
  43. Use a renderer use-after-free to escape the sandbox from a compromised renderer.

    Seen in 1 report
  44. Use a second header marker with an invalid precision to make the parser compute one size and write with another.

    Seen in 1 report
  45. Use a self-assignment with a string index in a loop to leak memory, then a second function to write out of bounds.

    Seen in 1 report
  46. Use a server-pushed map download to deliver a malformed overview image to a connecting client.

    Seen in 1 report
  47. Use a small valid base resolution so the sorted dimension check passes while the layer is huge.

    Seen in 1 report
  48. Use a storage volume whose logical sector size is larger than the usual 512 bytes to make the copy length exceed the buffer.

    Seen in 1 report
  49. Use a subsampling factor that does not match the declared width to defeat the buffer size calculation.

    Seen in 1 report
  50. Use a template with pages spawned from it and a form reset to reach the Format handler indirectly.

    Seen in 1 report