Skip to content

← Actionable
Medium, CVSS 6.5

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

GHSA-mmwx-cp2j-wjh2

What to do

Vendor fix available. Upgrade each affected package to the fixed version on its release line (etherparse 0.21.1, 0.20.4, 0.19.1, 0.18.3, 0.17.1, 0.16.1, 0.15.1, 0.14.4), redeploy, then verify what is actually installed.

This page has no inventory attached, so it cannot say whether you are affected. A vendor fix is not proof that your deployment is fixed.

Affected packages

  • crates.io etherparse

    Affected
    >= 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.15.1, 0.17.1, 0.19.1, 0.14.4, 0.20.4, 0.21.1, 0.16.1, 0.18.3

Sources

Severity and exploitation
Exploitation
No confirmed exploitation recorded. Patch Next marks exploitation only from CISA KEV.
CVSS
6.5 · CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:H
EPSS
No dated EPSS signal available.
Source description

As published by the source; long descriptions are shortened.

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.

Dates and revisions
Published by the source
Last modified by the source
Source last checked
  1. Revision 1 · created ·

    Published from osv record RUSTSEC-2026-0596

Agent brief

Preview the exact text before you copy it. Commands are read-only suggestions; review them before running anything.

# Patch Next advisory brief: GHSA-mmwx-cp2j-wjh2

Advisory: Out-of-bounds read when iterating over IPv6 extension headers of laxly parsed packets
IDs: GHSA-mmwx-cp2j-wjh2
Record: https://patchnext.com/advisories/rustsec-2026-0596 (revision 1, source checked 25 Nov 2026, 07:10 UTC)
Inventory: none attached. This brief comes from a public page and does not say whether any deployment is affected.
Severity: Medium (CVSS 6.5)
Exploitation: no confirmed exploitation recorded. Patch Next confirms exploitation only from CISA KEV.
Vendor response: Vendor fix available; fixed versions by package: etherparse 0.21.1, 0.20.4, 0.19.1, 0.18.3, 0.17.1, 0.16.1, 0.15.1, 0.14.4. A vendor fix does not mean a deployment is fixed.

## Affected components
- crates.io etherparse: affected >= 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.15.1, 0.17.1, 0.19.1, 0.14.4, 0.20.4, 0.21.1, 0.16.1, 0.18.3

## Suggested inspection (read-only)
- crates.io etherparse: check the installed version with your package manager.

## Supported action
Upgrade each affected component to a fixed version on its release line. For a transitive dependency, upgrade the parent package or add an override or constraint, then regenerate the lockfile. Redeploy every environment that ran an affected version.

## Required regression checks
- Run the test suite and a production build.
- Exercise the features that depend on etherparse.
- Repeat the inspection and confirm that only fixed versions remain installed.

## Rollback considerations
- Keep the previous lockfile and deployment artifact. Rolling back reinstates the vulnerable version, so apply any documented mitigation while you fix forward.

## Unresolved questions
- Which deployments run an affected version?
- Exploitation status can change. Check again before lowering the priority.
- Mark the work resolved only after the fixed version is verified in production.

## Sources
- Verified: https://osv.dev/vulnerability/RUSTSEC-2026-0596 (OSV record RUSTSEC-2026-0596 lists affected ranges: crates.io etherparse >=0.14.0 =0.15.0-0 =0.16.0-0 =0.17.0-0 =0.18.0-0 =0.19.0-0 =0.20.0-0 =0.21.0-0 <0.21.1 (fixed))

Commands are suggestions: review each one before running it.

Loading voting…