Skip to content

ORC-2234: Upgrade brotli4j to 1.24.0 for CVE-2026-111497 - #2725

Closed
Devdha wants to merge 1 commit into
apache:mainfrom
Devdha:security/brotli4j-1.24.0
Closed

Devdha wants to merge 1 commit into
apache:mainfrom
Devdha:security/brotli4j-1.24.0

Conversation

@Devdha

@Devdha Devdha commented Oct 24, 2026

Copy link
Copy Markdown
Contributor

Background

CVE-2026-111497 is an out-of-bounds write in the Google Brotli decoder, fixed in Brotli 1.2.1. orc-core decodes Brotli-compressed ORC streams through BrotliCodec, which uses brotli4j 1.23.0. That release bundles Brotli 1.2.0 and is therefore still vulnerable when reading an untrusted ORC file.

brotli4j 1.24.0 upgrades the bundled native decoder to Brotli 1.2.1:

Change

  • Bump the brotli4j.version property from 1.23.0 to 1.24.0.

No ORC API or file-format changes.

Testing

cd java
./mvnw -pl core -am -Dtest=TestBrotli -Dsurefire.failIfNoSpecifiedTests=false test

TestBrotli: 5 tests, 0 failures, 0 errors.

@Devdha

Devdha commented Oct 24, 2026

Copy link
Copy Markdown
Contributor Author

I could not find an existing ORC JIRA for this dependency bump. Happy to file one if the project requires it before review.

@cxzl25

cxzl25 commented Oct 26, 2026

Copy link
Copy Markdown
Contributor

I could not find an existing ORC JIRA for this dependency bump. Happy to file one if the project requires it before review.

Thanks for your contribution, you can create an ORC JIRA here. @Devdha

https://issues.apache.org/jira/projects/ORC/issues

@Devdha

Devdha commented Oct 27, 2026

Copy link
Copy Markdown
Contributor Author

Thanks for the pointer. I don't have an ASF JIRA account yet — I'll create one and file the issue, then update the PR title to the ORC key. If a committer would rather create the JIRA, I'm happy to use that key instead.

@cxzl25 cxzl25 changed the title Upgrade brotli4j to 1.24.0 for CVE-2026-111497 ORC-2234: Upgrade brotli4j to 1.24.0 for CVE-2026-111497 Oct 27, 2026
@cxzl25

cxzl25 commented Oct 27, 2026

Copy link
Copy Markdown
Contributor

If a committer would rather create the JIRA, I'm happy to use that key instead.

https://issues.apache.org/jira/browse/ORC-2234

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The brotli4j dependency update has no active review issues.

No open issues 🎉

What changed in this PR

Updates Java’s brotli4j dependency to address CVE-2026-111497 in the native Brotli decoder used to read Brotli-compressed ORC streams.

Changes:

  • Bumps brotli4j.version from 1.23.0 to 1.24.0, which bundles Brotli 1.2.1 according to the PR description.
  • Makes no ORC API or file-format changes.
File Description
java/​pom.xml Updates the shared brotli4j version to 1.24.0.

Review effort: Balanced

@cxzl25 cxzl25 closed this in e5c26bc Nov 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants