EnvoyApplication · Envoyproxy

CVE-2025-62504

HIGH · 7.5 CVSS v3.1 Published 2025-10-16
Fix available
A fix is available. Upgrade to 1.33.12 / 1.34.10 or later.
See remediation →
84/100
Remediation priority · High
Remotely reachable No privileges Zero-click

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
Envoy is an open source edge and service proxy. Envoy versions earlier than 1.36.2, 1.35.6, 1.34.10, and 1.33.12 contain a use-after-free vulnerability in the Lua filter. When a Lua script executing in the response phase rewrites a response body so that its size exceeds the configured per_connection_buffer_limit_bytes (default 1MB), Envoy generates a local reply whose headers override the original response headers, leaving dangling references and causing a crash. This results in denial of service. Updating to versions 1.36.2, 1.35.6, 1.34.10, or 1.33.12 fixes the issue. Increasing per_connection_buffer_limit_bytes (and for HTTP/2 the initial_stream_window_size) or increasing per_request_buffer_limit_bytes / request_body_buffer_limit can reduce the likelihood of triggering the condition but does not correct the underlying memory safety flaw.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

Envoy versions before 1.36.2, 1.35.6, 1.34.10, and 1.33.12 have a use-after-free vulnerability in the Lua filter. When a Lua script executing in the response phase rewrites a response body to exceed the per_connection_buffer_limit_bytes (default 1MB), Envoy generates a local reply with overriding headers that leave dangling references, causing a crash and denial of service.

MitigationUpgrade Envoy to version 1.36.2, 1.35.6, 1.34.10, or 1.33.12 to patch the memory safety flaw. Alternatively, increasing buffer limits (per_connection_buffer_limit_bytes, per_request_buffer_limit_bytes) can reduce trigger likelihood but does not fix the underlying vulnerability.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
EnvoyApplication
Affected:< 1.33.12>= 1.34.0, < 1.34.10>= 1.35.0, < 1.35.6>= 1.36.0, < 1.36.2

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Check Envoy version
    Run 'envoy --version' or look for version in Envoy's admin /server_info endpoint. Compare the version number to the affected ranges: < 1.33.12, 1.34.0-1.34.9, 1.35.0-1.35.5, or 1.36.0-1.36.1.
    Affected if The installed version falls within any of the vulnerable version ranges.
  2. Identify Lua filter usage in configuration
    Review Envoy's configuration (static or dynamic) and search for any 'lua' filter entries in the filter chain. Look for 'lua' in the 'filters' section of the listener or route configuration.
    Affected if A Lua filter is configured and loaded in the Envoy instance.
  3. Check for response phase Lua scripts
    Examine the Lua filter configuration for scripts that execute in the 'response' phase (or 'http_response' phase in newer Envoy versions). Look for 'route_config' or 'inline_code' blocks that include response handling logic.
    Affected if Lua scripts are configured to execute in the response phase.
  4. Inspect buffer limit configuration
    Check Envoy configuration for 'per_connection_buffer_limit_bytes' setting at the listener level, or 'per_request_buffer_limit_bytes' at the upstream connection level. If not explicitly set, the default is 1048576 bytes (1MB).
    Affected if The configured buffer limit is low enough that a modified response body could exceed it, or the default 1MB limit is in effect.

An affected Envoy version combined with a Lua filter running scripts in the response phase creates the condition where a large body rewrite can trigger the use-after-free.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Upgrade available Upgrade to 1.33.12 / 1.34.10 / 1.35.6 or later
Fixed in 1.33.121.34.101.35.6
Interim mitigation

Upgrade Envoy to version 1.36.2, 1.35.6, 1.34.10, or 1.33.12 to patch the memory safety flaw. Alternatively, increasing buffer limits (per_connection_buffer_limit_bytes, per_request_buffer_limit_bytes) can reduce trigger likelihood but does not fix the underlying vulnerability.

Recommended fix High confidence

Upgrade to Envoy 1.33.12, 1.34.10, 1.35.6, or 1.36.2 (depending on your current version branch)

  1. 1. Identify the current Envoy version currently deployed (e.g., envoy --version)
  2. 2. Determine which version branch you are currently on (1.33.x, 1.34.x, 1.35.x, or 1.36.x)
  3. 3. Plan an upgrade to the corresponding fixed release: upgrade to 1.33.12 if on 1.33.x, 1.34.10 if on 1.34.x, 1.35.6 if on 1.35.x, or 1.36.2 if on 1.36.x
  4. 4. Review the Envoy release notes for the target version to check for any breaking changes or behavioral changes relevant to your deployment
  5. 5. Test the upgrade in a staging or non-production environment to verify compatibility with your Lua scripts and configuration
  6. 6. Deploy the upgraded version to production
Caveat Review release notes for potential breaking changes between your current version and the target fixed version, particularly around Lua filter behavior and HTTP buffer limits

Generated from the published advisory — verify against the referenced sources before acting.

Fix this in Envoy Scoped from the published advisory
  • Consultation3.0 h
  • Implementation4.0 h
  • Testing6.0 h
  • Review / QA2.0 h
15.0 hours of engineering $2,580
Get the upgrade done

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $4,128.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2025-62504 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2025-62504 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data