RUSTSEC-2026-0007: bytes: Integer overflow in `BytesMut::reserve`
rustsec.org·21h
🔒Borrow Checker
Preview
Report Post

Integer overflow in BytesMut::reserve

Reported February 3, 2026 Issued February 3, 2026 Package bytes (crates.io) Type Vulnerability Categories

Description

In the unique reclaim path of BytesMut::reserve, the condition

if v_capacity >= new_cap + offset

uses an unchecked addition. When `n…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help