BusyBox httpd buffer overflow via subdirectory config file
CVE-2026-124739
Anyone who can edit a web settings file on your device could take over the system.
- CVE
- CVE-2026-124739 (opens in a new tab)
- Score
- CVSS 7.5
- First seen
Mitigation
There is no fix yet. Restrict write permissions on the web root and subdirectory paths to administrative accounts only (chmod -R o-w /path/to/webroot). Also run httpd as an unprivileged user (busybox httpd -u nobody). Restarting the daemon is required, which briefly drops connections.
Can't update yet?
Add this line to the config file:
chmod -R o-w /path/to/webroot
A wrong setting can stop the service or lock you out. Check the source links below first.
Then restart the httpd daemon.
Summary
When the BusyBox httpd web server reads subdirectory configuration files, an overly long index page name can cause a stack buffer overflow. An attacker who can write to such a configuration file could run arbitrary code or crash the server.
Affected when
Attacker has permission to write to a subdirectory httpd configuration file
84 other Incidents of this product in the last 30 days
Incidents by product: Red Hat Enterprise Linux 6 · Red Hat Hardened Images · Hummingbird · Red Hat Rhel Els
Other recent Incidents of Red Hat Enterprise Linux 6
Distribution packages (6) (every link below opens in a new tab)
- Debian 13 (trixie)busybox · not fixed yet
- Debian 12 (bookworm)busybox · not fixed yet
- SLES 16.1busybox · not fixed yet
- SLES 16.0busybox · not fixed yet
- SLES 15 SP7busybox · not fixed yet
- openSUSE Leap 16.0busybox · not fixed yet
Sources: Debian Security Tracker · SUSE CSAF VEX (CC BY 4.0)
Read the CVE record · cve.org (opens in a new tab)
- CVE record: cve.org (opens in a new tab)