cve.bz

CVE-2026-115274 Unbounded integer parsing in JSON.decode/1 enables CPU and memory exhaustion denial of service in Elixir

6.9 mediumEPSS 0.7%

Medium (6.9) in elixir-lang elixir. EPSS 0.7% estimated probability of exploitation activity in the next 30 days.

On this page
Improper Validation of Specified Quantity in Input vulnerability in the Elixir standard library's JSON module allows an unauthenticated attacker who supplies a JSON document to cause a denial of service through CPU and memory exhaustion. JSON.decode/1 and JSON.decode!/1 convert each integer literal with erlang:binary_to_integer/1 and do not bound its length. A literal of one million digits decodes successfully but costs 100 to 300 times as much CPU as a string of the same length, so one request body of a few megabytes holds a scheduler for about a second. A literal of more than about 1.29 million digits raises SystemLimitError. Applications generated by phx.new decode request bodies with JSON in Plug.Parsers, before routing and authentication. This issue affects elixir: from 1.18.0-rc.0 before 1.18.6, from 1.19.0-rc.0 before 1.19.7, and from 1.20.0-rc.0 before 1.20.5.

Severity

CVSS 4.0

6.9 medium
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
EPSS
0.7% (up from 0.5% a week ago) estimated probability of exploitation activity in the next 30 days; 53rd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: partial, assessed 2026-10-30. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-1284 Improper Validation of Specified Quantity in Input
Published
Modified
Assigned by
EEF (CNA)
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-115274 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-115274?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-115274?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-115274 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
elixir-lang elixirfrom 1.18.0-rc.0 before 1.18.6
elixir-lang elixirfrom 1.19.0-rc.0 before 1.19.7
elixir-lang elixirfrom 1.20.0-rc.0 before 1.20.5

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian13elixir-langno fix listedDEBIAN-CVE-2026-115274
Debian14elixir-lang1.20.5+dfsg-1DEBIAN-CVE-2026-115274
Ubuntu14.04:LTS, 16.04:LTS, 18.04:LTSelixirno fix listedUBUNTU-CVE-2026-115274

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This vulnerability is rated as Moderate severity because an unauthenticated remote attacker can cause resource exhaustion and service disruption, but cannot compromise confidentiality, modify data, or execute arbitrary code. Red Hat Enterprise Linux and other core Red Hat product offerings do not ship or maintain the Elixir runtime, significantly limiting enterprise exposure. Impact is primarily restricted to custom-developed applications consuming untrusted JSON payloads through standard decoding functions without application-level length constraints.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-115274.

References

Check your stackJSON