{"id":"CVE-2024-2653","aliases":["EUVD-2024-1280","GHSA-qjfw-cvjf-f4fm"],"status":"published","title":"CVE-2024-2653","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.","severity":{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H","level":"high","assessor":"adp","from":"cve"},"epss":{"day":"2026-11-09","score":0.80264,"percentile":0.99622,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"published":"2024-04-03T17:18:29Z","modified":"2026-10-28T02:30:28Z","fixes":[{"ecosystem":"Packagist","package":"amphp/http","fixed_in":["2.1.1","1.7.3"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Packagist","package":"amphp/http","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"last_affected":"2.1.0"},{"fixed":"2.1.1"}]}]},{"source":"ghsa","ecosystem":"Packagist","package":"amphp/http","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"1.7.2"},{"fixed":"1.7.3"}]}]},{"source":"ghsa","ecosystem":"Packagist","package":"amphp/http-client","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.0.0-rc10"},{"last_affected":"4.0.0"}]}]},{"source":"osv","ecosystem":"Packagist","package":"amphp/http","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"2.1.1"}]}],"versions":["v2.0.0","v2.1.0"]},{"source":"osv","ecosystem":"Packagist","package":"amphp/http","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.7.3"}]}],"versions":["v1.0.0","v1.0.1","v1.1.0","v1.2.0","v1.3.0","v1.4.0","v1.5.0","v1.6.0","v1.6.0-rc1","v1.6.1","v1.6.2","v1.6.3","v1.7.0","v1.7.1","v1.7.2"]},{"source":"osv","ecosystem":"Packagist","package":"amphp/http-client","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.0.0-rc10"},{"last_affected":"4.0.0"}]}],"versions":["v4.0.0","v4.0.0-rc10","v4.0.0-rc11"]}],"products":[{"vendor":"amphp","product":"amphp/http"},{"vendor":"amphp","product":"amphp/http-client"},{"vendor":"amphp","product":"http"},{"vendor":"amphp","product":"http-client"}],"references":[{"url":"https://github.com/amphp/http/security/advisories/GHSA-qjfw-cvjf-f4fm","tags":["x_transferred","advisory","web"]},{"url":"https://github.com/amphp/http-client/security/advisories/GHSA-w8gf-g2vq-j2f4","tags":["x_transferred","advisory","web"]},{"url":"http://www.openwall.com/lists/oss-security/2024/04/03/16","tags":["x_transferred","web"]},{"url":"https://www.kb.cert.org/vuls/id/421644","tags":["web"]},{"url":"https://github.com/amphp/http/commit/3a33e68a3b53f7279217238e89748cf0cb30b8a6","tags":["web"]},{"url":"https://github.com/amphp/http/commit/881cc33da236fbcd0cb0cf6c2bfc7efcf80ede76","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-2653","tags":["advisory"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/amphp/http-client/CVE-2024-2653.yaml","tags":["web"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/amphp/http/CVE-2024-2653.yaml","tags":["web"]},{"url":"https://github.com/advisories/GHSA-qjfw-cvjf-f4fm"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/2xxx/CVE-2024-2653.json","tags":["advisory"]},{"url":"https://github.com/amphp/http","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2024-2653","title":"CVE-2024-2653","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.","status":"published","published":"2024-04-03T17:18:29.944Z","modified":"2025-11-04T18:29:43.933Z","cvss":[{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H","level":"high","assessor":"adp"}],"updated_at":"2026-11-02T14:34:09.897248Z"}],"euvd":[{"id":"EUVD-2024-1280","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.","status":"published","published":"2024-04-03T17:18:29Z","modified":"2025-11-04T18:29:43Z","cvss":[{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H","level":"high"}],"updated_at":"2026-11-02T19:49:23.723839Z"}],"ghsa":[{"id":"GHSA-qjfw-cvjf-f4fm","title":"AMPHP Denial of Service via HTTP/2 CONTINUATION Frames","description":"`amphp/http` 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. `amphp/http-client` and `amphp/http-server` are indirectly affected if they're used with an unpatched version of `amphp/http`. Early versions of `amphp/http-client` with HTTP/2 support (v4.0.0-rc10 to 4.0.0) are also directly affected.\n\n## Acknowledgements\n\nThank you to [Bartek Nowotarski](https://nowotarski.info/) for reporting the vulnerability.","status":"published","published":"2024-04-03T18:06:45Z","modified":"2024-05-02T18:58:16Z","cvss":[{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H","level":"high"}],"updated_at":"2026-11-02T14:37:48.08826Z"}],"nvd":[{"id":"CVE-2024-2653","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.","status":"published","published":"2024-04-03T18:15:07.317Z","modified":"2026-06-17T07:24:58.423Z","cvss":[{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H","level":"high","assessor":"secondary"}],"updated_at":"2026-11-02T14:09:46.373977Z"}],"osv":[{"id":"CVE-2024-2653","title":"CVE-2024-2653","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.","status":"published","published":"2024-04-03T17:18:29.944Z","modified":"2026-10-28T02:30:28.105947209Z","cvss":[{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:39.244433Z"},{"id":"GHSA-qjfw-cvjf-f4fm","title":"AMPHP Denial of Service via HTTP/2 CONTINUATION Frames","description":"`amphp/http` 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. `amphp/http-client` and `amphp/http-server` are indirectly affected if they're used with an unpatched version of `amphp/http`. Early versions of `amphp/http-client` with HTTP/2 support (v4.0.0-rc10 to 4.0.0) are also directly affected.\n\n## Acknowledgements\n\nThank you to [Bartek Nowotarski](https://nowotarski.info/) for reporting the vulnerability.","status":"published","published":"2024-04-03T18:06:45Z","modified":"2026-07-08T06:52:52.534242712Z","cvss":[{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H","level":"high"}],"updated_at":"2026-11-02T15:46:54.760124Z"}]}}
