Monday 27 July 2026 06:52:00 GMT+02:00

Netcrook

HomeManifesto
News
Techcrook
Geocrook
WikicrookTeamAppContactLogin
EnglishItaliano

WIKICROOK

XZ archive

A compressed file container that stores data in blocks and metadata, making its parser a meaningful security boundary.

An XZ archive is a compressed file container used to store data in blocks along with metadata such as sizes and indexes. The format is designed for efficient compression, but that structure also means software must parse attacker-controlled fields before it can safely extract anything.

In cyber security, that parser becomes a security boundary. If length fields, chunk boundaries, or block metadata are handled incorrectly, a crafted .xz file can trigger memory corruption in the decompression code, sometimes leading to crashes or code execution in the current process. Attackers may deliver malicious archives through email, downloads, or automated file pipelines, while defenders reduce risk by patching archive tools, sandboxing extraction, and treating external archives as untrusted input.

← WIKICROOK index