DragonFlyBSD ARP length validation flaw leaks kernel memory

Note: This data is for reference and cybersecurity research purposes only.CyStack advises users not to use this information for unlawful purposes.

What is CVE-2026-110912?

CVE-2026-110912 is a vulnerability classified as Improper Handling of Length Parameter Inconsistency, affecting DragonFlyBSD (affected versions: 984263bcb83ad82313113c6ac840d99124d8f90c – < 4bb22ffcf2e9fb44995fbfd9945194afc87fb182). This vulnerability is rated High, with a CVSS score of 7.1. Current sources do not report this vulnerability as exploited.

Overview

Original source data

In DragonFly BSD through 6.4.2 before 4bb22ff, the ARP input handlers arpintr() and in_arpinput() (sys/netinet/if_ether.c) do not validate the hardware address length (ar_hln) and protocol address length (ar_pln) fields of incoming ARP packets. in_arpreply() then uses these attacker-controlled values as memcpy lengths when copying from kernel buffers that are only 6 and 4 bytes long, resulting in an out-of-bounds read of kernel heap and stack memory that is copied into the ARP reply sent back to the requester. An unauthenticated attacker on the adjacent network can use a single crafted ARP request to disclose up to roughly 250 bytes of each type of kernel memory, including kernel pointers. This is expected to be fixed in the 6.6 stable release when that is available.

Affected products and scope

  • DragonFlyBSD is marked affected in Git history before commit 4bb22ff; the source description identifies releases through 6.4.2.
  • Commit 4bb22ff on the development branch adds checks that reject ARP packets with invalid ar_hln or ar_pln values.
  • DragonFly BSD 6.6 is stated by the maintainers as expected to include the fix once that stable release is available. The status of other or parallel release branches is not separately established by the available evidence.

Technical details

The flaw is in ARP processing in sys/netinet/if_ether.c. The arpintr() and in_arpinput() handlers do not validate the attacker-controlled ar_hln and ar_pln length fields. in_arpreply() then uses those values as memcpy() lengths while copying from kernel buffers that contain only 6 bytes and 4 bytes, causing out-of-bounds reads from kernel heap and kernel stack memory. The over-read data is placed in the ARP reply and sent back to the requester, creating a remote, read-only kernel memory disclosure primitive. The weakness is classified as CWE-130, improper handling of inconsistency between a length field and its associated data. The available evidence does not establish that every deployment exposes equally useful data.

Exploitability

Exploitation is reachable from an unauthenticated host on the same layer 2 segment as the DragonFlyBSD system. The attacker does not need privileges or user interaction, and a single crafted ARP request can cause kernel data to be returned in the ARP reply. A public GitHub repository contains a proof of concept and reports remote reproduction of heap and stack disclosure. The consulted material establishes public exploit code and a read primitive, but does not establish exploitation in the wild, a specific campaign, or named victims.

Technical impact

The confirmed primitive reads past the ends of kernel heap and kernel stack buffers and returns the resulting data in an ARP reply. An attacker may obtain kernel memory bytes and kernel pointers, causing loss of confidentiality for information held in kernel memory. The proof of concept describes remote read access and no write primitive. The available evidence therefore does not confirm code execution, direct privilege escalation, data modification, or service disruption, although leaked pointers could support a later attack chain.

Business impact

The flaw can disclose internal kernel data to another host on the same layer 2 network, including values that may be kernel pointers. Leaked pointers could help an attacker understand kernel address layout or reduce the effectiveness of some defenses, but that is a possible consequence rather than a confirmed compromise path. Organizations using shared networks, partially trusted wireless segments, virtualized environments, or management networks should prioritize identifying DragonFlyBSD systems that process ARP. The available evidence confirms disclosure only and does not establish data modification, code execution, or denial of service.

Remediation

  1. Apply the fix from commit 4bb22ff to the source tree, then rebuild and redeploy DragonFlyBSD. The fix rejects ar_hln values other than ETHER_ADDR_LEN in arpintr() and ar_pln values other than sizeof(struct in_addr) in in_arpinput().
  2. When DragonFly BSD 6.6 is released, upgrade to that release after verifying that the release package includes the fix. An unreleased version should not be treated as an available remediation.
  3. If patching cannot be completed immediately, reduce layer 2 reachability to affected hosts from untrusted devices. This is a temporary risk-reduction measure, not a confirmed vendor workaround and not a replacement for patching.

Detection

  1. Inventory DragonFlyBSD hosts with IPv4 enabled on network segments where untrusted systems can send ARP traffic.
  2. Identify the deployed release or source revision, then inspect sys/netinet/if_ether.c to verify that arpintr() rejects ar_hln values other than ETHER_ADDR_LEN and in_arpinput() rejects ar_pln values other than sizeof(struct in_addr).
  3. Review logs for the validation messages arp: invalid address length and in_arp: requested protocol length ... invalid when the deployed build includes the fix.
  4. As a precaution, monitor ARP traffic for requests with abnormal hardware or protocol address lengths and for unusually large ARP replies. This is precautionary monitoring rather than a confirmed IOC; the absence of these observations does not prove that a host is safe.
Sources (9)
Learn more

Run an in-depth assessment with complete web risk management

CyStack VulnScan continuously discovers assets, validates vulnerabilities, and helps security teams prioritize remediation across the organization.