bitVakt

Kernel Kit / Infix / v26.10.0latest

CVE-2026-74225

7.1high

uboot-tools2024.04in 4 of 4 releases

Not yet analysed by NVD. Matched on the vendor's record; this may change when NVD has analysed it.

Reach uboot-tools · 8 builds in 4 of 4 releases

full reviewcross-check✓ a member decided

Description · NVD

U-Boot before 2026.10-rc5 contains out-of-bounds memory access in dhcp6_parse_options() that fails to validate SERVERID and CLIENTID option lengths from DHCPv6 packets. Attackers on the local network can send crafted DHCPv6 ADVERTISE or REPLY packets during netboot to corrupt memory and crash the bootloader.

Published 2026-09-29NVD

CVSS 4.0Adjacent network · no privileges · no user interaction

How it is reached

Attack vector
Adjacent network
Attack complexity
Low
Attack requirements
None
Privileges required
None
User interaction
None

What it costs

Confidentiality
None
Integrity
Low
Availability
High

What it costs other systems

Confidentiality
None
Integrity
None
Availability
None

CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N

References 4
Review Av26.10.0aarch64_minimalNot affectedFable 5.2 · high confidence · 2026-11-19

The CVE is in the U-Boot bootloader's DHCPv6 netboot client (dhcp6_parse_options() in net/dhcpv6.c), which is only compiled when CONFIG_CMD_DHCP6 is set in a full U-Boot build. uboot-tools builds only the userspace utilities from the same tarball (tools-only and envtools targets) with an empty Kconfig, so net/dhcpv6.c is never compiled.

The package installs four files into the image: fit_check_sign, mkenvimage, fw_printenv and the fw_setenv symlink. None of them contain networking code. This configuration also does not build a bootloader (BR2_TARGET_UBOOT is not set).

The version match itself is correct: the unfixed code is present in the unpacked 2024.04 source and no applied patch touches it. It is simply not part of what this package builds.

Evidence 11
  1. The unfixed `DHCP6_OPTION_CLIENTID` / `DHCP6_OPTION_SERVERID` handling in `dhcp6_parse_options()` is present as source text: `memcmp()` uses the packet-supplied `option_len` with no check against the DUID size.

    output/build/uboot-tools-2024.04/net/dhcpv6.c:325-338

  2. `obj-$(CONFIG_CMD_DHCP6) += dhcpv6.o`: the file is only compiled when the bootloader option `CONFIG_CMD_DHCP6` is enabled.

    output/build/uboot-tools-2024.04/net/Makefile:25

  3. The configure step creates an empty `include/config/auto.conf` and an `autoconf.h` with only FIT defines; no U-Boot board Kconfig is run, so `CONFIG_CMD_DHCP6` cannot be set.

    buildroot/package/uboot-tools/uboot-tools.mk:19-30

  4. Contains only `CONFIG_FIT_PRINT`, `CONFIG_TOOLS_FIT_SIGNATURE_MAX_SIZE`, `CONFIG_TOOLS_FIT_SIGNATURE` and `CONFIG_TOOLS_FIT_RSASSA_PSS`; `include/config/auto.conf` is 0 bytes.

    output/build/uboot-tools-2024.04/include/generated/autoconf.h

  5. The build runs only the `tools-only` and `envtools` make targets, not the bootloader, so `net/` is never descended into.

    buildroot/package/uboot-tools/uboot-tools.mk:58-63

  6. `libs-y += net/` belongs to the full U-Boot link; `tools-only` (line 2131) and `envtools` (line 2128) are separate targets that build only `tools/`.

    output/build/uboot-tools-2024.04/Makefile:861

  7. The tool programs (`mkenvimage`, `mkimage`, `dumpimage`, `fit_check_sign`) are built from `tools/`, `lib/` and `boot/` objects; a grep of `tools/Makefile` and `tools/env/Makefile` for `net/` or `dhcp` finds nothing.

    output/build/uboot-tools-2024.04/tools/Makefile:63-67

  8. The package installs exactly `usr/bin/mkenvimage`, `usr/sbin/fw_printenv`, `usr/sbin/fw_setenv` and `usr/bin/fit_check_sign` into the target.

    output/build/uboot-tools-2024.04/.files-list.txt

  9. `# BR2_TARGET_UBOOT is not set`: no U-Boot bootloader is built in this configuration (`BR2_TARGET_UBOOT_NETWORK` is also unset at line 5061).

    output/.config:3912

  10. The target `uboot-tools` package is selected with FIT, FIT signature, `fit_check_sign`, `mkenvimage` and `fw_printenv`; it is set directly in `configs/aarch64_minimal_defconfig:48-52`.

    output/.config:1375-1382

  11. Three Buildroot patches are applied, all build-system fixes for the tools; a grep of `buildroot/package/uboot-tools` for `dhcp6`/`dhcpv6` finds nothing, so there is no backport of the fix.

    output/build/uboot-tools-2024.04/.applied_patches_list

Version and patches

Affected range per NVD is U-Boot before 2026.10-rc5, fixed by upstream commit 20209a62bc8565fc1e040882bc03c71ff0d73076; I could not open the advisory or the commit from here, so the range is taken from the CVE text.

Version 2024.04 falls in that range and the unfixed code is in output/build/uboot-tools-2024.04/net/dhcpv6.c:325-338. None of the three applied patches (0001-drop-configh-from-tools.patch, 0002-tools-only-in-no-dot-config-targets.patch, 0003-tools-Makefile-fix-C-LD-FLAGS-with-CROSS_BUILD_TOOLS.patch) touches it.

The build is not affected because the vulnerable file is not compiled for uboot-tools, not because the fix is present.

Recommendation

Document as not applicable for uboot-tools (target and host variants): the vulnerable DHCPv6 client is bootloader-only code and is not compiled into the tools. No upgrade or backport is needed for this package.

Triage the CVE separately against the actual U-Boot bootloader builds (the configs/*_boot_defconfig files with BR2_TARGET_UBOOT=y, for example configs/cn9130_crb_boot_defconfig:27 at version 2023.07.02). That is where CONFIG_CMD_DHCP6 could matter.

Open questions

No .o files remain in output/build/uboot-tools-2024.04, so "not compiled" rests on the makefiles, the empty Kconfig and the installed file list rather than on build objects.

Whether the separately built bootloaders enable CONFIG_CMD_DHCP6 was not determined. A quick search of the U-Boot config fragments under board/ found no DHCP6 setting, but the upstream board defconfigs (such as mvebu_crb_cn9130 and qemu_arm64) are not in this tree's build output.

Members of Kernel Kit decide. Sign in if you are one.