Skip to main content

Red Hat CVE-2026-33151

HIGH
Improper Check for Unusual or Exceptional Conditions (CWE-754)
2026-03-18 https://github.com/socketio/socket.io GHSA-677m-j7p3-52f9
8.7
CVSS 4.0 · GitHub Advisory
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft Socket.IO packet with binary attachments
  2. Exploit
    Send to vulnerable server
  3. Execution
    Server buffers attachment references
  4. Impact
    Memory exhaustion triggers denial of service

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Unusual condition handling
Exploitation Conditions

Remote unauthenticated attacker can send specially crafted Socket.IO packets with binary attachments to servers running socket.io versions 4.0.0-4.2.5 or 3.4.0-3.4.3. No victim interaction required. Default Socket.IO configurations are vulnerable.

Impact

While no CVSS score or EPSS probability is provided, the real-world risk is moderate to high for internet-facing Socket.IO deployments. The vulnerability enables unauthenticated denial of service attacks against the application layer, which can be more impactful than network-layer attacks as they bypass typical DDoS protections. The absence of a CVE entry in CISA KEV suggests no widespread active exploitation has been observed. However, the availability of public patches with specific commit hashes (719f9ebab0772ffb882bd614b387e585c1aa75d4, 9d39f1f080510f036782f2177fac701cc041faaf, b25738c416c4e32fbff62ee182afa8f6d0dacf78) means attackers can reverse-engineer the vulnerability. The attack likely requires low complexity since crafting malicious Socket.IO packets is straightforward for anyone familiar with the protocol. Organizations running public-facing real-time applications (chat, collaboration tools, gaming platforms) using Socket.IO should prioritize patching.

Exploit ScenarioDerived

An attacker establishes a Socket.IO connection to a vulnerable server and sends a specially crafted packet declaring an extremely large number of binary attachments (e.g., 1 million attachments). The server allocates memory buffers for each declared attachment and waits for them to arrive, but the attacker never sends the actual attachment data or sends them very slowly. By opening multiple connections and repeating this attack, the attacker exhausts the server's available memory, causing the application to crash or become unresponsive, denying service to legitimate users. The attack requires no authentication and minimal technical sophistication since Socket.IO client libraries can be easily modified to craft malicious packets.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Mar 18, 2026

A specially crafted Socket.IO packet can cause the server to allocate unbounded memory by waiting for and buffering a large number of binary attachments, leading to denial of service through memory exhaustion. The vulnerability affects socket.io-parser versions across multiple major releases (v2.x, v3.x, and v4.x) used by Socket.IO server and client implementations. No EPSS score or KEV listing is available, but patches have been released by the vendor.

RemediationAI

Upgrade socket.io-parser to a patched version immediately: version 4.2.6 or later for the 4.x series, version 3.4.4 or later for the 3.4.x series, or version 3.3.5 or later for older 3.x implementations. The vendor explicitly states there is no known workaround except upgrading to a safe version. Review the vendor security advisory at https://github.com/socketio/socket.io/security/advisories/GHSA-677m-j7p3-52f9 for complete upgrade guidance. Examine the patch commits at https://github.com/socketio/socket.io/commit/719f9ebab0772ffb882bd614b387e585c1aa75d4, https://github.com/socketio/socket.io/commit/9d39f1f080510f036782f2177fac701cc041faaf, and https://github.com/socketio/socket.io/commit/b25738c416c4e32fbff62ee182afa8f6d0dacf78 to understand the fix implementation. Organizations unable to patch immediately should consider implementing network-level rate limiting and connection throttling as temporary mitigations, though these are not substitutes for patching.

Affected Packages

npm socket.io-parser fix: 3.3.5, 3.4.4, 4.2.6

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in npm

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Socket.IO is a real-time bidirectional event-based communication library for JavaScript that works on top of WebSocket and HTTP long-polling. The vulnerability resides in socket.io-parser (CPE: pkg:npm/socket.io-parser), the component responsible for encoding and decoding Socket.IO packets. This is classified as CWE-754 (Improper Check for Unusual or Exceptional Conditions), meaning the parser fails to properly validate or limit the number of binary attachments declared in a packet. When a malicious packet claims to have an excessive number of attachments, the server allocates buffers and waits for all attachments to arrive, causing unbounded memory consumption without proper resource limits or validation.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

GitHub Advisory PRIMARY 8.7 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Red Hat 5.3 MEDIUM

Primary rating from GitHub Advisory.

CVSS VectorGitHub Advisory

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

3
CVSS changed
Apr 14, 2026 - 18:37 NVD
8.7 (HIGH)
Patch released
Mar 18, 2026 - 17:30 nvd
Patch available
CVE Published
Mar 18, 2026 - 17:26 nvd
HIGH

DescriptionGitHub Advisory

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 rangeUsed byFixed version
>=4.0.0 <4.2.6socket.io@4.x and socket.io-client@4.x4.2.6
>=3.4.0 <3.4.4socket.io@2.x3.4.4
<3.3.5socket.io-client@2.x3.3.5

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

Executive ViewAI

Why It Matters

A vulnerability in Socket.IO packet handling allows attackers to exhaust server memory and cause service outages by flooding applications with specially crafted binary attachments. Any organization running Socket.IO-dependent services (chat platforms, real-time collaboration tools, gaming backends) faces potential downtime and operational disruption until patched.

Business Impact: High
Compensating Controls

Apply vendor patch. Interim mitigations if patching is delayed: implement rate limiting on Socket.IO connections, configure maximum message size and attachment count limits in Socket.IO server configuration, deploy WAF rules to monitor for abnormally large binary payloads, and restrict Socket.IO access to trusted networks using network segmentation.

Threat Intelligence Overview

EPSS Score
0.1%
Top 75% exploitable
Data Quality
5 sources
Confidence: Medium
NVD CVE.org EPSS Vendor GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Affected Products (CPE)GitHub Advisory

pkg:npm/socket.io-parser
pkg:npm/socket.io-parser
pkg:npm/socket.io-parser

Related Vulnerabilities in Socket.IO Memory and Input Validation

View all 2

Vendor StatusVendor

SUSE

Severity: High
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise High Performance Computing 15 SP7 Fixed
SUSE Linux Enterprise Module for Python 3 15 SP7 Fixed
SUSE Linux Enterprise Server 15 SP7 Fixed
SUSE Linux Enterprise Server for SAP Applications 15 SP7 Fixed

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy