CVE 5.9 MEDIUM

Unbounded range expansion in cron describe causes memory exhaustion in oban_web_CVE-2026-48593

5.9 / 10
MEDIUM
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Description

Uncontrolled Resource Consumption vulnerability in oban-bg oban_web ('Elixir.Oban.Web.CronExpr' modules) allows memory exhaustion via unbounded cron range expansion.

An attacker with access to schedule cron jobs can submit a malicious cron expression such as "0 0 1-100000000 * *". When a user with dashboard access views the cron job list, 'Elixir.Oban.Web.CronExpr':describe/1 is called to render the expression. parse_range/1 parses both range endpoints via Integer.parse/1 with no bounds check, and the downstream helpers expand_dom_parts/1 and expand_dow_parts/1 materialise the range eagerly via Enum.to_list/1, causing allocation of ~2.4 GB and stalling or crashing the BEAM node. A sibling helper extract_dom_values already validates range bounds, but the expansion helpers do not.

This issue affects oban_web: from 2.12.0 before 2.12.5.

Basic Information

ID CVE-2026-48593
Source EEF
Published May 26, 2026 at 19:46
Modified May 26, 2026 at 20:46

Affected Product

Vendor oban-bg
Product oban_web
Version 2.12.0
Affected Versions oban-bg oban_web 2.12.0
oban-bg oban_web a97c7960bb389b05aaab4cf8042985f02ceddc24

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.