Several buffer-growth sites in libmime performed size arithmetic using 32-bit types without implementing overflow checks. When processing a sufficiently large message, the growth guard could fail or the buffer could be reallocated with a size smaller than required. This allows a subsequent memcpy operation to write attacker-controlled data across adjacent heap allocations, potentially leading to memory corruption.