Skip to main content
VulnerabilityPublished

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

Affects etherparseSource GCVE Database

0

CVSS 6.5 Medium · fixed in 0.21.1 : update etherparse when convenient.

Data as of 24 Nov 2026, 09:25 UTC

CVSS 3.1 base score
6.5Medium
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 0.21.1, 0.20.4, 0.19.1 +5
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:H

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
crates.ioetherparsepkg:cargo/etherparseOther threatsAffected
  • >=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

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A fix is available in etherparse versions 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. Users should upgrade to one of these fixed versions. As a workaround, avoid iterating over IPv6 extension headers if lax parsing reports an error.

Description

A vulnerability in the etherparse Rust crate allows out-of-bounds reads when iterating over IPv6 extension headers of packets parsed with lax parsing functions. This occurs because lax parsing stops at the first invalid or truncated extension header but the iterator does not check the remaining length, potentially leading to crashes or memory exposure. The issue affects multiple versions prior to fixed releases. Users who do not iterate over IPv6 extension headers after lax parsing errors are not affected.

References

Community reviews

Loading reviews…