{"id":"CVE-2026-53918","summary":"odhcpd DHCPv6 IA dangling first pointer use-after-free","details":"odhcpd is the DHCPv6, DHCPv4, and router-advertisement server used by OpenWrt. Prior to version 25.12, odhcpd's DHCPv6 IA handler keeps a per-message `first` lease pointer so multiple IA options in one message reuse the same Reconfigure authentication key. A DHCPv6 REQUEST from an adjacent-network client can make the first IA set `first`, then make a later same-IAID IA fail the on-link check and free that same lease, leaving `first` dangling. A following IA in the same packet allocates a new lease and copies `first-\u003ekey`, producing a 16-byte heap-use-after-free read. ASan confirms the UAF; native tracing shows the packet shape can deterministically reclaim the freed lease as the destination allocation, producing a zeroed Reconfigure key copy. The validated impact is unauthenticated adjacent-network denial of service and DHCPv6 Reconfigure/ForceRenew key confusion. Arbitrary PC control is not proven for this UAF alone. This issue has been patched in version 25.12.","aliases":["GHSA-44ff-jcwh-wgc2"],"modified":"2026-11-01T07:04:43.672491496Z","published":"2026-10-23T13:21:00.665Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-416","CWE-672","CWE-825"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53918.json","unresolved_ranges":[{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StringRangeExpression","range":[{"fixed":"25.12"}]}]},{"extracted_events":[{"source":"DESCRIPTION","range":[{"fixed":"25.12"},{"fixed":"25.12"}]}]}]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53918.json"},{"type":"ADVISORY","url":"https://github.com/openwrt/odhcpd/security/advisories/GHSA-44ff-jcwh-wgc2"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-53918"},{"type":"FIX","url":"https://github.com/openwrt/odhcpd/commit/26b122007030ebf192376aff8f98d428b25e2a93"},{"type":"FIX","url":"https://github.com/openwrt/odhcpd/commit/5b283832c0a77aed20f1cc384ffc40bc768b06e9"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/openwrt/odhcpd","events":[{"introduced":"0"},{"fixed":"26b122007030ebf192376aff8f98d428b25e2a93"},{"fixed":"5b283832c0a77aed20f1cc384ffc40bc768b06e9"}],"database_specific":{"extracted_events":[{"source":"REFERENCES_COMMIT","range":[{"fixed":"26b122007030ebf192376aff8f98d428b25e2a93"}]},{"source":"REFERENCES_COMMIT","range":[{"fixed":"5b283832c0a77aed20f1cc384ffc40bc768b06e9"}]}]}}],"database_specific":{"vanir_signatures":[{"target":{"file":"src/dhcpv6-ia.c"},"deprecated":false,"digest":{"threshold":0.9,"line_hashes":["314991255421948447879873036253121814713","192778423888647996559099163002188814911","253981318701228171880375663624152029402","143038252764248680856895239161277914542","144234669581831727230605285070990961797","154685258939286055896418345291924163677","212883710878612166736955936970256563473","161309190573515152890307048573124080494","91901265925338848462753433167040395995","98175428032155025500626466943099411185","108021173503777712020901875252294259655","107223282444778756776569608430729755560","33397172288706122141257095146083284290","284927817667710381164334759746679524566","162473298171382051215298095390799139856","203432694329899067875429736840729136754","106386557548172015360980484313216248528"]},"id":"CVE-2026-53918-0b031410","signature_type":"Line","signature_version":"v1","source":"https://github.com/openwrt/odhcpd/commit/26b122007030ebf192376aff8f98d428b25e2a93"},{"signature_version":"v1","source":"https://github.com/openwrt/odhcpd/commit/5b283832c0a77aed20f1cc384ffc40bc768b06e9","target":{"file":"src/dhcpv6-ia.c"},"deprecated":false,"digest":{"threshold":0.9,"line_hashes":["314991255421948447879873036253121814713","192778423888647996559099163002188814911","253981318701228171880375663624152029402","143038252764248680856895239161277914542","144234669581831727230605285070990961797","154685258939286055896418345291924163677","212883710878612166736955936970256563473","161309190573515152890307048573124080494","91901265925338848462753433167040395995","98175428032155025500626466943099411185","108021173503777712020901875252294259655","107223282444778756776569608430729755560","33397172288706122141257095146083284290","284927817667710381164334759746679524566","162473298171382051215298095390799139856","203432694329899067875429736840729136754","106386557548172015360980484313216248528"]},"id":"CVE-2026-53918-9a54ece6","signature_type":"Line"},{"id":"CVE-2026-53918-c1f5bdc1","signature_type":"Function","signature_version":"v1","source":"https://github.com/openwrt/odhcpd/commit/26b122007030ebf192376aff8f98d428b25e2a93","target":{"file":"src/dhcpv6-ia.c","function":"dhcpv6_ia_handle_IAs"},"deprecated":false,"digest":{"function_hash":"37072875744529830338194005590922889098","length":8559}},{"signature_version":"v1","source":"https://github.com/openwrt/odhcpd/commit/5b283832c0a77aed20f1cc384ffc40bc768b06e9","target":{"file":"src/dhcpv6-ia.c","function":"dhcpv6_ia_handle_IAs"},"deprecated":false,"digest":{"function_hash":"37072875744529830338194005590922889098","length":8559},"id":"CVE-2026-53918-fa7ce4a8","signature_type":"Function"}],"vanir_signatures_modified":"2026-11-01T07:04:43Z","source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-53918.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N"}]}