Vendredi 04 Décembre 2026 14:01:03 GMT+01:00

Netcrook

AccueilManifeste
Actualités
Techcrook
Geocrook
WikicrookÉquipeAppContact
EnglishItaliano

WIKICROOK

Memory amplification

A pattern where a small input causes a much larger memory allocation or memory burden.

Memory amplification is a flaw pattern where a small attacker-controlled input causes a much larger memory allocation or memory burden inside a program. Instead of corrupting memory, the attack wastes it.

This matters in cyber security because it can turn a parser, decoder, or file handler into a denial-of-service target. A crafted message may trigger oversized buffers, repeated copies, or expansion of nested data, eventually causing high heap usage, slowdowns, out-of-memory kills, or restart loops. Memory-safe languages like Rust do not prevent this problem if the logic itself allocates too much.

Defenders look for this in serialization formats, compression code, archive extractors, and compatibility paths such as unknown fields in Protocol Buffers. Useful controls include strict parser budgets, allocation limits, fuzzing, and static analysis that traces untrusted data into memory-growing operations.

← index WIKICROOK