CVE-2026-47736 — Vulnerability in puma — CVE Details
Puma PROXY Protocol v1 Parser Allows Remote Memory Exhaustion
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.63%). Schedule for your next planned update.
Does your project use an affected puma version?
Paste your Gemfile.lock to check it for CVE-2026-47736 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
Impact
PROXY protocol support for Puma was added in version 5.5.0.
When PROXY protocol v1 support is enabled, Puma reads incoming bytes into an internal buffer. It waits for "\r\n" to determine whether a PROXY v1 line is present. If an attacker opens a TCP connection and continuously sends bytes without CRLF, Puma keeps appending to this pre-parse buffer.
This can cause unbounded in-process memory growth and additional CPU cost from repeatedly scanning the growing buffer for CRLF. A single, unauthenticated TCP connection can drive significant memory growth and may cause process/container OOM or degraded availability.
Only Puma servers using the following non-default config are affected:
set_remote_address proxy_protocol: :v1
Patches
Users should upgrade to versions 7.2.1 or 8.0.2.
Workarounds
- Disable PROXY protocol v1 parsing if it is not required:
# remove/comment this:
# set_remote_address proxy_protocol: :v1
- Restrict direct network access to Puma listeners using PROXY protocol:
- Only allow trusted load balancers/reverse proxies to connect.
- Block arbitrary client TCP access with firewall/security group rules.
Resources
Advisory Timeline
- First published June 8, 2026 (170 days ago).
- Last revised November 2, 2026 — 147 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
gem install puma -v 8.0.2
gem install puma -v 7.2.1
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (2)
Affects 1 ecosystem: RubyGems (1).
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-400Uncontrolled Resource ConsumptionMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 7.5 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- https://github.com/puma/puma/security/advisories/GHSA-qpgp-93vx-g8v8WEB
- https://github.com/puma/puma/commit/439c6136d9c2275721b7864db3ee78af7c80889fWEB
- https://github.com/puma/puma/commit/ebe9db3929ab8299d19c8f5b41e8ef4f4b22fa58WEB
- https://github.com/puma/pumaPACKAGE
- https://github.com/puma/puma/releases/tag/v7.2.1WEB
- https://github.com/puma/puma/releases/tag/v8.0.2WEB
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/puma/CVE-2026-47736.ymlWEB
- https://nvd.nist.gov/vuln/detail/cve-2026-47736ADVISORY
- https://www.cve.org/CVERecord?id=CVE-2026-47736WEB
Frequently Asked Questions
- What is CVE-2026-47736?
- Puma PROXY Protocol v1 Parser Allows Remote Memory Exhaustion. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 7.5/10).
- How do I check if my project is affected by CVE-2026-47736?
- CVE-2026-47736 affects puma. It has a 0.6% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-47736 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Significant impact if exploited, or exploitable with modest effort.
This is a below-median EPSS score — only 44.6% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.
Also Known As
Related CVEs
- CVE-2023-40175CRITICAL
Puma HTTP Request/Response Smuggling vulnerability
- CVE-2022-24790CRITICAL
Puma vulnerable to HTTP Request Smuggling
- CVE-2026-47737HIGH
Puma PROXY Protocol v1 Accepts Repeated Protocol Headers on Persistent Connections
- CVE-2021-29509HIGH
Puma's Keepalive Connections Causing Denial Of Service
- CVE-2020-5249MEDIUM
HTTP Response Splitting (Early Hints) in Puma
- CVE-2020-5247MEDIUM
HTTP Response Splitting in Puma
- CVE-2024-45614MEDIUM
Puma's header normalization allows for client to clobber proxy set headers
- CVE-2024-21647MEDIUM
Puma HTTP Request/Response Smuggling vulnerability