CVE-2026-39414
mediumpriority · track · 26EPSS 0.005 · 42 %ileDEEURUUSEPSS · scored 2026-10-27
MinIO is a high-performance object storage system. From RELEASE.2018-08-18T03-49-57Z to before RELEASE.2025-12-20T04-58-37Z, MinIO's S3 Select feature is vulnerable to memory exhaustion when processing CSV files containing lines longer than available memory. The CSV reader's nextSplit() function calls bufio.Reader.ReadBytes('\n') with no size limit, buffering the entire input in memory until a newline is found. A CSV file with no newline characters causes the entire contents to be read into a single allocation, leading to an OOM crash of the MinIO server process. This is exploitable by any authenticated user with s3:PutObject and s3:GetObject permissions. The attack is especially practical when combined with compression: a ~2 MB gzip-compressed CSV can decompress to gigabytes of data without newlines, allowing a small upload to cause large memory consumption on the server. However, compression is not required — a sufficiently large uncompressed CSV with no newlines triggers the same issue.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 4.9–7.1
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (8)
Products and version ranges known to be affected.
advisories (3)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2026-1016MinIO: Schwachstelle ermöglicht Denial of ServiceDeutsch2026-04-08csaf · cert_bundDE
Ein entfernter, authentisierter Angreifer kann eine Schwachstelle in MinIO ausnutzen, um einen Denial of Service Angriff durchzuführen.
- GHSA-h749-fxx7-pwpgMinIO affected a DoS via Unbounded Memory Allocation in S3 Select CSV Parsing2026-04-09ghsa · osvUS
### Impact _What kind of vulnerability is it? Who is impacted?_ MinIO's S3 Select feature is vulnerable to memory exhaustion when processing CSV files containing lines longer than available memory. The CSV reader's `nextSplit()` function calls `bufio.Reader.ReadBytes('\n')` with no size limit, buffering the entire input in memory until a newline is found. A CSV file with no newline characters causes the entire contents to be read into a single allocation, leading to an OOM crash of the MinIO server process. This is exploitable by any authenticated user with `s3:PutObject` and `s3:GetObject` permissions. The attack is especially practical when combined with compression: a ~2 MB gzip-compressed CSV can decompress to gigabytes of data without newlines, allowing a small upload to cause large memory consumption on the server. However, compression is not required — a sufficiently large uncompressed CSV with no newlines triggers the same issue. **Affected component:** `internal/s3select/csv/reader.go`, function `nextSplit()`. **CWE:** CWE-770 (Allocation of Resources Without Limits or Throttling) ### Affected Versions All MinIO releases are through the final release of the minio/minio open-source project. The vulnerability was introduced in commit https://github.com/minio/minio/commit/7c14cdb60e53dbfdad2be644dfb180cab19fffa7, which added S3 Select support for CSV. The CSV reader has used unbounded line reads since this commit (originally via Go's stdlib `encoding/csv.Reader`, later via `bufio.Reader.ReadBytes` after a refactor in [PR #8200](https://github.com/minio/minio/pull/8200). The first affected release is `RELEASE.2018-08-18T03-49-57Z`. ### Patches **Fixed in**: MinIO AIStor RELEASE.2025-12-20T04-58-37Z The fix replaces the unbounded `bufio.Reader.ReadBytes('\n')` call with a byte-at-a-time loop that caps line scanning at 128 KB (`csvSplitSize`). If no newline is found within this limit, the reader returns an error instead of continuing to buffer. #### Binary Downloads | Platform | Architecture | Download | | -------- | ------------ | --------------------------------------------------------------------------- | | Linux | amd64 | [minio](https://dl.min.io/aistor/minio/release/linux-amd64/minio) | | Linux | arm64 | [minio](https://dl.min.io/aistor/minio/release/linux-arm64/minio) | | macOS | arm64 | [minio](https://dl.min.io/aistor/minio/release/darwin-arm64/minio) | | macOS | amd64 | [minio](https://dl.min.io/aistor/minio/release/darwin-amd64/minio) | | Windows | amd64 | [minio.exe](https://dl.min.io/aistor/minio/release/windows-amd64/minio.exe) | #### FIPS Binaries | Platform | Architecture | Download | | -------- | ------------ | --------------------------------------------------------------------------- | | Linux | amd64 | [minio.fips](https://dl.min.io/aistor/minio/release/linux-amd64/minio.fips) | | Linux | arm64 | [minio.fips](https://dl.min.io/aistor/minio/release/linux-arm64/minio.fips) | #### Package Downloads | Format | Architecture | Download | | ------ | ------------ | ----------------------------------------------------------------------------------------------------------------------------------- | | DEB | amd64 | [minio_20251220045837.0.0_amd64.deb](https://dl.min.io/aistor/minio/release/linux-amd64/minio_20251220045837.0.0_amd64.deb) | | DEB | arm64 | [minio_20251220045837.0.0_arm64.deb](https://dl.min.io/aistor/minio/release/linux-arm64/minio_20251220045837.0.0_arm64.deb) | | RPM | amd64 | [minio-20251220045837.0.0-1.x86_64.rpm](https://dl.min.io/aistor/minio/release/linux-amd64/minio-20251220045837.0.0-1.x86_64.rpm) | | RPM | arm64 | [minio-20251220045837.0.0-1.aarch64.rpm](https://dl.min.io/aistor/minio/release/linux-arm64/minio-20251220045837.0.0-1.aarch64.rpm) | #### Container Images ```bash # Standard docker pull quay.io/minio/aistor/minio:RELEASE.2025-12-20T04-58-37Z podman pull quay.io/minio/aistor/minio:RELEASE.2025-12-20T04-58-37Z # FIPS docker pull quay.io/minio/aistor/minio:RELEASE.2025-12-20T04-58-37Z.fips podman pull quay.io/minio/aistor/minio:RELEASE.2025-12-20T04-58-37Z.fips ``` #### Homebrew (macOS) ```bash brew install minio/aistor/minio ``` ### Workarounds - [Users of the open-source `minio/minio` project should upgrade to MinIO AIStor `RELEASE.2025-12-20T04-58-37Z` or later.](https://docs.min.io/enterprise/aistor-object-store/upgrade-aistor-server/community-edition/) If upgrading is not immediately possible: - **Disable S3 Select access via IAM policy.** Deny the `s3:GetObject` action with a condition restricting `s3:prefix` on sensitive buckets, or more specifically, deny `SelectObjectContent` requests at a reverse proxy by blocking `POST` requests with `?select&select-type=2` query parameters. - **Restrict PutObject permissions.** Limit `s3:PutObject` grants to trusted principals to reduce the attack surface. Note: this reduces risk but does not eliminate the vulnerability since any authorized user can exploit it. ### References - Introducing commit: [`7c14cdb60`](https://github.com/minio/minio/commit/7c14cdb60e53dbfdad2be644dfb180cab19fffa7) ([PR #6127](https://github.com/minio/minio/pull/6127)) - [MinIO AIStor](https://min.io/aistor)
- GO-2026-5415MinIO affected a DoS via Unbounded Memory Allocation in S3 Select CSV Parsing in github.com/minio/minio2026-06-25vendor · osvUS
MinIO affected a DoS via Unbounded Memory Allocation in S3 Select CSV Parsing in github.com/minio/minio
also known as (7)
Other names and identifiers for this entity.
- CNNVD-202604-1524cnnvd
- EUVD-2026-20602enisa_euvd
- BDU:2026-15463fstec_bdu
- GHSA-h749-fxx7-pwpgenisa_euvd
- BIT-minio-2026-39414osv
- GHSA-h749-fxx7-pwpgosv
- GO-2026-5415osv
sources
Which sources assert this record, and when.
references (13)
External citations — patches, advisories, analysis.
- https://docs.min.io/enterprise/aistor-object-store/upgrade-aistor-server/community-editioncnnvd
- https://github.com/minio/minio/commit/7c14cdb60e53dbfdad2be644dfb180cab19fffa7cnnvd
- https://github.com/minio/minio/pull/8200cnnvd
- https://github.com/minio/minio/releasesPatchcnnvd
- https://github.com/minio/minio/security/advisories/GHSA-h749-fxx7-pwpgcnnvd
- https://docs.min.io/enterprise/aistor-object-store/upgrade-aistor-server/community-editionenisa_euvd
- https://github.com/minio/minio/commit/7c14cdb60e53dbfdad2be644dfb180cab19fffa7enisa_euvd
- https://github.com/minio/minio/pull/8200enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan