# GHSA-2326-pfpj-vx3h: lexical-core has multiple soundness issues

- Severity: Low (rating, scored by GitHub)
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2023-09-03T12:00:00.000Z
- Modified: 2026-09-10T03:50:55.529Z
- Also known as: RUSTSEC-2023-0086
- Related: RUSTSEC-2023-0055

## Description

`RUSTSEC-2024-0377` contains multiple soundness issues:

 1. [Bytes::read() allows creating instances of types with invalid bit patterns](https://github.com/Alexhuszagh/rust-lexical/issues/102)
 1. [BytesIter::read() advances iterators out of bounds](https://github.com/Alexhuszagh/rust-lexical/issues/101)
 1. [The `BytesIter` trait has safety invariants but is public and not marked `unsafe`](https://github.com/Alexhuszagh/rust-lexical/issues/104)
 1. [`write_float()` calls `MaybeUninit::assume_init()` on uninitialized data, which is is not allowed by the Rust abstract machine](https://github.com/Alexhuszagh/rust-lexical/issues/95)
 1. [`radix()` calls `MaybeUninit::assume_init()` on uninitialized data, which is is not allowed by the Rust abstract machine](https://github.com/Alexhuszagh/rust-lexical/issues/126)

Version 1.0 fixes these issues, removes the vast majority of `unsafe` code, and also fixes some correctness issues.

(As written by GitHub Advisory Database.)

## Affected

- lexical-core (crates.io): before 1.0.0; from 0.0.0-0 before 1.0.0

## References

- <https://github.com/Alexhuszagh/rust-lexical/issues/101> (report, web)
- <https://github.com/Alexhuszagh/rust-lexical/issues/102> (report, web)
- <https://github.com/Alexhuszagh/rust-lexical/issues/104> (report, web)
- <https://github.com/Alexhuszagh/rust-lexical/issues/126> (report, web)
- <https://github.com/Alexhuszagh/rust-lexical/issues/95> (report, web)
- <https://github.com/Alexhuszagh/rust-lexical> (package)
- <https://github.com/advisories/GHSA-c2hm-mjxv-89r4> (advisory)
- <https://rustsec.org/advisories/RUSTSEC-2023-0055> (web)
- <https://rustsec.org/advisories/RUSTSEC-2023-0086.html> (advisory, web)
- <https://crates.io/crates/lexical-core> (package)

## Sources

- GitHub Advisory Database: [GHSA-2326-pfpj-vx3h](https://github.com/advisories/GHSA-2326-pfpj-vx3h), CC-BY-4.0, modified 2026-09-10
- RustSec Advisory Database: [RUSTSEC-2023-0086](https://rustsec.org/advisories/RUSTSEC-2023-0086.html), CC0-1.0, modified 2026-02-04

---

Page: https://cve.day/GHSA-2326-pfpj-vx3h · Whole record: https://cve.day/GHSA-2326-pfpj-vx3h.json · Rebuilt by cve.day 2026-11-25T22:56:43.169Z
