# CVE-2026-34380: OpenEXR has a signed integer overflow (undefined behavior) in undo\_pxr24\_impl may allow bounds-check bypass in PXR24 decompression

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.9
- **CVSS:** 5.9 (v3.1, CNA) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Privileges required: None; User interaction: Required; Scope: Unchanged; Confidentiality impact: None; Integrity impact: Low; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.40% (percentile 26, 2026-11-28)
- **CWE:** CWE-190, CWE-787
- **Published:** 2026-04-06T15:22:40.198Z
- **Modified:** 2026-10-26T21:10:00.170Z

## Who should check

- Anyone running AcademySoftwareFoundation openexr \>= 3.2.0, \< 3.2.7; \>= 3.3.0, \< 3.3.9; \>= 3.4.0, \< 3.4.9

## Description

OpenEXR provides the specification and reference implementation of the EXR file format, an image storage format for the motion picture industry. From 3.2.0 to before 3.2.7, 3.3.9, and 3.4.9, a signed integer overflow exists in undo\_pxr24\_impl() in src/lib/OpenEXRCore/internal\_pxr24.c at line 377. The expression (uint64\_t)(w \* 3) computes w \* 3 as a signed 32-bit integer before casting to uint64\_t. When w is large, this multiplication constitutes undefined behavior under the C standard. On tested builds (clang/gcc without sanitizers), two's-complement wraparound commonly occurs, and for specific values of w the wrapped result is a small positive integer, which may allow the subsequent bounds check to pass incorrectly. If the check is bypassed, the decoding loop proceeds to write pixel data through dout, potentially extending far beyond the allocated output buffer. This vulnerability is fixed in 3.2.7, 3.3.9, and 3.4.9.

## Affected and fixed versions

- AcademySoftwareFoundation openexr: \>= 3.2.0, \< 3.2.7; \>= 3.3.0, \< 3.3.9; \>= 3.4.0, \< 3.4.9 (cvelist)

## Mitigation

- Upgrade openexr to 3.4.9 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-34380. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-34380.md
Affected: AcademySoftwareFoundation openexr >= 3.2.0, < 3.2.7; >= 3.3.0, < 3.3.9; >= 3.4.0, < 3.4.9
Fixed in: AcademySoftwareFoundation openexr 3.2.7, AcademySoftwareFoundation openexr 3.3.9, AcademySoftwareFoundation openexr 3.4.9

Steps:
1. Search this machine and project for AcademySoftwareFoundation openexr: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-34380 being exploited?

There is no confirmed exploitation: CVE-2026-34380 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.40% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-34380?

Medium: CVSS 5.9 (v3.1, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2026-34380?

AcademySoftwareFoundation openexr \>= 3.2.0, \< 3.2.7; \>= 3.3.0, \< 3.3.9; \>= 3.4.0, \< 3.4.9.

### Is there a fix for CVE-2026-34380?

Yes. Fixed in AcademySoftwareFoundation openexr 3.2.7, AcademySoftwareFoundation openexr 3.3.9, AcademySoftwareFoundation openexr 3.4.9. Upgrade openexr to 3.4.9 or later.

### How do I check if I'm affected by CVE-2026-34380?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/AcademySoftwareFoundation/openexr/security/advisories/GHSA-q3v8-hw4m-59w5>
- other: <https://github.com/AcademySoftwareFoundation/openexr/releases/tag/v3.2.7>
- other: <https://github.com/AcademySoftwareFoundation/openexr/releases/tag/v3.3.9>
- other: <https://github.com/AcademySoftwareFoundation/openexr/releases/tag/v3.4.9>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-34380>

HTML: <https://flawdb.com/CVE-2026-34380> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-34380>
