RUSTSEC-2026-0596

Source
https://rustsec.org/advisories/RUSTSEC-2026-0596
Import Source
https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2026-0596.json
JSON Data
https://api.osv.dev/v1/vulns/RUSTSEC-2026-0596
Aliases
  • GHSA-mmwx-cp2j-wjh2
Published
2026-11-23T12:00:00Z
Modified
2026-11-24T08:45:02Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:H CVSS Calculator
Summary
Out-of-bounds read when iterating over IPv6 extension headers of laxly parsed packets
Details

Iterating over malformed or truncated IPv6 extension headers can cause out-of-bounds reads when the packet was parsed using one of the lax parsing functions (e.g. via Ipv6ExtensionsSlice::from_slice_lax or LaxSlicedPacket).

Lax parsing stops at the first invalid or truncated extension header and returns the headers parsed up to that point. The "next header" field of the last returned header can then refer to a header that is not part of the slice. Ipv6ExtensionSliceIter followed it without checking the remaining length.

A crafted or truncated IPv6 packet can cause a crash or expose memory located behind the packet to the application. Users who do not iterate over the IPv6 extension headers of laxly parsed packets are not affected.

As a workaround, do not iterate over the IPv6 extension headers if lax parsing reported an error.

Database specific
{
    "license":  "CC0-1.0"
}
References

Affected packages

crates.io / etherparse

Package

Name
etherparse
View open source insights on deps.dev
Purl
pkg:cargo/etherparse

Affected ranges

Type
SEMVER
Events
Introduced
0.14.0
Fixed
0.14.4
Introduced
0.15.0-0
Fixed
0.15.1
Introduced
0.16.0-0
Fixed
0.16.1
Introduced
0.17.0-0
Fixed
0.17.1
Introduced
0.18.0-0
Fixed
0.18.3
Introduced
0.19.0-0
Fixed
0.19.1
Introduced
0.20.0-0
Fixed
0.20.4
Introduced
0.21.0-0
Fixed
0.21.1

Ecosystem specific

{
    "affected_functions":  null,
    "affects":  {
        "arch":  [],
        "functions":  [],
        "os":  []
    }
}

Database specific

categories
[
    "memory-exposure",
    "denial-of-service"
]
cvss
"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:H"
informational
null
source
"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2026-0596.json"