odhcpd is the DHCPv6, DHCPv4, and router-advertisement server used by OpenWrt. Prior to version 25.12, odhcpd's DHCPv6 IA response handler writes past the end of a fixed 512-byte stack buffer (pdbuf) when a single DHCPv6 REQUEST carries enough IA options to nearly exhaust the reply space. Two independent overflow sites exist in the same call chain, both reachable from the network via a single unauthenticated UDP packet. odhcpd runs as root on OpenWrt; embedded targets often lack stack canaries and ASLR, making code execution realistic. This issue has been patched in version 25.12.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-121"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53921.json",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"fixed": "25.12"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
}
]
},
{
"extracted_events": [
{
"range": [
{
"fixed": "25.12"
},
{
"fixed": "25.12"
}
],
"source": "DESCRIPTION"
}
]
}
]
}{
"extracted_events": [
{
"range": [
{
"fixed": "0320032ae313452f3c8cb8725c621dd06c36dc03"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "03dacc23356b5789842b9d1bba0200fd005e35f3"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "2a42d34c3615e2449ca273f673eee7c429d819a9"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "6634b7a3c79c41a27687925c98c35c8aea2f2b5a"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "d168c27fb6a55a07ac4c888e09ff2f41e263d7b7"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "d329a15413387027453644cd363dca06ade28328"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-53921.json"
[
{
"deprecated": false,
"digest": {
"function_hash": "9099185628977254717979877965896175308",
"length": 5788
},
"id": "CVE-2026-53921-229019dd",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/openwrt/odhcpd/commit/d329a15413387027453644cd363dca06ade28328",
"target": {
"file": "src/dhcpv6-ia.c",
"function": "build_ia"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "324332590498826916293339512195297924922",
"length": 8472
},
"id": "CVE-2026-53921-2e9c6740",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/openwrt/odhcpd/commit/0320032ae313452f3c8cb8725c621dd06c36dc03",
"target": {
"file": "src/dhcpv6-ia.c",
"function": "dhcpv6_ia_handle_IAs"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "242559609946673135406253259097100944367",
"length": 8620
},
"id": "CVE-2026-53921-498674c5",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/openwrt/odhcpd/commit/03dacc23356b5789842b9d1bba0200fd005e35f3",
"target": {
"file": "src/dhcpv6-ia.c",
"function": "dhcpv6_ia_handle_IAs"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "324332590498826916293339512195297924922",
"length": 8472
},
"id": "CVE-2026-53921-6bd11cb0",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/openwrt/odhcpd/commit/6634b7a3c79c41a27687925c98c35c8aea2f2b5a",
"target": {
"file": "src/dhcpv6-ia.c",
"function": "dhcpv6_ia_handle_IAs"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"78997654183143576230021370399144837976",
"72147466224646437144043756138600730882",
"118507397004435271855833497865327351337"
],
"threshold": 0.9
},
"id": "CVE-2026-53921-725fa772",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/openwrt/odhcpd/commit/d329a15413387027453644cd363dca06ade28328",
"target": {
"file": "src/dhcpv6-ia.c"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "9099185628977254717979877965896175308",
"length": 5788
},
"id": "CVE-2026-53921-952824e7",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/openwrt/odhcpd/commit/d168c27fb6a55a07ac4c888e09ff2f41e263d7b7",
"target": {
"file": "src/dhcpv6-ia.c",
"function": "build_ia"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"114173525575912241730497237176291810885",
"321381012341136711339537067427161270455",
"318671595017656628124308017975588600452",
"157084480657206741476249082465221660559",
"170114245223615961794772753876281710903",
"195228864273502356054918776198694222679",
"28970209059077829881997553613007127544",
"153059113215431796412357604648898692930"
],
"threshold": 0.9
},
"id": "CVE-2026-53921-c1e5df4d",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/openwrt/odhcpd/commit/2a42d34c3615e2449ca273f673eee7c429d819a9",
"target": {
"file": "src/dhcpv6-ia.c"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "242559609946673135406253259097100944367",
"length": 8620
},
"id": "CVE-2026-53921-ca485a19",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/openwrt/odhcpd/commit/2a42d34c3615e2449ca273f673eee7c429d819a9",
"target": {
"file": "src/dhcpv6-ia.c",
"function": "dhcpv6_ia_handle_IAs"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"78997654183143576230021370399144837976",
"72147466224646437144043756138600730882",
"118507397004435271855833497865327351337"
],
"threshold": 0.9
},
"id": "CVE-2026-53921-cafe422d",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/openwrt/odhcpd/commit/d168c27fb6a55a07ac4c888e09ff2f41e263d7b7",
"target": {
"file": "src/dhcpv6-ia.c"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"114173525575912241730497237176291810885",
"321381012341136711339537067427161270455",
"318671595017656628124308017975588600452",
"157084480657206741476249082465221660559",
"170114245223615961794772753876281710903",
"195228864273502356054918776198694222679",
"28970209059077829881997553613007127544",
"153059113215431796412357604648898692930"
],
"threshold": 0.9
},
"id": "CVE-2026-53921-f750c661",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/openwrt/odhcpd/commit/03dacc23356b5789842b9d1bba0200fd005e35f3",
"target": {
"file": "src/dhcpv6-ia.c"
}
}
]
"2026-10-31T07:04:49Z"