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.
-
Improper handling of objects in memory when opening files.
Seen in 1 report
-
Improper handling of objects in memory within the graphics component allowed unintended elevation from user mode.
Seen in 1 report
-
Improper handling of the vector register clearing instruction during speculative execution causes a use-after-free in the processor.
-
Improper memory management in error and cleanup paths when handling certain command-line options and protocols.
Seen in 1 report
-
Improper reference counter management in AUX buffer handling freed memory still in use.
-
Improper validation of user-supplied data when processing 3GP files.
-
Inconsistent integer arithmetic across reservation, copy and validation paths caused an overflow.
Seen in 1 report
-
Incorrect conversion between numeric types.
Seen in 1 report
-
Incorrect handling of verdict values in the netfilter tables subsystem led to a double free or use after free.
-
Incorrect size calculation during a crafted regex match so a four-byte write lands past a ten-byte allocation.
Seen in 1 report
-
Indirect draw validation mutates persistent command objects inside render bundles instead of using per-pass state.
Seen in 1 report
-
Initial TCP sequence numbers came from a predictable source rather than a strong random value.
Seen in 1 report
-
Input copied into a fixed-size stack buffer without a length check.
Seen in 1 report
-
Input copied into a fixed-size stack buffer without proper bounds checking.
Seen in 1 report
-
Input size is not checked before copying into a fixed-size heap buffer.
-
Insufficient bounds checking allows memory corruption in a heap buffer.
Seen in 1 report
-
Insufficient bounds checking allows memory to be overwritten.
Seen in 1 report
-
Insufficient validation of data buffers passed from less privileged code to SMM handlers allowed memory corruption and execution redirection.
-
Insufficient validation of data received from the server.
-
Insufficient validation of fields in JPEG2000 and font records led to memory corruption and integer overflows.
Seen in 1 report
-
Insufficient validation of user data led to an object being interpreted as a different type.
Seen in 1 report
-
Insufficient validation of user data when processing XFA templates.
Seen in 1 report
-
Insufficient validation of user-supplied data length before copying to a fixed-length buffer.
-
Insufficient validation of user-supplied data length before copying to a fixed-length heap buffer.
Seen in 1 report
-
Insufficient validation of user-supplied data length before copying to a fixed-length heap buffer.
-
Integer overflow before buffer allocation lets a small check pass and a large write happen.
Seen in 1 report
-
Integer overflow from missing validation of a size or count value before it is used in a memory write.
Seen in 1 report
-
Integer overflow in a memory allocation size leads to memory being freed and then reused.
Seen in 1 report
-
Integer overflow in buffer size calculation because dimensions or size fields were not validated before allocating memory.
Seen in 1 report
-
Integer overflow in file parsing logic.
-
Integer overflow in the calculation of new line limits due to the order of operations in the clipping expression.
Seen in 1 report
-
Integer overflow in the size calculation led to an undersized allocation and a write beyond it.
Seen in 1 report
-
$1,000 Medium
-
-
Integer overflow or wraparound during file processing leading to memory corruption.
Seen in 1 report
-
Integer overflow or wraparound in size calculations.
Seen in 1 report
-
Integer overflow when adding a fixed size to a user-controlled size during allocation.
Seen in 1 report
-
Integer overflow when adding resource and note lengths leads to an undersized allocation.
Seen in 1 report
-
Integer overflows in the buffer size calculation for large width and precision values, followed by unchecked padding.
Seen in 1 report
-
Integer truncation produces a negative width and an undersized buffer, and save ordering writes the level before updating the global checkpoint.
Seen in 1 report
-
Integer underflow or wraparound in size calculations.
Seen in 1 report
-
Integer wraparound not handled safely.
Seen in 1 report
-
Integer wraparound when parsing a crafted colour profile.
Seen in 1 report
-
Integer-typed length and return values overflow at large inputs, and the vectorised loop counter wraps at the integer maximum.
Seen in 1 report
-
Internal API endpoints lacked rate limiting, so an authenticated user could automate unlimited requests.
Seen in 1 report
-
Medium
-
-
Internal buffer pointers are not reinitialised and validated when the image type is switched after allocation, causing an integer underflow in a copy size.
Seen in 1 report
-
Internal entry counts were incremented before a fallible allocation, leaving request-owned state pointing at freed memory.
-
Internal readback paths reset pixel pack state but never clear the caller's pixel pack buffer binding, so the driver treats a CPU heap pointer as a byte offset into the bound buffer.
Seen in 1 report
-
$5,000 Critical
-
-
Isochronous transfer paths skip the endpoint map check that generic transfers perform, so a transfer created during the claim window has a null claimed interface and is not cancelled on release.
Seen in 1 report
-
Isolate teardown is not synchronised with concurrent Binder messages, and a raw pointer is passed across the JNI boundary as an unmanaged long.
Seen in 1 report
-
Iterating over key path strings while calling into JavaScript that can re-enter and free the object leaves a dangling reference.
Seen in 1 report
-
JIT compiler for global regular expressions lost track of the object type, so a value was later used as the wrong type.