Skip to main content
VulnerabilityPublished Updated

CVE-2024-2653: amphp/http-client · Excessive Memory Allocation

Affects amphp/http-clientSource CVE Database V5

0

Not known to be exploited · 83% EPSS · CVSS 8.2 High.

Data as of 26 Oct 2026, 10:12 UTC

CVSS 3.1 base score
8.2High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
83.3% chance of exploitation in 30 days – higher than 99% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 3 Apr 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Affected software

ProductAffectedFixed in
GitHubamphp/http-clientpkg:github/amphp/http-clientOther threatsAffected
  • =4.0.0-rc10
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

  1. Monitor vendor channels closely for official patches or updates addressing CVE-2024-2653 and apply them promptly once available.
  2. In the interim, implement strict HTTP/2 frame size limits at the network perimeter or via reverse proxies to prevent excessive CONTINUATION frame sequences from reaching vulnerable clients.
  3. Employ runtime memory usage monitoring and alerting on services using amphp/http-client to detect abnormal memory consumption patterns indicative of exploitation attempts.
  4. Consider deploying Web Application Firewalls (WAFs) or HTTP/2-aware intrusion prevention systems that can detect and block malformed or suspicious HTTP/2 frames.
  5. Review and restrict exposure of services using the vulnerable library to untrusted networks where possible, reducing the attack surface.
  6. Conduct code audits and testing for similar unbounded buffer issues in other components to prevent analogous vulnerabilities.
  7. Educate development teams on secure handling of protocol frames and memory management best practices to avoid future CWE-789 issues.

Description

amphp/http will collect CONTINUATION frames in an unbounded buffer and will not check a limit until it has received the set END_HEADERS flag, resulting in an OOM crash.

References

Community reviews

Loading reviews…