5.9medium
Unauthenticated denial-of-service via BEAM atom table exhaustion in membrane_mp4_plugin
- Severity
- 5.9medium CVSS:4.0 by EEF
- Exploit likelihood
- 0.31% (higher than 25% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- EEF
- Also known as
- GHSA-43hj-fxwj-49qwEEF-CVE-2026-53423
Description
Allocation of Resources Without Limits or Throttling vulnerability in membraneframework membrane_mp4_plugin allows unauthenticated denial-of-service via BEAM atom table exhaustion. The MP4 box header parser converts each 4-byte box name to an atom using String.to_atom/1 without validation. Membrane.MP4.Container.Header.parse_box_name/1 in lib/membrane_mp4/container/header.ex interns every box name encountered while Membrane.MP4.Container.Header.parse/1 walks the input. BEAM atoms are never garbage-collected, so each unique attacker-controlled 4-byte name is a permanent allocation. A crafted MP4 of approximately 8 MB containing roughly 1.1 million boxes with distinct non-standard names exhausts the atom table (default ceiling around 1,048,576 atoms), aborting the entire BEAM node and taking down all applications running on it. This issue affects membrane_mp4_plugin: from 0.3.0 before 0.36.7.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| membrane_mp4_plugin | from 0.3.0 before 0.36.7 | CVE List |
| membraneframework/membrane_mp4_plugin | from ae4bf04c393aa1562f3df3d33e20bc5cb8130de2 before 56373d1ddc86968e55fbde795c14eeba24357b57 | CVE List |
| membrane_mp4_plugin (Hex) | before 0.36.7, from 0.3.0 before 0.36.7 | GitHub Advisory Database, Erlang Ecosystem Foundation |
| https://github.com/membraneframework/membrane_mp4_plugin | from ae4bf04c393aa1562f3df3d33e20bc5cb8130de2 before 56373d1ddc86968e55fbde795c14eeba24357b57 | Erlang Ecosystem Foundation |
All scores
| EEF | 5.9medium CVSS:4.0 | CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N |
| GitHub | medium CVSS:4.0 | CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N |
| Erlang Ecosystem Foundation | Not scored CVSS:4.0 | CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.
What each source says
CVE List
Allocation of Resources Without Limits or Throttling vulnerability in membraneframework membrane_mp4_plugin allows unauthenticated denial-of-service via BEAM atom table exhaustion. The MP4 box header parser converts each 4-byte box name to an atom using String.to_atom/1 without validation. Membrane.MP4.Container.Header.parse_box_name/1 in lib/membrane_mp4/container/header.ex interns every box name encountered while Membrane.MP4.Container.Header.parse/1 walks the input. BEAM atoms are never garbage-collected, so each unique attacker-controlled 4-byte name is a permanent allocation. A crafted MP4 of approximately 8 MB containing roughly 1.1 million boxes with distinct non-standard names exhausts the atom table (default ceiling around 1,048,576 atoms), aborting the entire BEAM node and taking down all applications running on it. This issue affects membrane_mp4_plugin: from 0.3.0 before 0.36.7.
GitHub Advisory Database
Summary
membrane_mp4_plugin interns every 4-byte MP4 box name as a BEAM atom while parsing container headers, with no validation against an allow-list. Any code path that calls Membrane.MP4.Container.parse/1 (or the bang variant) on attacker-controlled MP4 bytes can be made to exhaust the BEAM atom table, which is uncapped at the source but bounded by the runtime ceiling (around 1,048,576 atoms) and never garbage-collected. Once the ceiling is hit, the entire BEAM node aborts.
Details
The MP4 container parser walks the input stream box-by-box. For each box, Membrane.MP4.Container.Header.parse/1 in lib/membrane_mp4/container/header.ex extracts the 4-byte name field and delegates to the private helper parse_box_name/1, which trims trailing spaces and passes the bytes through String.to_atom/1. Because String.to_atom/1 creates a new atom unconditionally, every distinct attacker-chosen 4-byte sequence becomes a permanent allocation in the global atom table. Atoms are not subject to garbage collection, so unique names accumulate for the lifetime of the node.
The fix replaces the unsafe interning with String.to_existing_atom/1 and treats unknown names as the :unknown atom downstream (with related plumbing in parse_helper.ex, serialize_helper.ex, and the ISOM/CMAF demuxer engines so the new error variant flows through cleanly).
PoC
- Generate an MP4-shaped payload of roughly 1.1 million minimal box headers, each 8 bytes long (4-byte size of 8, followed by a unique 4-byte ASCII name produced by enumerating combinations in the printable range).
- Concatenate them into a single binary (~8 MB total).
- Call
Membrane.MP4.Container.parse!/1on the binary inside any process running under the target BEAM node. - The node aborts once the atom table ceiling is reached.
Impact
An attacker who can get a single crafted MP4 file in front of any system that demuxes user-supplied media with membrane_mp4_plugin can crash the entire BEAM node hosting that pipeline, taking down every Erlang/Elixir application sharing the runtime. No authentication, network position, or user interaction is required beyond delivering the file to whatever processing path eventually calls the parser.
References
Erlang Ecosystem Foundation
Summary
Allocation of Resources Without Limits or Throttling vulnerability in membraneframework membrane_mp4_plugin allows unauthenticated denial-of-service via BEAM atom table exhaustion.
The MP4 box header parser converts each 4-byte box name to an atom using String.to_atom/1 without validation. Membrane.MP4.Container.Header.parse_box_name/1 in lib/membrane_mp4/container/header.ex interns every box name encountered while Membrane.MP4.Container.Header.parse/1 walks the input. BEAM atoms are never garbage-collected, so each unique attacker-controlled 4-byte name is a permanent allocation. A crafted MP4 of approximately 8 MB containing roughly 1.1 million boxes with distinct non-standard names exhausts the atom table (default ceiling around 1,048,576 atoms), aborting the entire BEAM node and taking down all applications running on it.
This issue affects membrane_mp4_plugin: from 0.3.0 before 0.36.7.
NVD (es)
vulnerabilidad de asignación de recursos sin límites ni limitación en membraneframework membrane_mp4_plugin permite una denegación de servicio no autenticada mediante el agotamiento de la tabla de átomos de BEAM. El analizador de encabezados de cajas MP4 convierte cada nombre de caja de 4 bytes en un átomo usando String.to_atom/1 sin validación. ’Elixir.Membrane.MP4.Container.Header’:parse_box_name/1 en lib/membrane_mp4/container/header.ex interna cada nombre de caja encontrado mientras ’Elixir.Membrane.MP4.Container.Header’:parse/1 recorre la entrada. Los átomos de BEAM nunca son recolectados por el recolector de basura, por lo que cada nombre único de 4 bytes controlado por el atacante es una asignación permanente. Un MP4 manipulado de aproximadamente 8 MB que contiene aproximadamente 1.1 millones de cajas con nombres distintos no estándar agota la tabla de átomos (límite predeterminado de alrededor de 1,048,576 átomos), abortando el nodo BEAM completo y derribando todas las aplicaciones que se ejecutan en él. Este problema afecta a membrane_mp4_plugin desde 0.3.0 antes de 0.36.7.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-53423 changed 2026-11-20 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-43hj-fxwj-49qw changed 2026-08-18 | CC-BY-4.0 |
| Erlang Ecosystem Foundation | EEF-CVE-2026-53423 changed 2026-11-25 | CC-BY-4.0 |
| NVD | CVE-2026-53423 changed 2026-11-20 | Public domain |