Skip to content
OpenAdvisories

Package · crates.io

xcb

3 known vulnerabilities.

3 results · Feed

  • Low —

    Rust XCB `xcb::Connection::connect_to_fd*` functions violate I/O safety

    The API of `xcb::Connection` has constructors which allow an arbitrary `RawFd` to be used as a socket connection. On either failure of these constructors or on the drop of `Connection`, it closes the associated file descriptor. Thus, a program which uses an `…

  • Critical 9.8

    Out of bounds read in xcb

    An issue was discovered in the xcb crate through 2021-02-04 for Rust. It has a soundness violation because xcb::xproto::GetAtomNameReply::name() calls std::str::from_utf8_unchecked() on unvalidated bytes from an X server.

  • Medium 5.5

    Memory handling issues in xcb

    An issue was discovered in the xcb crate through 2020-12-10 for Rust. base::Error does not have soundness. Because of the public ptr field, a use-after-free or double-free can occur.