CVE-2026-53922 PUBLISHED

odhcpd: pre-auth remote DoS via size_t underflow in dhcpv6_ia_handle_IAs (stack BOF, canary-terminated)

Assigner: GitHub_M
Reserved: 11.06.2026 Published: 12.10.2026 Updated: 13.10.2026

odhcpd is the DHCPv6, DHCPv4, and router-advertisement server used by OpenWrt. In commit cfddd56 and earlier, an unauthenticated host on the same link can first obtain two bindings through normal DHCPv6 SOLICIT and REQUEST exchanges and then send a crafted RENEW containing multiple IA_NA options. An earlier matched IA consumes most of the response buffer, an unmatched IA causes the build_ia() status branch to write and return a NOBINDING response larger than the remaining space, and a subsequent matched IA is processed after dhcpv6_ia_handle_IAs() subtracts that over-return from an unsigned size_t. The resulting underflow disables subsequent length checks and permits attacker-controlled IA_ADDR serialization beyond the 512-byte stack buffer pdbuf in handle_client_request(). The stack canary terminates odhcpd, and sustained packets can repeatedly disrupt DHCPv6 service while procd respawns the process. The observed configuration does not establish code execution.

Metrics

CVSS Vector: CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS Score: 6.5

Product Status

Vendor openwrt
Product odhcpd
Versions
  • Version < c6792bac3905d4bf726d914e9994f6d4b98c5b57 is affected
Vendor openwrt
Product openwrt
Versions
  • Version < 25.12.5 is affected

References

Problem Types

  • CWE-121: Stack-based Buffer Overflow CWE
  • CWE-191: Integer Underflow (Wrap or Wraparound) CWE