Saturday 05 December 2026 19:05:30 GMT+01:00

Netcrook

HomeManifesto
News
Techcrook
Geocrook
WikicrookTeamAppContact
EnglishItaliano

WIKICROOK

Erlang external-term format

A binary serialization format used in Erlang and Elixir systems.

The Erlang external-term format (ETF) is a binary encoding for representing Erlang terms so they can be stored or sent between systems. Erlang and Elixir applications use it to serialize values such as numbers, strings, lists, maps, and other data structures.

ETF is not inherently unsafe, but accepting and decoding attacker-controlled data can create risk if the application treats decoded values as trusted or passes them into unsafe operations. In a web service, a parser flaw may let crafted ETF input reach sensitive application logic and contribute to remote code execution. Defenses include rejecting unexpected formats at the boundary, validating decoded data against strict expectations, keeping parsing separate from privileged operations, and logging relevant access for investigation.

← WIKICROOK index