Description

A use after free in the illumos IPv4 ICMP error generation path allows a remote attacker to cause the kernel to read freed memory. The flaw is in icmp_pkt() in usr/src/uts/common/inet/ip/ip.c. It applies to ICMP errors generated in response to IPv4 packets that encapsulate IPv4 or IPv6 (IP protocol 4 or 41). For such a packet, icmp_pkt() computes a pointer to the inner IP header and then calls pullupmsg(). If the packet spans more than one message block, as it does after fragment reassembly, pullupmsg() copies the data into a new buffer and frees the original. The stale pointer is then used to parse the inner header. A remote, unauthenticated attacker can send a fragmented IP-in-IP packet that elicits an ICMP error to cause the kernel to parse freed kernel heap memory as an IP header. The result determines how much of the original packet is quoted in the ICMP error that is returned. The flaw has existed since 2021 (illumos-gate commit 9495f63e), and affects any illumos distribution prior to illumos-gate commit bdccbe63.

Severity (CVSS)

Base score6.9
SeverityMedium
VersionCVSS 4.0
VectorCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N/AU:Y/R:U
Provided byCNA

Weaknesses

  • CWE-416 — CWE-416 Use After Free

Affected products

VendorProductVersions
illumosillumos-gate9495f63eafceb1605bec42e743f2976df42d683a to <bdccbe639501ed5b7a167be1259bd7ea4e16c0f7 [affected]; from bdccbe639501ed5b7a167be1259bd7ea4e16c0f7: unaffected
OmniOSOmniOSr151042 to <r151054 [affected]; r151054 to <r151054ce [affected]; from r151054ce: unaffected; r151056 to <r151058 [affected]; r151058 to <r151058ae [affected]; from r151058ae: unaffected; r151060 to <r151060e [affected]; from r151060e: unaffected

References

Authoritative sources

This page is a snapshot. For the latest enrichment and updates, view the record on CVE.org or the NVD.

Assess this vulnerability

Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.

Browse all CVE security advisories · Symaro cybersecurity services

Generated from the official CVE List on 02 Dec 2026 08:02 UTC.