{"id":"CVE-2024-2653","aliases":["CVE-2024-2653","GHSA-qjfw-cvjf-f4fm"],"related":[],"kind":"vulnerability","state":"published","title":"CVE-2024-2653","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"`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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"amphp/http recopilará cuadros de CONTINUACIÓN en un búfer ilimitado y no verificará un límite hasta que haya recibido el indicador END_HEADERS establecido, lo que provocará un bloqueo de OOM.","source":"nvd"}],"published":"2024-04-03T17:18:29.944Z","modified":"2026-07-08T06:52:52.534Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H","score":8.2,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H","score":8.2,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H","score":8.2,"rating":"HIGH"}],"cwes":["CWE-789"],"affected":[{"ranges":[{"type":"custom","introduced":"v4.0.0-rc10","lastAffected":"4.0.0","status":"affected"}],"vendor":"AMPHP","product":"amphp/http-client","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"2.0.0-beta.1","lastAffected":"2.1.0","status":"affected"}],"vendor":"AMPHP","product":"amphp/http","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"v1.6.0-rc1","lastAffected":"1.7.2","status":"affected"}],"vendor":"AMPHP","product":"amphp/http","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"v4.0.0-rc10","lastAffected":"4.0.0","status":"affected"}],"vendor":"amphp","product":"http-client","cpe":"cpe:2.3:a:amphp:http-client:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"2.0.0-beta1","lastAffected":"2.1.0","status":"affected"}],"vendor":"amphp","product":"http","cpe":"cpe:2.3:a:amphp:http:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"v1.6.0-rc1","lastAffected":"1.7.2","status":"affected"}],"vendor":"amphp","product":"http","cpe":"cpe:2.3:a:amphp:http:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"2.0.0","status":"affected","fixed":"2.1.1"}],"ecosystem":"Packagist","package":"amphp/http","purl":"pkg:composer/amphp/http","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.7.3"}],"ecosystem":"Packagist","package":"amphp/http","purl":"pkg:composer/amphp/http","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"4.0.0-rc10","status":"affected","lastAffected":"4.0.0"}],"ecosystem":"Packagist","package":"amphp/http-client","purl":"pkg:composer/amphp/http-client","source":"ghsa"}],"references":[{"url":"https://github.com/amphp/http/security/advisories/GHSA-qjfw-cvjf-f4fm","tags":["web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/amphp/http-client/security/advisories/GHSA-w8gf-g2vq-j2f4","tags":["web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"http://www.openwall.com/lists/oss-security/2024/04/03/16","tags":["web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.kb.cert.org/vuls/id/421644","tags":["web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-2653","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/amphp/http/commit/3a33e68a3b53f7279217238e89748cf0cb30b8a6","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/amphp/http/commit/881cc33da236fbcd0cb0cf6c2bfc7efcf80ede76","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/amphp/http-client/CVE-2024-2653.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/amphp/http/CVE-2024-2653.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/amphp/http","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"certcc","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2024-09-06T16:35:51.687Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-2653","url":"https://www.cve.org/CVERecord?id=CVE-2024-2653","licence":"CVE Terms of Use","modified":"2025-11-04T18:29:43.933Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-qjfw-cvjf-f4fm","url":"https://github.com/advisories/GHSA-qjfw-cvjf-f4fm","licence":"CC-BY-4.0","modified":"2026-07-08T06:52:52.534Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-2653","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-2653","licence":"Public domain","modified":"2026-06-17T07:24:58.423Z"}],"updatedAt":"2026-11-25T22:58:38.711Z","epss":{"score":0.80129,"percentile":0.9962,"date":"2026-12-01T12:00:22.000Z"}}