Bug 2569520 (CVE-2026-124747) - CVE-2026-124747 busybox: Heap buffer overflow in wget FTP resume when the resume offset exceeds the reported file size
Summary: CVE-2026-124747 busybox: Heap buffer overflow in wget FTP resume when the res...
Keywords:
Status: NEW
Alias: CVE-2026-124747
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2569525 2569526
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-10 12:38 UTC by OSIDB Bzimport
Modified: 2026-11-10 12:45 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-11-10 12:38:16 UTC
A flaw was found in BusyBox wget. When resuming an FTP download, prepare_ftp_session() in networking/wget.c subtracts the resume offset from the file size reported by the server without validating that the offset does not exceed it, allowing the content_len variable to become negative. In retrieve_file_data(), a (int) cast lets a negative content_len whose low 32 bits are positive pass the length check, and the truncated value is then used as the fread() size into the heap-allocated wget buffer. A malicious FTP server, or an on-path attacker when plain FTP is used, can trigger this when wget resumes a download whose offset is more than 2 GiB larger than the reported file size, overwriting heap memory beyond the buffer with server-controlled data, which may lead to a crash or potentially code execution.


Note You need to log in before you can comment on or make changes to this bug.