Upstream information
Description
BuildKit is a toolkit for converting source code to build artifacts in an efficient, expressive and repeatable manner. Prior to 0.31.1, BuildKit read attacker-controlled /etc/passwd and /etc/group files without an upper bound while resolving a username to a user identifier or group identifier in executor/oci/user.go and solver/llbsolver/ops/user_linux.go. A malicious base image or build could provide oversized files that exhausted memory during user resolution and caused out-of-memory termination of the buildkitd process. This issue is fixed in version 0.31.1.SUSE information
Overall state of this security issue: Pending
This issue is currently rated as having moderate severity.
| CVSS detail | SUSE |
|---|---|
| Base Score | 4.3 |
| Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L |
| Attack Vector | Network |
| Attack Complexity | Low |
| Privileges Required | None |
| User Interaction | Required |
| Scope | Unchanged |
| Confidentiality Impact | None |
| Integrity Impact | None |
| Availability Impact | Low |
| CVSSv3 Version | 3.1 |
| CVSS detail | CNA (GitHub) | SUSE |
|---|---|---|
| Base Score | 2.3 | 2.3 |
| Vector | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N |
| Attack Vector | Network | Network |
| Attack Complexity | Low | Low |
| Attack Requirements | Present | Present |
| Privileges Required | None | None |
| User Interaction | Passive | Passive |
| Vulnerable System Confidentiality Impact | None | None |
| Vulnerable System Integrity Impact | None | None |
| Vulnerable System Availability Impact | Low | Low |
| Subsequent System Confidentiality Impact | None | None |
| Subsequent System Integrity Impact | None | None |
| Subsequent System Availability Impact | None | None |
| CVSSv4 Version | 4.0 | 4.0 |
Status of this issue by product and package
Please note that this evaluation state might be work in progress, incomplete or outdated. Also information for service packs in the LTSS phase is only included for issues meeting the LTSS criteria. If in doubt, feel free to contact us for clarification. The updates are grouped by state of their lifecycle. SUSE product lifecycles are documented on the lifecycle page.
| Product(s) | Source package | State |
|---|---|---|
| Products under general support and receiving all security fixes. | ||
| SUSE Linux Enterprise Server 16.0 | buildkit | Affected |
| SUSE Linux Enterprise Server 16.1 | buildkit | Affected |
| SUSE Linux Enterprise Server for SAP applications 16.0 | buildkit | Affected |
| SUSE Linux Enterprise Server for SAP applications 16.1 | buildkit | Affected |
| SUSE Linux Micro 6.0 | buildkit | Affected |
| SUSE Linux Micro 6.1 | buildkit | Affected |
| openSUSE Leap 16.0 | buildkit | Affected |
SUSE Timeline for this CVE
CVE page created: Mon Aug 24 16:38:18 2026CVE page last modified: Tue Aug 25 11:35:13 2026