Skip to content

In-depth lesson · Memory corruption

Root causes

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 2,151 to 2,200 of 3,817
  1. Job creation freed a shared language string once per value of a multi-value attribute instead of once per attribute.

    Seen in 1 report
  2. Kernel driver mishandles objects in memory.

    Seen in 1 report
  3. Kernel operations lack proper locking, allowing memory corruption.

    Seen in 1 report
  4. Kernel stacks lack guard pages and ecryptfs can be stacked on procfs, allowing recursive page faults.

    Seen in 1 report
  5. Key segment length and offset from the .MYI file are trusted without checking against the fixed stack buffer size.

    Seen in 1 report
  6. Lack of input validation when parsing curve parameters in ICC profiles led to memory corruption.

    Seen in 1 report
  7. Large dimensions were multiplied without an overflow check, giving an undersized allocation.

    Seen in 1 report
  8. Length and option fields in received packets are trusted without sanity checks, giving underflows, overflows, out-of-bounds reads and loops.

    Seen in 1 report
  9. Length argument not validated as non-negative before being passed to a C library function with no bounds checking.

    Seen in 1 report
  10. Length fields in management frame information elements are not bounds checked before indexing into buffers.

    Seen in 1 report
  11. Length fields in router advertisement options are not validated, giving loops, out-of-bounds access and a stack overflow.

    Seen in 1 report
  12. Length fields in SMB directory queries are not validated, causing an integer overflow.

    Seen in 1 report
  13. Length of user-supplied data not validated before copying into a fixed-length heap buffer.

    Seen in 1 report
  14. Lengths and per-character expansion are added without checking for integer overflow, so the allocation is smaller than the data written.

    Seen in 1 report
  15. License packet parser does not validate the length of a data blob before reading multiple fields from it.

    Seen in 1 report
  16. List nodes were moved between containers during an active iteration, invalidating the iterator.

    Seen in 1 report
  17. Local pointers are not updated after a realloc moves the buffer, leaving them dangling.

    Seen in 1 report
  18. Locking was added only to the file-loading path, leaving other paths to touch the shared list unlocked.

    Seen in 1 report
  19. Log buffer control structure fields were not validated, allowing a single non-zero byte write to an arbitrary hypervisor address.

    Seen in 1 report
  20. Loop analysis assumes signed overflow wraps while the backend emits undefined signed arithmetic, so the optimiser deletes the loop.

    Seen in 1 report
  21. Loop condition is not re-checked after advancing the source pointer, so it can exceed the buffer end before the next read.

    Seen in 1 report
  22. Lowercase routine does not validate the input character, so a table lookup goes out of bounds.

    Seen in 1 report
  23. Maximise and show call platform code that can synchronously destroy the host but lack the weak-pointer guard the base class has.

    Seen in 1 report
  24. Member declaration order destroys the callback before the vendor decryptor, which may notify the delegate during destruction.

    Seen in 1 report
  25. Member destruction order lets JavaScript triggered during page destruction call a visible-pages calculation that writes to already-destroyed vectors.

    Seen in 1 report
  26. Member variables were accessed after a nested event loop may have destroyed the object, and the weak pointer check came after the write.

    Seen in 1 report
  27. Memory allocated with one allocator was freed with another.

    Seen in 1 report
  28. Memory corruption flaw in how Outlook handles objects in memory, such as a use-after-free or buffer overflow.

    Seen in 1 report
  29. Memory corruption in how iOS processes malicious images within PassKit attachments.

    Seen in 1 report
  30. Memory corruption in how wlansvc.dll handles objects.

    Seen in 1 report
  31. Memory corruption in the runtime.

    Seen in 1 report
  32. Memory corruption in WebSocket frame parsing of malformed control frames.

    Seen in 1 report
  33. Memory corruption issue due to improper memory handling.

    Seen in 1 report
  34. Memory corruption issue in the component.

    Seen in 1 report
  35. Memory corruption issue triggered by a specially crafted application.

    Seen in 1 report
  36. Memory deduplication merging identical pages across VMs, letting Rowhammer bit flips corrupt a victim's page.

    Seen in 1 report
  37. Memory freed more than once while processing crafted input.

    Seen in 1 report
  38. Memory is accessed after being freed while handling Kerberos KDC Proxy Protocol messages.

    Seen in 1 report
  39. Memory is accessed after being released while handling SSTP packets.

    Seen in 1 report
  40. Memory is allocated for a variable name without space for a null terminator, so later string functions read beyond the buffer.

    Seen in 1 report
  41. Memory is not initialised before a variable is used.

    Seen in 1 report
  42. Memory is not initialised before being accessed when handling util objects.

    Seen in 1 report
  43. Memory is still used after being released in the web extension handling code.

    Seen in 1 report
  44. Memory is used before it has been properly initialised.

    Seen in 1 report
  45. Memory is used before it is properly initialised when parsing embedded fonts.

    Seen in 1 report
  46. Memory was allocated on one heap and released with the global free, corrupting both heaps when the allocators differ.

    Seen in 1 report
  47. Memory was freed in the menu processing path but still referenced.

    Seen in 1 report
  48. Memory written past the bounds of an allocated buffer.

    Seen in 1 report
  49. Memory-handling error such as a buffer overflow or use-after-free.

    Seen in 1 report
  50. The service mishandles objects in memory, causing a memory-safety error.

    Seen in 1 report