OpenWrt is a Linux operating system targeting embedded devices. Prior to 25.12.5, odhcpd writes a DHCPv6 client FQDN option 39 hostname into /tmp/odhcpd.leases through src/statefiles.c statefileswritestate6() and statefileswritestate4() without escaping, allowing newline injection of forged lease lines that LuCI rpcd-mod-luci getDHCPLeases displays through htdocs/luci-static/resources/view/status/include/40_dhcp.js and htdocs/luci-static/resources/luci.js dom.append as live HTML in the Active DHCPv6 Leases admin page. This vulnerability is fixed in 25.12.5.
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/62xxx/CVE-2026-62948.json",
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-117",
"CWE-150",
"CWE-79"
]
}{
"source": "REFERENCES"
}[
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"222199056557108100412948030197406158274",
"179951072711141737501673157033915307745",
"48835114850316979340087807439325385449",
"245224250924620970701387765855088283209",
"110222455626083028841038589741473283398",
"95903326584314967842773648666088372354",
"82832356609876502096747738431575101449",
"82584690780047370019648044612504933407",
"56714378486760030174905488444565544130",
"62146115244480036161070870116018134560",
"267303806260021675208143748746349505373",
"334272644550395447436825271068027852572",
"103650148878138585015664861531389709141",
"168876642837305772516827685731459179411",
"137726075882607834738509062146406291521",
"121744179478910298403968167831348063244",
"56714378486760030174905488444565544130",
"62146115244480036161070870116018134560"
]
},
"signature_version": "v1",
"source": "https://github.com/openwrt/odhcpd/commit/68f382690bfaec56d5b1f31c3c31c48bcb642e3a",
"signature_type": "Line",
"target": {
"file": "src/statefiles.c"
},
"id": "CVE-2026-62948-046d84d8",
"deprecated": false
},
{
"digest": {
"length": 870.0,
"function_hash": "219921854696407551311078231888675570542"
},
"signature_version": "v1",
"source": "https://github.com/openwrt/odhcpd/commit/68f382690bfaec56d5b1f31c3c31c48bcb642e3a",
"signature_type": "Function",
"target": {
"function": "statefiles_write_state4",
"file": "src/statefiles.c"
},
"id": "CVE-2026-62948-05dcb415",
"deprecated": false
},
{
"digest": {
"length": 865.0,
"function_hash": "26085049810060182175915558190858673815"
},
"signature_version": "v1",
"source": "https://github.com/openwrt/odhcpd/commit/68f382690bfaec56d5b1f31c3c31c48bcb642e3a",
"signature_type": "Function",
"target": {
"function": "statefiles_write_state6",
"file": "src/statefiles.c"
},
"id": "CVE-2026-62948-ced7109f",
"deprecated": false
}
]
"2026-07-22T03:49:52Z"
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-62948.json"