MEDIUM · CVSS 3.1 6.5

GHSA-mmwx-cp2j-wjh2: Out-of-bounds read when iterating over IPv6 extension headers of laxly parsed packets

Published 2026-11-23 · Updated 2026-11-24 · Also known as RUSTSEC-2026-0596

Summary

etherparse has an out-of-bounds read when iterating IPv6 extension headers of laxly parsed packets. Teams using affected etherparse versions and lax parsing should act.

Who is affected

Deployments using etherparse in the listed affected ranges are affected only if they parse packets with lax parsing and then iterate over the returned IPv6 extension headers. 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 IPv6 extension headers of laxly parsed packets are not affected.

Exploitability

CVSS 3.1 scores this as 6.5 with AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:H, indicating a network-reachable issue with high complexity and potential confidentiality and availability impact. EPSS is not yet available. CISA KEV is no, so active exploitation is not documented by the provided data.

Remediation

How to check your project

Automated analysis of the published advisory data, generated 2026-11-24. Not human-reviewed; verify against the official advisory. How this works.

Affected packages

EcosystemPackageAffected versionsFixed inUpgrade
crates.io etherparse >= 0.14.0, < 0.14.4 0.14.4 cargo update -p etherparse --precise 0.14.4
crates.io etherparse >= 0.15.0-0, < 0.15.1 0.15.1 cargo update -p etherparse --precise 0.15.1
crates.io etherparse >= 0.16.0-0, < 0.16.1 0.16.1 cargo update -p etherparse --precise 0.16.1
crates.io etherparse >= 0.17.0-0, < 0.17.1 0.17.1 cargo update -p etherparse --precise 0.17.1
crates.io etherparse >= 0.18.0-0, < 0.18.3 0.18.3 cargo update -p etherparse --precise 0.18.3
crates.io etherparse >= 0.19.0-0, < 0.19.1 0.19.1 cargo update -p etherparse --precise 0.19.1
crates.io etherparse >= 0.20.0-0, < 0.20.4 0.20.4 cargo update -p etherparse --precise 0.20.4
crates.io etherparse >= 0.21.0-0, < 0.21.1 0.21.1 cargo update -p etherparse --precise 0.21.1

CVSS 3.1 vector

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:H

Attack vectorNetwork
Attack complexityHigh
Privileges requiredNone
User interactionNone
ScopeUnchanged
ConfidentialityLow
IntegrityNone
AvailabilityHigh

FAQ

Which versions fix the issue?

The documented fixed versions are 0.14.4, 0.15.1, 0.16.1, 0.17.1, 0.18.3, 0.19.1, 0.20.4, and 0.21.1.

Does this affect all etherparse users?

No. The record states that users who do not iterate over the IPv6 extension headers of laxly parsed packets are not affected.

Is this vulnerability known to be actively exploited?

CISA KEV is listed as no, and EPSS is not yet available; the provided data does not document active exploitation.

Original advisory description
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.

References

Source records: RUSTSEC-2026-0596 (OSV.dev).