CVE-2022-2347: Unchecked Download size in Uboot
Vulnerability summary
CVE-2022-2347 is a high (CVSS 7.7) Heap-based Buffer Overflow vulnerability in denx u-boot. EPSS estimates a 0.58% chance of exploitation in the next 30 days, higher than 46.8% of scored vulnerabilities. 1 public exploit is recorded.
Advisory lineage
Upstream 0 · Downstream 3 · Related 2Timeline
- 23-09-2022PublishedVulnerability first disclosed.
- 12-05-2026Last modifiedVulnerability information updated.
Description
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 metrics
4 scores · 4 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated7.1HighCVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:HDiffers
- OSV · DebianEcosystem advisory · calculated7.1HighCVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:HDiffers
- NVDNIST7.1HighCVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:HDiffers
EPSS trend
Probability
0.58%
Chance of exploitation in the next 30 days
Percentile
47%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.58% on 22-09-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundExploit Reference (seclists.org)
Maturity: unknown
Weaknesses
CWE · root cause- CWE-122Heap-based Buffer OverflowA heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc().
- CWE-787Out-of-bounds WriteThe product writes data past the end, or before the beginning, of the intended buffer.
Affected systems
Ubuntu2 products
- u-bootAll versions (No fix recorded) | < 2020.10+dfsg-1ubuntu0~18.04.3 | < 2021.01+dfsg-3ubuntu0~20.04.5 | < 2022.01+dfsg-2ubuntu2.3
- u-boot-nezha< 2022.04+git20220405.7446a472-0ubuntu0.4 | All versions (No fix recorded)
Debian1 product
- u-boot< 2023.01~rc4+dfsg-2
Denx1 product
- u-boot≥ 2012.10, ≤ 2022.07
Uboot1 product
- uboot≥ unspecified, ≤ 2022.07
4 vendors · 5 products