CVE-2026-47736: Puma PROXY Protocol v1 Parser Allows Remote Memory Exhaustion

Published Jun 8, 2026
·
Updated

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:

ruby setremoteaddress proxyprotocol: :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:

ruby # remove/comment this: # setremoteaddress proxyprotocol: :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 - HAProxy PROXY protocol specification - CWE-400: Uncontrolled Resource Consumption - CWE-770: Allocation of Resources Without Limits or Throttling - Puma setremoteaddress documentation - Puma client PROXY protocol parsing code - Puma constants, including PROXYPROTOCOLV1REGEX

Other sources

Puma is a Ruby/Rack web server built for parallelism. From 5.5.0 until 7.2.1 and 8.0.2, when PROXY protocol v1 support is enabled, Puma reads incoming bytes into an internal buffer while waiting for CRLF to determine whether a PROXY v1 line is present, allowing an attacker that continuously sends bytes without CRLF to cause unbounded in-process memory growth and additional CPU cost from repeatedly scanning the growing buffer. This issue is fixed in versions 7.2.1 and 8.0.2.

— MITRE

Affected Software

7 affected componentsFixes available
rubygems/puma>=5.5.0<7.2.1
7.2.1
rubygems/puma>=8.0.0<8.0.2
8.0.2
ubuntu/puma*
ubuntu/puma*
ubuntu/puma*
ubuntu/puma*
ubuntu/puma*

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade rubygems/puma to a version that resolves this vulnerability.

    Fixed in 7.2.1
  2. Upgrade

    Upgrade rubygems/puma to a version that resolves this vulnerability.

    Fixed in 8.0.2
  3. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 7.2.1
  4. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 8.0.2
  5. Configuration

    Disable PROXY protocol v1 parsing if it is not required (comment out/remove the line `set_remote_address proxy_protocol: :v1`).

    Puma set_remote_address proxy_protocol = :v1
  6. Compensating control

    Block arbitrary client TCP access with firewall/security group rules so only trusted load balancers/reverse proxies can connect to Puma listeners when PROXY protocol is enabled.

Event History

Jun 8, 2026
Advisory Published
via GitHub·11:55 PM
Data Sourced
via GitHub·11:55 PM
DescriptionSeverityWeaknessAffected Software
Jul 14, 2026
CVE Published
via MITRE·07:54 PM
Data Sourced
via MITRE·07:54 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2026-47736?

The severity of CVE-2026-47736 is high, with a score of 7.5.

2

How do I fix CVE-2026-47736?

To fix CVE-2026-47736, ensure you are using a version of Puma that is updated beyond the vulnerability patch, specifically after version 5.5.0.

3

What software is affected by CVE-2026-47736?

CVE-2026-47736 affects the Puma web server, specifically versions prior to the patch.

4

What does CVE-2026-47736 impact?

CVE-2026-47736 impacts the PROXY protocol support in Puma, allowing potential denial of service.

5

When was CVE-2026-47736 published?

CVE-2026-47736 was published on June 8, 2026.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203