Vulnerability · Published Feb 1, 2024 · Assigned by AHA
CVE-2023-5841OpenEXR Heap Overflow in Scanline Deep Data Parsing
Critical 9.1
In plain English
A critical-severity heap buffer overflow in OpenEXR from Academy Software Foundation. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.2% (higher than 69% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Due to a failure in validating the number of scanline samples of a OpenEXR file containing deep scanline data, Academy Software Foundation OpenEX image parsing library version 3.2.1 and prior is susceptible to a heap-based buffer overflow vulnerability. This issue was resolved as of versions v3.2.2 and v3.1.12 of the affected library.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:9 | openexr | 3.1.1-2.el9_4.1 | ALSA-2024:8800 |
| AlmaLinux:9 | openexr | 3.1.1-2.el9_5.1 | ALSA-2024:9548 |
| AlmaLinux:9 | openexr-devel | 3.1.1-2.el9_4.1 | ALSA-2024:8800 |
| AlmaLinux:9 | openexr-devel | 3.1.1-2.el9_5.1 | ALSA-2024:9548 |
| AlmaLinux:9 | openexr-libs | 3.1.1-2.el9_4.1 | ALSA-2024:8800 |
| AlmaLinux:9 | openexr-libs | 3.1.1-2.el9_5.1 | ALSA-2024:9548 |
| Alpine:v3.20 | openexr | 3.1.12-r0 | ALPINE-CVE-2023-5841 |
| Alpine:v3.21 | openexr | 3.1.12-r0 | ALPINE-CVE-2023-5841 |
| Alpine:v3.22 | openexr | 3.1.12-r0 | ALPINE-CVE-2023-5841 |
| Alpine:v3.23 | openexr | 3.1.12-r0 | ALPINE-CVE-2023-5841 |
| Alpine:v3.24 | openexr | 3.1.12-r0 | ALPINE-CVE-2023-5841 |
| Debian:12 | openexr | no fix listed | DEBIAN-CVE-2023-5841 |
| Debian:13 | openexr | 3.1.13-1 | DEBIAN-CVE-2023-5841 |
| Debian:14 | openexr | 3.1.13-1 | DEBIAN-CVE-2023-5841 |
| Rocky Linux:9 | openexr | 0:3.1.1-2.el9_4.1 | RLSA-2024:8800 |
| Rocky Linux:9 | openexr | 0:3.1.1-2.el9_4.1 | RLSA-2024:9548 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Academy Software Foundation | OpenEXR | 0 – through 3.2.1 |
Weakness: CWE-122 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
References
- https://takeonme.org/cves/CVE-2023-5841.html
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LSB6DB5LAKGPLRXEF5HDNGUMT7GIFT2C/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XWMINVKQLSUHECXBSQMZFCSDRIHFOJJI/
- http://seclists.org/fulldisclosure/2024/Sep/36
- http://seclists.org/fulldisclosure/2024/Sep/34
- http://seclists.org/fulldisclosure/2024/Sep/32