{
  "id": "CVE-2025-62504",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-62504",
  "published_at": "2025-10-16T21:23:41.883Z",
  "title": "Envoy Lua filter use-after-free when oversized rewritten response body causes crash",
  "vendor": "envoyproxy",
  "product": "envoy",
  "cvss": {
    "score": 7.5,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "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.",
  "cwe": "CWE-416",
  "cpes": [
    "cpe:2.3:a:envoyproxy:envoy:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 6.5,
    "nvd": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "envoyproxy",
        "product": "envoy",
        "ranges": [
          "\u003e= 1.36.0, \u003c= 1.36.1",
          "\u003e= 1.350, \u003c= 1.35.5",
          "\u003e= 1.34.0, \u003c= 1.34.9",
          "\u003c= 1.33.11"
        ],
        "fixed_in": null
      }
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/envoyproxy/envoy/security/advisories/GHSA-gcxr-6vrp-wff3"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
