CVE-2026-124739Busybox: httpd stack buffer overflow via an "i:" rule in a subdirectory httpd.conf
A flaw was found in BusyBox. When the httpd web server processes subdirectory configuration files, an overly long index page name can trigger a stack-based buffer overflow. An attacker with permissions to write to a subdirectory configuration file could exploit this vulnerability to execute arbitrary code with elevated privileges or cause a denial of service (DoS) by crashing the server process.
What to do
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | busybox | Fix pending | UBUNTU-CVE-2026-124739 | |
| Ubuntu 26.04 | busybox | Under investigation | UBUNTU-CVE-2026-124739 | |
| Ubuntu 24.04 | busybox | Under investigation | UBUNTU-CVE-2026-124739 | |
| Ubuntu 22.04 | busybox | Under investigation | UBUNTU-CVE-2026-124739 | |
| Ubuntu 20.04 | busybox | Fix pending | UBUNTU-CVE-2026-124739 | |
| Ubuntu 18.04 | busybox | Fix pending | UBUNTU-CVE-2026-124739 | |
| Ubuntu 16.04 | busybox | Fix pending | UBUNTU-CVE-2026-124739 | |
| Ubuntu 14.04 | busybox | Fix pending | UBUNTU-CVE-2026-124739 | |
| Debian 14 | busybox | Fix pending | DEBIAN-CVE-2026-124739 | |
| Debian 13 | busybox | Fix pending | DEBIAN-CVE-2026-124739 | |
| Debian 12 | busybox | Fix pending | DEBIAN-CVE-2026-124739 |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Red Hat Enterprise Linux 6
- Red Hat Hardened Images
Workaround: Prevent untrusted users from creating or modifying configuration files by restricting write permissions on all web root and subdirectory paths served by BusyBox httpd to administrative accounts only: chmod -R o-w /path/to/webroot Additionally, ensure the BusyBox httpd process drops elevated privileges by specifying an unprivileged user with the `-u` flag upon execution: busybox httpd -u nobody Restarting the daemon is required for process-level flag changes to take effect, which will temporarily terminate active network connections. Caveats: Running under a non-privileged user account prevents binding directly to privileged ports (below 1024) without additional system capabilities or port forwarding, and restricting directory permissions may interfere with workflows that require unprivileged file uploads.
References
- https://access.redhat.com/security/cve/CVE-2026-124739
- https://bugzilla.redhat.com/show_bug.cgi?id=2571613
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.