CVE-2026-124739 PUBLISHED

Busybox: httpd stack buffer overflow via an "i:" rule in a subdirectory httpd.conf

Assigner: redhat
Reserved: 09.11.2026 Published: 11.11.2026 Updated: 13.11.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS Score: 7.5

Product Status

Vendor Red Hat
Product Red Hat Enterprise Linux 6
Versions Default: affected
Vendor Red Hat
Product Red Hat Hardened Images
Versions Default: affected

Workarounds

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.

Credits

  • Red Hat would like to thank Duc Anh Luu for reporting this issue.

References

Problem Types

  • Out-of-bounds Write CWE