CVE-2026-93323: Oversized Dockerfile or .dockerignore can exhaust buildkitd memory
CVE-2026-93323 key facts
- CISA KEV
- Not listed (catalogue checked )
- Highest advisory rating
- Medium
- CVSS base score
- 6.8 (Docker), 5.5 (Red Hat)
- CVSS vector
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N· base score 6.8, scored by DockerAttack vector: local. Attack complexity: low. Attack requirements: none. Privileges required: low. User interaction: none. Confidentiality impact on the vulnerable system: none. Integrity impact on the vulnerable system: none. Availability impact on the vulnerable system: high. Confidentiality impact on subsequent systems: none. Integrity impact on subsequent systems: none. Availability impact on subsequent systems: none.- Weakness
- CWE-789: Memory Allocation with Excessive Size Value
- EPSS
- 0.11% chance of exploitation in the next 30 days (1st percentile). FIRST EPSS, .
- CISA SSVC
- Exploitation: none observed. Automatable: no. Technical impact: partial. CISA, .
- Fixed releases
- Red Hat: 0.33.1
- Assigned by
- Docker (CNA)
- CVE record published
- Listed by VulniPulse
- Record changed
Ratings, versions and fixes are quoted from the vendor advisories that cover only CVE-2026-93323; each belongs to its advisory, not to every product listed. How records are collected and checked.
Description
The Dockerfile frontend loaded the Dockerfile and .dockerignore files of a build context into memory without a size limit. A build context containing an oversized file could make buildkitd allocate memory proportional to that file, potentially exhausting memory and terminating the daemon, which interrupts other builds on the same instance. Fixed by rejecting such files above 16 MiB.
Text from the CVE.org record (Docker).
How do I fix CVE-2026-93323?
Upgrade to a fixed release named by the vendor:
- Red Hat: 0.33.1
- The Dockerfile frontend loaded the Dockerfile and.dockerignore files of a build context into memory without a size limit. (Docker)
- Enforce file size limits in source control or CI/CD pre-commit hooks to reject Dockerfile and .dockerignore files exceeding 16 MiB prior to build submission, and restrict build execution privileges to trusted users. (Red Hat)
- Workaround: Only build from trusted build contexts. Run buildkitd under a memory limit (cgroup or container limit) so exhaustion is contained to the daemon. (CVE.org record)
Vendor advisories for CVE-2026-93323
Docker
1 advisory- Advisory severityMedium6.8
Medium [CVE-2026-93323] The Dockerfile frontend loaded the Dockerfile and.dockerignore files of a build context into memory without a size limit
CVE-2026-93323Source published Source updated
The Dockerfile frontend loaded the Dockerfile and.dockerignore files of a build context into memory without a size limit. A build context containing an oversized file could make buildkitd allocate memory proportional to that file, potentially exhausting memory and terminating the daemon, which interrupts other builds on the same instance. Fixed by rejecting such files above 16 MiB.
- Affected products in this advisory
- BuildKit
- Source-reported affected versions
- BuildKit through 0.33.0
- Source-reported fixed versions
- No fixed-version detail extracted. This does not mean no fix exists.
- Mitigation guidance
- The Dockerfile frontend loaded the Dockerfile and.dockerignore files of a build context into memory without a size limit.
Red Hat
1 advisory- Advisory severityMedium5.5
Medium [CVE-2026-93323] Denial of Service via oversized build context files
CVE-2026-93323Source published Source updated
The Dockerfile frontend loaded the Dockerfile and.dockerignore files of a build context into memory without a size limit. A build context containing an oversized file could make buildkitd allocate memory proportional to that file, potentially exhausting memory and terminating the daemon, which interrupts other builds on the same instance. Fixed by rejecting such files above 16 MiB. A flaw was found in BuildKit. A local user with build permissions can trigger a Denial of Service (DoS) by submitting a build context containing an oversized Dockerfile or.dockerignore file. This termination halts all other active build processes running on the same instance. An authenticated user authorized to submit builds can provide an excessively large Dockerfile or.dockerignore file, forcing the…
- Affected products in this advisory
- Red Hat Quay 3
- Source-reported affected versions
- Affected-version details not available in this record.
- Source-reported fixed versions
- 0.33.1
- Mitigation guidance
- Enforce file size limits in source control or CI/CD pre-commit hooks to reject Dockerfile and .dockerignore files exceeding 16 MiB prior to build submission, and restrict build execution privileges to trusted users.
References
Timeline
- CVE record published
- First vendor advisory listed by VulniPulse
- CVE record last updated
More Docker advisories
CVE-2026-121520Nov 3, 2026In BuildKit versionsCVE-2026-121522Nov 3, 2026In BuildKit vulnerabilityCVE-2026-93318Oct 5, 2026BuildKit: malicious image can advertise DiffIDs from another image while containingCVE-2026-93316Oct 5, 2026If BuildKit daemon is started with --cdi-disabledCVE-2026-33748Mar 27, 2026BuildKit is a toolkit for converting source code to build artifacts in an efficientCVE-2026-126329Nov 12, 2026Docker Sandboxes reuses existing state and configuration directories without verifying
Get an email when Docker publishes the next one.
See Docker's last 90 days first. Live alerts for one product are free for life; every vendor is US$15 a month after a free month.