CVE-2023-5841
OpenEXR: Heap Overflow in Scanline Deep Data Parsing
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, Julia. Rated lower by Red Hat (high), AlmaLinux (high), Oracle (high), Rocky Linux (high), Amazon (medium), Ubuntu (medium).
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 and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| julia::Julia Ecosystem Security Advisories | OpenEXR_jll | 3.2.4+0 |
| alma 9 | openexr, openexr-devel, openexr-libs | 3.1.1-2.el9_5.1 |
| alpine 3.19 | openexr | 3.1.12-r0 |
| alpine 3.20 | openexr | 3.1.12-r0 |
| alpine 3.21 | openexr | 3.1.12-r0 |
| alpine 3.22 | openexr | 3.1.12-r0 |
| alpine 3.23 | openexr | 3.1.12-r0 |
| alpine 3.24 | openexr | 3.1.12-r0 |
| alpine edge | openexr | 3.1.12-r0 |
| amazon linux 2023 | openexr, openexr-debuginfo, openexr-debugsource and 3 more | 3.1.5-1.amzn2023.0.4 |
| conan::GitLab Advisory Database Community | openexr | no fix listed |
| debian 12 | openexr | no fix listed |
Show all 52 entries from 28 sources
| Source | Package | Fixed in |
|---|---|---|
| julia::Julia Ecosystem Security Advisories | OpenEXR_jll | 3.2.4+0 |
| alma 9 | openexr | 3.1.1-2.el9_5.1 |
| alma 9 | openexr-devel | 3.1.1-2.el9_5.1 |
| alma 9 | openexr-libs | 3.1.1-2.el9_5.1 |
| alpine 3.19 | openexr | 3.1.12-r0 |
| alpine 3.20 | openexr | 3.1.12-r0 |
| alpine 3.21 | openexr | 3.1.12-r0 |
| alpine 3.22 | openexr | 3.1.12-r0 |
| alpine 3.23 | openexr | 3.1.12-r0 |
| alpine 3.24 | openexr | 3.1.12-r0 |
| alpine edge | openexr | 3.1.12-r0 |
| amazon linux 2023 | openexr | 3.1.5-1.amzn2023.0.4 |
| amazon linux 2023 | openexr-debuginfo | 3.1.5-1.amzn2023.0.4 |
| amazon linux 2023 | openexr-debugsource | 3.1.5-1.amzn2023.0.4 |
| amazon linux 2023 | openexr-devel | 3.1.5-1.amzn2023.0.4 |
| amazon linux 2023 | openexr-libs | 3.1.5-1.amzn2023.0.4 |
| amazon linux 2023 | openexr-libs-debuginfo | 3.1.5-1.amzn2023.0.4 |
| conan::GitLab Advisory Database Community | openexr | no fix listed |
| debian 12 | openexr | no fix listed |
| debian 13 | openexr | 3.1.13-1 |
| debian 14 | openexr | 3.1.13-1 |
| echo | openexr | 3.1.13-1 |
| Oracle Linux 9 | openexr | 3.1.1-2.el9_5.1 |
| Oracle Linux 9 | openexr-devel | 3.1.1-2.el9_5.1 |
| Oracle Linux 9 | openexr-libs | 3.1.1-2.el9_5.1 |
| rapidfort amazon linux 2023 | openexr | 3.1.5-1.amzn2023.0.4 |
| rapidfort amazon linux 2023 | openexr-devel | 3.1.5-1.amzn2023.0.4 |
| rapidfort amazon linux 2023 | openexr-libs | 3.1.5-1.amzn2023.0.4 |
| rapidfort debian 12 | openexr | 0:3.1.13-1 |
| rapidfort debian 12 | rf-openexr | 0:3.1.13-2 |
| rapidfort debian 13 | openexr | 0:3.1.13-1 |
| rapidfort debian 13 | rf-openexr | 0:3.1.13-2 |
| rapidfort Oracle Linux 9 | openexr | 0:3.1.1-2.el9_5.1 |
| rapidfort Oracle Linux 9 | openexr-libs | 0:3.1.1-2.el9_5.1 |
| rapidfort ubuntu 20.04 | openexr | 0:3.1.13-2 |
| rapidfort ubuntu 20.04 | rf-openexr | 0:3.1.13-2 |
| rapidfort ubuntu 22.04 | openexr | 0:3.1.13-2 |
| rapidfort ubuntu 22.04 | rf-openexr | 0:3.1.13-2 |
| rapidfort ubuntu 24.04 | openexr | 0:3.1.13-2 |
| rapidfort ubuntu 24.04 | rf-openexr | 0:3.1.13-2 |
| Red Hat | OpenEXR | no fix listed |
| Red Hat | OpenEXR-devel | no fix listed |
| Red Hat | OpenEXR-libs | no fix listed |
| Red Hat | gimp:flatpak::OpenEXR | no fix listed |
| Red Hat | gimp:flatpak::OpenEXR-devel | no fix listed |
| Red Hat | gimp:flatpak::OpenEXR-libs | no fix listed |
| rocky 9 | openexr | 3.1.1-2.el9_4.1 |
| rocky 9 | openexr-libs | 3.1.1-2.el9_4.1 |
| root.io debian 12 | openexr | 3.1.5-5.root.io.1, 3.1.5-5.root.io.2, 3.1.5-5.root.io.3, 3.1.5-5.root.io.4, 3.1.5-5.root.io.5, 3.1.5-5.root.io.6, 3.1.5-5.root.io.7, 3.1.5-5.root.io.8, 3.1.5-5.root.io.9, 3.1.5-5.root.io.10, 3.1.5-5.root.io.11, 3.1.5-5.root.io.12, 3.1.5-5.root.io.13, 3.1.5-5.root.io.14, 3.1.5-5.root.io.15, 3.1.5-5.root.io.16, 3.1.5-5.root.io.17, 3.1.5-5.root.io.18, 3.1.5-5.root.io.19, 3.1.5-5.root.io.20, 3.1.5-5.root.io.21 |
| root.io debian 12 | rootio-openexr | 3.1.5-5.root.io.1, 3.1.5-5.root.io.2, 3.1.5-5.root.io.3, 3.1.5-5.root.io.4, 3.1.5-5.root.io.5, 3.1.5-5.root.io.6, 3.1.5-5.root.io.7, 3.1.5-5.root.io.8, 3.1.5-5.root.io.9, 3.1.5-5.root.io.10, 3.1.5-5.root.io.11, 3.1.5-5.root.io.12, 3.1.5-5.root.io.13, 3.1.5-5.root.io.14, 3.1.5-5.root.io.15, 3.1.5-5.root.io.16, 3.1.5-5.root.io.17, 3.1.5-5.root.io.18, 3.1.5-5.root.io.19, 3.1.5-5.root.io.20, 3.1.5-5.root.io.21 |
| root.io debian 13 | rootio-openexr | 3.1.13-1 |
| ubuntu 24.04 | openexr | no fix listed |
References
- http://seclists.org/fulldisclosure/2024/Sep/32
- http://seclists.org/fulldisclosure/2024/Sep/34
- http://seclists.org/fulldisclosure/2024/Sep/36
- https://access.redhat.com/errata/RHSA-2024:9548
- https://access.redhat.com/security/cve/CVE-2023-5841
- https://bugzilla.redhat.com/2262397
- https://bugzilla.redhat.com/show_bug.cgi?id=2262397
- https://creativecommons.org/licenses/by/4.0/
All 21 references
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-5841
- https://errata.almalinux.org/9/ALSA-2024-9548.html
- https://errata.rockylinux.org/RLSA-2024:9548
- https://github.com/AcademySoftwareFoundation/openexr/commit/46944c3a87ebc6c5d9a9a4962a94569ba1082bc3
- https://github.com/AcademySoftwareFoundation/openexr/issues/1625
- https://github.com/AcademySoftwareFoundation/openexr/pull/1627
- https://linux.oracle.com/cve/CVE-2023-5841.html
- https://linux.oracle.com/errata/ELSA-2024-9548.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/
- https://nvd.nist.gov/vuln/detail/CVE-2023-5841
- https://takeonme.org/cves/CVE-2023-5841.html
- https://www.cve.org/CVERecord?id=CVE-2023-5841