The product writes past the bounds of a buffer — the most dangerous memory-safety defect.
Use memory-safe languages where possible; bounds-check writes; fuzz with ASan.