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.
-
Job creation freed a shared language string once per value of a multi-value attribute instead of once per attribute.
-
Kernel driver mishandles objects in memory.
Seen in 1 report
-
Kernel operations lack proper locking, allowing memory corruption.
-
Kernel stacks lack guard pages and ecryptfs can be stacked on procfs, allowing recursive page faults.
Seen in 1 report
-
Key segment length and offset from the .MYI file are trusted without checking against the fixed stack buffer size.
-
Lack of input validation when parsing curve parameters in ICC profiles led to memory corruption.
Seen in 1 report
-
Large dimensions were multiplied without an overflow check, giving an undersized allocation.
Seen in 1 report
-
Length and option fields in received packets are trusted without sanity checks, giving underflows, overflows, out-of-bounds reads and loops.
-
Length argument not validated as non-negative before being passed to a C library function with no bounds checking.
Seen in 1 report
-
Length fields in management frame information elements are not bounds checked before indexing into buffers.
-
Length fields in router advertisement options are not validated, giving loops, out-of-bounds access and a stack overflow.
-
Length fields in SMB directory queries are not validated, causing an integer overflow.
Seen in 1 report
-
Length of user-supplied data not validated before copying into a fixed-length heap buffer.
-
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
-
License packet parser does not validate the length of a data blob before reading multiple fields from it.
-
List nodes were moved between containers during an active iteration, invalidating the iterator.
Seen in 1 report
-
Local pointers are not updated after a realloc moves the buffer, leaving them dangling.
Seen in 1 report
-
Locking was added only to the file-loading path, leaving other paths to touch the shared list unlocked.
Seen in 1 report
-
Log buffer control structure fields were not validated, allowing a single non-zero byte write to an arbitrary hypervisor address.
Seen in 1 report
-
Loop analysis assumes signed overflow wraps while the backend emits undefined signed arithmetic, so the optimiser deletes the loop.
Seen in 1 report
-
Loop condition is not re-checked after advancing the source pointer, so it can exceed the buffer end before the next read.
-
Lowercase routine does not validate the input character, so a table lookup goes out of bounds.
-
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
-
Member declaration order destroys the callback before the vendor decryptor, which may notify the delegate during destruction.
Seen in 1 report
-
Member destruction order lets JavaScript triggered during page destruction call a visible-pages calculation that writes to already-destroyed vectors.
Seen in 1 report
-
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
-
Memory allocated with one allocator was freed with another.
Seen in 1 report
-
Memory corruption flaw in how Outlook handles objects in memory, such as a use-after-free or buffer overflow.
Seen in 1 report
-
Memory corruption in how iOS processes malicious images within PassKit attachments.
Seen in 1 report
-
Memory corruption in how wlansvc.dll handles objects.
Seen in 1 report
-
Memory corruption in the runtime.
Seen in 1 report
-
Memory corruption in WebSocket frame parsing of malformed control frames.
-
Memory corruption issue due to improper memory handling.
Seen in 1 report
-
Memory corruption issue in the component.
Seen in 1 report
-
Memory corruption issue triggered by a specially crafted application.
Seen in 1 report
-
Memory deduplication merging identical pages across VMs, letting Rowhammer bit flips corrupt a victim's page.
Seen in 1 report
-
Memory freed more than once while processing crafted input.
Seen in 1 report
-
Memory is accessed after being freed while handling Kerberos KDC Proxy Protocol messages.
Seen in 1 report
-
Memory is accessed after being released while handling SSTP packets.
Seen in 1 report
-
Memory is allocated for a variable name without space for a null terminator, so later string functions read beyond the buffer.
-
Memory is not initialised before a variable is used.
-
Memory is not initialised before being accessed when handling util objects.
Seen in 1 report
-
Memory is still used after being released in the web extension handling code.
-
Memory is used before it has been properly initialised.
-
Memory is used before it is properly initialised when parsing embedded fonts.
-
Memory was allocated on one heap and released with the global free, corrupting both heaps when the allocators differ.
Seen in 1 report
-
Memory was freed in the menu processing path but still referenced.
Seen in 1 report
-
Memory written past the bounds of an allocated buffer.
Seen in 1 report
-
Memory-handling error such as a buffer overflow or use-after-free.
Seen in 1 report
-
The service mishandles objects in memory, causing a memory-safety error.
Seen in 1 report