GHSA-2m8v-j782-fhvr

Suggest an improvement
Source
https://github.com/advisories/GHSA-2m8v-j782-fhvr
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/08/GHSA-2m8v-j782-fhvr/GHSA-2m8v-j782-fhvr.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-2m8v-j782-fhvr
Aliases
Downstream
CGA (9)
MINI (2)
Published
2026-08-03T19:09:44Z
Modified
2026-09-10T03:50:53Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
Socket.IO: Zero-attachment Memory Exhaustion
Details

Impact

A specially crafted Socket.IO packet can make the server wait for a large number of binary attachments and buffer them, which can be exploited to make the server run out of memory.

Patches

Version range Used by Fixed version
>=4.0.0 <4.2.7 socket.io@4.x and socket.io-client@4.x 4.2.7
>=3.4.0 <3.4.5 socket.io@2.x 3.4.5
<3.3.6 socket.io-client@2.x 3.3.6

Workarounds

There is no known workaround except upgrading to a safe version.

For more information

If you have any questions or comments about this advisory:

  • Open a discussion here
Database specific
{
    "cwe_ids":  [
        "CWE-20",
        "CWE-754"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-08-03T19:09:44Z",
    "nvd_published_at":  null,
    "severity":  "HIGH"
}
References

Affected packages

npm / socket.io-parser

Package

Name
socket.io-parser
View open source insights on deps.dev
Purl
pkg:npm/socket.io-parser

Affected ranges

Type
SEMVER
Events
Introduced
4.0.0
Fixed
4.2.7

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/08/GHSA-2m8v-j782-fhvr/GHSA-2m8v-j782-fhvr.json"

npm / socket.io-parser

Package

Name
socket.io-parser
View open source insights on deps.dev
Purl
pkg:npm/socket.io-parser

Affected ranges

Type
SEMVER
Events
Introduced
3.4.0
Fixed
3.4.5

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/08/GHSA-2m8v-j782-fhvr/GHSA-2m8v-j782-fhvr.json"

npm / socket.io-parser

Package

Name
socket.io-parser
View open source insights on deps.dev
Purl
pkg:npm/socket.io-parser

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
3.3.6

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/08/GHSA-2m8v-j782-fhvr/GHSA-2m8v-j782-fhvr.json"