Out-of-bounds Write Affecting u-boot package, versions <2022.07+dfsg-1ubuntu7


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.6% (46th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2510-UBOOT-15023912
  • published17 Jan 2026
  • disclosed23 Sept 2022

Introduced: 23 Sep 2022

CVE-2022-2347  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade Ubuntu:25.10 u-boot to version 2022.07+dfsg-1ubuntu7 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream u-boot package and not the u-boot package as distributed by Ubuntu. See How to fix? for Ubuntu:25.10 relevant fixed versions and status.

There exists an unchecked length field in UBoot. The U-Boot DFU implementation does not bound the length field in USB DFU download setup packets, and it does not verify that the transfer direction corresponds to the specified command. Consequently, if a physical attacker crafts a USB DFU download setup packet with a wLength greater than 4096 bytes, they can write beyond the heap-allocated request buffer.

CVSS Base Scores

version 3.1