# GHSA-255r-3prx-mf99: `rmp-serde` `Raw` and `RawRef` may crash when receiving invalid UTF-8

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

## Description

It was found that `Raw::from_utf8` expects valid UTF-8. If invalid UTF-8 is received it can cause the process to crash.

(As written by GitHub Advisory Database.)

## Affected

- rmp-serde (crates.io): before 1.1.1; from 0.0.0-0 before 1.1.1

## References

- <https://github.com/3Hren/msgpack-rust/issues/305> (report, web)
- <https://github.com/3Hren/msgpack-rust> (package)
- <https://rustsec.org/advisories/RUSTSEC-2022-0092.html> (advisory, web)
- <https://crates.io/crates/rmp-serde> (package)

## Sources

- GitHub Advisory Database: [GHSA-255r-3prx-mf99](https://github.com/advisories/GHSA-255r-3prx-mf99), CC-BY-4.0, modified 2026-09-10
- RustSec Advisory Database: [RUSTSEC-2022-0092](https://rustsec.org/advisories/RUSTSEC-2022-0092.html), CC0-1.0, modified 2023-11-08

---

Page: https://cve.day/GHSA-255r-3prx-mf99 · Whole record: https://cve.day/GHSA-255r-3prx-mf99.json · Rebuilt by cve.day 2026-11-25T22:56:43.126Z
