Backport fixes for CVE-2025-64181 etc. in OpenEXRCore #3903
+22
−6
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description of Change(s)
This PR attempts to backport fixes for CVE-2025-64181 / GHSA-3h9h-qfvw-98hq and other issues from OpenEXR 3.4.3.
I have made a reasonable effort to backport these intelligently, but it’s not easy for me to test this PR properly other than confirming that it still compiles.
It might be even better to rebase the bundled and modified copy of OpenEXRCore (as described in #2619) on a later version, but that’s far beyond what I can reasonably offer in a PR.
Link to proposal (if applicable)
N/A
Fixes Issue(s)
Checklist
I have created this PR based on the dev branch
I have followed the coding conventions
I have added unit tests that exercise this functionality (Reference:
testing guidelines)
N/A, no new functionality
N/A; it is hard for me to run these locally
Contributor License Agreement instructions)