# GHSA-jcr6-4frq-9gjj: Users vulnerable to unaligned read of `*const *const c_char` pointer

- Severity: Medium (rating, scored by GitHub)
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2023-09-10T12:00:00.000Z
- Modified: 2026-09-10T03:49:58.262Z
- Also known as: RUSTSEC-2023-0059

## Description

Affected versions dereference a potentially unaligned pointer. The pointer is commonly unaligned in practice, resulting in undefined behavior.

In some build modes, this is observable as a panic followed by abort. In other build modes the UB may manifest in some other way, including the possibility of working correctly in some architectures.

The crate is not currently maintained, so a patched version is not available.

## Recommended alternatives
- [`uzers`](https://crates.io/crates/uzers) (an actively maintained fork of the `users` crate)
- [`sysinfo`](https://crates.io/crates/sysinfo)

(As written by GitHub Advisory Database.)

## Affected

- users (crates.io): up to 0.11.0; from 0.0.0-0

## References

- <https://github.com/ogham/rust-users/issues/55> (report, web)
- <https://github.com/ogham/rust-users> (package)
- <https://rustsec.org/advisories/RUSTSEC-2023-0059.html> (advisory, web)
- <https://crates.io/crates/users> (package)

## Sources

- GitHub Advisory Database: [GHSA-jcr6-4frq-9gjj](https://github.com/advisories/GHSA-jcr6-4frq-9gjj), CC-BY-4.0, modified 2026-09-10
- RustSec Advisory Database: [RUSTSEC-2023-0059](https://rustsec.org/advisories/RUSTSEC-2023-0059.html), CC0-1.0, modified 2024-02-10

---

Page: https://cve.day/GHSA-jcr6-4frq-9gjj · Whole record: https://cve.day/GHSA-jcr6-4frq-9gjj.json · Rebuilt by cve.day 2026-11-25T22:56:43.155Z
