{"id":"CVE-2026-48804","aliases":["CVE-2026-48804","GHSA-5w7q-77mv-v69f","PYSEC-2026-3042"],"related":[],"kind":"vulnerability","state":"published","title":"python-socketio: Binary attachment accumulation can cause denial of service","summary":"python-socketio is a Python implementation of the Socket.IO realtime client and server. The python-socketio server stores binary `EVENT` and `ACK` messages in memory while it waits to receive their binary attachments. Once all the attachments are received, these messages are then processed. Prior to version 5.16.4, an attacker can submit a binary message and intentionally omit sending one or more of its attachments to cause the message along with the partial list of received attachments to stay in memory for a long time. Version 5.16.4 takes the following measures to address this issue: Binary packets are only accepted from authenticated clients and, when a client disconnects, the server checks if there is a partial binary message being held for the client and deletes it.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"python-socketio is a Python implementation of the Socket.IO realtime client and server. The python-socketio server stores binary `EVENT` and `ACK` messages in memory while it waits to receive their binary attachments. Once all the attachments are received, these messages are then processed. Prior to version 5.16.4, an attacker can submit a binary message and intentionally omit sending one or more of its attachments to cause the message along with the partial list of received attachments to stay in memory for a long time. Version 5.16.4 takes the following measures to address this issue: Binary packets are only accepted from authenticated clients and, when a client disconnects, the server checks if there is a partial binary message being held for the client and deletes it.","source":"cvelist"},{"lang":"en","text":"### Impact\nThe python-socketio server stores binary `EVENT` and `ACK` messages in memory while it waits to receive their binary attachments. Once all the attachments are received, these messages are then processed. An attacker can submit a binary message and intentionally omit sending one or more of its attachments to cause the message along with the partial list of received attachments to stay in memory for a long time.\n\n### Patches\nVersion 5.16.2 takes the following measures to address this issue:\n- Binary packets are only accepted from authenticated clients.\n- When a client disconnects, the server checks if there is a partial binary message being held for the client and deletes it.","format":"markdown","source":"ghsa"}],"published":"2026-06-26T20:51:58.000Z","modified":"2026-09-10T20:30:11.423Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"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:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-770"],"affected":[{"ranges":[{"version":"< 5.16.4","status":"affected"}],"vendor":"miguelgrinberg","product":"python-socketio","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"5.16.2"}],"ecosystem":"PyPI","package":"python-socketio","purl":"pkg:pypi/python-socketio","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"5.16.2"}],"ecosystem":"PyPI","package":"python-socketio","purl":"pkg:pypi/python-socketio","source":"pysec"}],"references":[{"url":"https://github.com/miguelgrinberg/python-socketio/security/advisories/GHSA-5w7q-77mv-v69f","tags":["web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/miguelgrinberg/python-socketio/commit/4bec3ef87bcfd6ab5b94cd3ac09d873283a6960e","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/miguelgrinberg/python-socketio","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/python-socketio","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-5w7q-77mv-v69f","tags":["advisory"],"sources":["pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-48804","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-08-13T14:39:03.879Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-48804","url":"https://www.cve.org/CVERecord?id=CVE-2026-48804","licence":"CVE Terms of Use","modified":"2026-08-13T14:39:14.373Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-5w7q-77mv-v69f","url":"https://github.com/advisories/GHSA-5w7q-77mv-v69f","licence":"CC-BY-4.0","modified":"2026-07-13T16:43:50.745Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-48804","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-48804","licence":"Public domain","modified":"2026-09-10T20:30:11.423Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-3042","url":"https://osv.dev/vulnerability/PYSEC-2026-3042","licence":"CC-BY-4.0","modified":"2026-07-13T16:33:29.305Z"}],"updatedAt":"2026-11-25T22:59:32.506Z","epss":{"score":0.00279,"percentile":0.21812,"date":"2026-12-01T12:00:22.000Z"}}