REDHAT-BUG-2531353: Medium severity Busybox Busybox vulnerability

Published Sep 10, 2026
·
Updated

A vulnerability exists in the BusyBox passwd and group file parser in libpwdgrp/pwdgrp.c. The tokenize() function trims trailing whitespace via overlappingstrcpy() but continues to reference the stale end pointer, causing tokenizeend to be too large. This under-allocates in parsecommon(), and converttostruct() then writes grmem[] pointers past the end of the heap allocation.

Triggering the vulnerability requires injecting malformed entries with whitespace before commas into /etc/group, then invoking any applet that calls getgrnam().

Affected Software

1 affected component
Busybox Busybox

Event History

Sep 10, 2026
Data Sourced
via Red Hat·09:48 AM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What access does an attacker need to exploit this issue?

An attacker needs a way to inject malformed entries containing whitespace before commas into /etc/group. The issue is triggered when an applet that calls getgrnam() subsequently processes that file.

2

Are systems using the default group-file contents affected?

The provided information identifies malformed /etc/group entries with whitespace before commas as a requirement. It does not indicate that ordinary default /etc/group contents alone trigger the vulnerability.

3

What can be done if an update cannot be applied immediately?

Prevent untrusted modification of /etc/group and inspect it for malformed entries with whitespace immediately before commas. Remove or correct such entries, and limit use of BusyBox applets that call getgrnam() until remediation is available.

4

How can I check whether a system may be exposed?

Review /etc/group for entries that contain whitespace before comma separators, especially if the file can be modified by less-trusted users or provisioning processes. Exposure also depends on whether BusyBox applets using getgrnam() are invoked after those entries are present.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203