Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions crates/aeron/RUSTSEC-0000-0000.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
```toml
[advisory]
id = "RUSTSEC-0000-0000"
package = "aeron"
date = "2026-05-02"
url = "https://github.com/UnitedTraders/aeron-rs/issues/31"
informational = "unsound"
categories = ["memory-corruption"]
keywords = ["out-of-bounds", "segfault"]

[versions]
patched = []
```

# Out-of-bounds memory access in `MemoryMappedFile::atomic_buffer()`

`MemoryMappedFile::atomic_buffer()` performs unchecked pointer arithmetic
without validating that the offset + length fits within the mapped file size.
Passing an offset far beyond the file size causes a segmentation fault on
subsequent buffer operations.

This can be triggered through safe public APIs — `atomic_buffer()` is a safe
method — with no `unsafe` required from the caller.