Skip to content
FlawDB
Sign in

GHSA-mmwx-cp2j-wjh2

UNSCORED

Out-of-bounds read when iterating over IPv6 extension headers of laxly parsed packets

Also known as RUSTSEC-2026-0596

Mitigation

  • Upgrade etherparse to one of 0.14.4, 0.15.1, 0.16.1, 0.17.1, 0.18.3, 0.19.1, 0.20.4, 0.21.1 (or later in the same release line).

Who should check

  • Projects that depend on crates.io package etherparse (>= 0.14.0, < 0.14.4; >= 0.15.0-0, < 0.15.1; >= 0.16.0-0, < 0.16.1; >= 0.17.0-0, < 0.17.1; >= 0.18.0-0, < 0.18.3; >= 0.19.0-0, < 0.19.1; >= 0.20.0-0, < 0.20.4; >= 0.21.0-0, < 0.21.1)

Vulnerability facts

Affected
etherparse >= 0.14.0, < 0.14.4; >= 0.15.0-0, < 0.15.1; >= 0.16.0-0, < 0.16.1; >= 0.17.0-0, < 0.17.1; >= 0.18.0-0, < 0.18.3; >= 0.19.0-0, < 0.19.1; >= 0.20.0-0, < 0.20.4; >= 0.21.0-0, < 0.21.1
Fixed in
0.14.4, 0.15.1, 0.16.1, 0.17.1, 0.18.3, 0.19.1, 0.20.4, 0.21.1
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Unknown
CVSS
Not scored yet
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
crates.io etherparse>= 0.14.0, < 0.14.4; >= 0.15.0-0, < 0.15.1; >= 0.16.0-0, < 0.16.1; >= 0.17.0-0, < 0.17.1; >= 0.18.0-0, < 0.18.3; >= 0.19.0-0, < 0.19.1; >= 0.20.0-0, < 0.20.4; >= 0.21.0-0, < 0.21.10.14.4, 0.15.1, 0.16.1, 0.17.1, 0.18.3, 0.19.1, 0.20.4, 0.21.1osv

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by GHSA-mmwx-cp2j-wjh2. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/GHSA-mmwx-cp2j-wjh2.md
Affected: etherparse >= 0.14.0, < 0.14.4; >= 0.15.0-0, < 0.15.1; >= 0.16.0-0, < 0.16.1; >= 0.17.0-0, < 0.17.1; >= 0.18.0-0, < 0.18.3; >= 0.19.0-0, < 0.19.1; >= 0.20.0-0, < 0.20.4; >= 0.21.0-0, < 0.21.1
Fixed in: 0.14.4, 0.15.1, 0.16.1, 0.17.1, 0.18.3, 0.19.1, 0.20.4, 0.21.1

Steps:
1. Search this machine and project for etherparse (crates.io): dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

Technologies

References

FAQ

Is GHSA-mmwx-cp2j-wjh2 being exploited?

There is no confirmed exploitation: GHSA-mmwx-cp2j-wjh2 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.

How serious is GHSA-mmwx-cp2j-wjh2?

It has no CVSS score yet. Unknown.

Which versions are affected by GHSA-mmwx-cp2j-wjh2?

etherparse >= 0.14.0, < 0.14.4; >= 0.15.0-0, < 0.15.1; >= 0.16.0-0, < 0.16.1; >= 0.17.0-0, < 0.17.1; >= 0.18.0-0, < 0.18.3; >= 0.19.0-0, < 0.19.1; >= 0.20.0-0, < 0.20.4; >= 0.21.0-0, < 0.21.1.

Is there a fix for GHSA-mmwx-cp2j-wjh2?

Yes. Fixed in 0.14.4, 0.15.1, 0.16.1, 0.17.1, 0.18.3, 0.19.1, 0.20.4, 0.21.1. Upgrade etherparse to one of 0.14.4, 0.15.1, 0.16.1, 0.17.1, 0.18.3, 0.19.1, 0.20.4, 0.21.1 (or later in the same release line).

How do I check if I'm affected by GHSA-mmwx-cp2j-wjh2?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors