# GHSA-w8gf-g2vq-j2f4: amphp/http-client Denial of Service via HTTP/2 CONTINUATION Frames

- Severity: High 8.2 (CVSS:3.1, scored by GitHub) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2024-04-03T18:49:42.000Z
- Modified: 2026-07-08T06:52:51.943Z
- Related: CVE-2024-2653
- Weaknesses: CWE-770, CWE-789

## Description

Early versions of `amphp/http-client` with HTTP/2 support (v4.0.0-rc10 to 4.0.0) will collect HTTP/2 `CONTINUATION` frames in an unbounded buffer and will not check the header size limit until it has received the `END_HEADERS` flag, resulting in an OOM crash. Later versions of `amphp/http-client` (v4.1.0-rc1 and up) depend on `amphp/http` for HTTP/2 processing and will therefore need an updated version of `amphp/http`, see [GHSA-qjfw-cvjf-f4fm](https://github.com/amphp/http/security/advisories/GHSA-qjfw-cvjf-f4fm).

## Acknowledgements

Thank you to [Bartek Nowotarski](https://nowotarski.info/) for reporting the vulnerability.

(As written by GitHub Advisory Database.)

## Affected

- amphp/http-client (Packagist): from 4.0.0-rc10 before 4.1.0-rc1

## References

- <https://github.com/amphp/http-client/security/advisories/GHSA-w8gf-g2vq-j2f4> (web)
- <https://github.com/amphp/http/security/advisories/GHSA-qjfw-cvjf-f4fm> (web)
- <https://github.com/amphp/http-client> (package)

## Sources

- GitHub Advisory Database: [GHSA-w8gf-g2vq-j2f4](https://github.com/advisories/GHSA-w8gf-g2vq-j2f4), CC-BY-4.0, modified 2026-07-08

---

Page: https://cve.day/GHSA-w8gf-g2vq-j2f4 · Whole record: https://cve.day/GHSA-w8gf-g2vq-j2f4.json · Rebuilt by cve.day 2026-11-25T22:56:33.216Z
