Get a Demo

Let's Patch It!

Book a short call with one our specialists, we'll walk you through how Endor Patches work, and ask you a few questions about your environment (like your primary programming languages and repository management). We'll also send you an email right after you fill out the form, feel free to reply with any questions you have in advance!

CVE

CVE-2026-39414

MinIO affected a DoS via Unbounded Memory Allocation in S3 Select CSV Parsing
Back to all
CVE

CVE-2026-39414

MinIO affected a DoS via Unbounded Memory Allocation in S3 Select CSV Parsing

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

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           |

| Linux    | arm64        | minio           |

| macOS    | arm64        | minio          |

| macOS    | amd64        | minio          |

| Windows  | amd64        | minio.exe |

FIPS Binaries

| Platform | Architecture | Download                                                                    |

| -------- | ------------ | --------------------------------------------------------------------------- |

| Linux    | amd64        | minio.fips |

| Linux    | arm64        | minio.fips |

Package Downloads

| Format | Architecture | Download                                                                                                                            |

| ------ | ------------ | ----------------------------------------------------------------------------------------------------------------------------------- |

| DEB    | amd64        | minio20251220045837.0.0amd64.deb         |

| DEB    | arm64        | minio20251220045837.0.0arm64.deb         |

| RPM    | amd64        | minio-20251220045837.0.0-1.x86_64.rpm   |

| RPM    | arm64        | minio-20251220045837.0.0-1.aarch64.rpm |

Container Images

## 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)

brew install minio/aistor/minio

Workarounds

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

Package Versions Affected

Package Version
patch Availability
No items found.

Automatically patch vulnerabilities without upgrading

Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request

CVSS Version

Severity
Base Score
CVSS Version
Score Vector
C
H
U
7.1
-
4.0
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/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
C
H
U
0
-
C
H
U
6.5
-
3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Related Resources

No items found.

References

https://github.com/minio/minio/security/advisories/GHSA-h749-fxx7-pwpg, https://nvd.nist.gov/vuln/detail/CVE-2026-39414, https://github.com/minio/minio/pull/8200, https://github.com/minio/minio/commit/7c14cdb60e53dbfdad2be644dfb180cab19fffa7, https://docs.min.io/enterprise/aistor-object-store/upgrade-aistor-server/community-edition, https://github.com/minio/minio

Severity

6.5

CVSS Score
0
10

Basic Information

Ecosystem
Base CVSS
6.5
EPSS Probability
0.00058%
EPSS Percentile
0.18278%
Introduced Version
0.0.0-20180815103019-7c14cdb60e53,RELEASE.2021-06-07T21-40-51Z,v0.0.0-20210601215940-1f262daf6fe3,RELEASE.2019-09-18T21-55-05Z,v0.0.0-20190913211835-ddea0bdf1177,RELEASE.2019-01-10T00-21-20Z,v0.0.0-20190109005304-b0deea27df35,RELEASE.2018-08-18T03-49-57Z,v0.0.0-20180815103019-7c14cdb60e53
Fix Available

Fix Critical Vulnerabilities Instantly

Secure your app without upgrading.
Fix Without Upgrading