Security mailing lists by PureSourceCode

RUSTSEC-2026-0596

MEDIUM 6.5CVSS 3.1

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

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.

Published
23 Nov 2026
Last modified
24 Nov 2026
Also known as
GHSA-mmwx-cp2j-wjh2
Sources
OSVJSON

Scores

SourceScored byVersionScoreVector / decision
OSV RustSec CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV 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.1 0.14.4, 0.15.1, 0.16.1, 0.17.1, 0.18.3, 0.19.1, 0.20.4, 0.21.1

References

History

  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 23 Nov 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.