Operation on a Resource after Expiration or Release Affecting xcb package, versions <1.6.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RUST-XCB-12301718
  • published31 Aug 2025
  • disclosed22 Aug 2025
  • creditUnknown

Introduced: 22 Aug 2025

New CVE NOT AVAILABLE CWE-672  (opens in a new tab)

How to fix?

Upgrade xcb to version 1.6.0 or higher.

Overview

xcb is a Rust-XCB is a set of bindings and wrappers for XCB.

Affected versions of this package are vulnerable to Operation on a Resource after Expiration or Release via the Connection::connect_with_fd and Connection::connect_with_fd_and_extensions functions. An attacker can cause unintended closure of file descriptors by passing an arbitrary RawFd, which may lead to use-after-close scenarios or attempts to close an already-closed file descriptor.

CVSS Base Scores

version 4.0
version 3.1