{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-5841 exists.","fix":"Upgrade to a fixed version.","what":"CVE-2023-5841 is a critical memory corruption vulnerability in Openexr Openexr, published on 1 Feb 2024. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-5841 and fix it if it is affected.\n\nWhat it is: CVE-2023-5841 is a critical memory corruption vulnerability in Openexr Openexr, published on 1 Feb 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-5841 exists.\n\nAffected product: Openexr Openexr. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2023-5841/ (Markdown: https://insights.sbomify.com/CVE-2023-5841/index.md)","id":"CVE-2023-5841","markdown":"https://insights.sbomify.com/CVE-2023-5841/index.md","name":"CVE-2023-5841","record":{"aliases":["ALSA-2024:8800","ALSA-2024:9548","AZL-62324","CLSA-2025-1749743322","DEBIAN-CVE-2023-5841","GHSA-gxmr-rxpv-c8fq","JLSEC-2026-133","OESA-2024-1215","OESA-2024-1216","OESA-2024-1217","OESA-2024-1218","RHSA-2024:8800","RHSA-2024:8801","RHSA-2024:8802","RHSA-2024:9548","RLSA-2024:8800","RLSA-2024:9548","ROOT-OS-DEBIAN-12-CVE-2023-5841","UBUNTU-CVE-2023-5841","openSUSE-SU-2024:13683-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"OpenEXR image library","requires_auth":"none","summary":"A heap-based buffer overflow in OpenEXR allows attackers to execute arbitrary code or cause denial of service via malicious deep scanline data.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"AHA","cpe":[{"product":"openexr","vendor":"openexr"}],"cvss":{"score":9.1,"severity":"critical","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"},{"id":"CWE-122","name":"Heap-based Buffer Overflow"}],"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.","ecosystems":["AlmaLinux:9","Red Hat:enterprise_linux:9::appstream","Red Hat:enterprise_linux:9::crb","Red Hat:rhel_e4s:9.0::appstream","Red Hat:rhel_eus:9.2::appstream","Red Hat:rhel_eus:9.2::crb","Rocky Linux:9"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"OpenEXR Heap Overflow in Scanline Deep Data Parsing","id":"CVE-2023-5841","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"openexr:openexr","products":["openexr:openexr"],"type":"memory_corruption","year":"2023"},"n_packages":40,"n_references":3,"next":{"headline":"Cross-site Scripting (XSS) - Stored in dolibarr/dolibarr","id":"CVE-2023-5842"},"packages":[{"ecosystem":"AlmaLinux:9","fixed":["3.1.1-2.el9_4.1"],"introduced":["0"],"last_affected":[],"package":"openexr","purl":"pkg:rpm/almalinux/openexr","source":"ALSA-2024:8800"},{"ecosystem":"AlmaLinux:9","fixed":["3.1.1-2.el9_5.1"],"introduced":["0"],"last_affected":[],"package":"openexr","purl":"pkg:rpm/almalinux/openexr","source":"ALSA-2024:9548"},{"ecosystem":"AlmaLinux:9","fixed":["3.1.1-2.el9_4.1"],"introduced":["0"],"last_affected":[],"package":"openexr-devel","purl":"pkg:rpm/almalinux/openexr-devel","source":"ALSA-2024:8800"},{"ecosystem":"AlmaLinux:9","fixed":["3.1.1-2.el9_5.1"],"introduced":["0"],"last_affected":[],"package":"openexr-devel","purl":"pkg:rpm/almalinux/openexr-devel","source":"ALSA-2024:9548"},{"ecosystem":"AlmaLinux:9","fixed":["3.1.1-2.el9_4.1"],"introduced":["0"],"last_affected":[],"package":"openexr-libs","purl":"pkg:rpm/almalinux/openexr-libs","source":"ALSA-2024:8800"},{"ecosystem":"AlmaLinux:9","fixed":["3.1.1-2.el9_5.1"],"introduced":["0"],"last_affected":[],"package":"openexr-libs","purl":"pkg:rpm/almalinux/openexr-libs","source":"ALSA-2024:9548"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:3.1.1-2.el9_4.1"],"introduced":["0"],"last_affected":[],"package":"openexr","purl":"pkg:rpm/redhat/openexr","source":"RHSA-2024:8800"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:3.1.1-2.el9_5.1"],"introduced":["0"],"last_affected":[],"package":"openexr","purl":"pkg:rpm/redhat/openexr","source":"RHSA-2024:9548"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:3.1.1-2.el9_4.1"],"introduced":["0"],"last_affected":[],"package":"openexr-debuginfo","purl":"pkg:rpm/redhat/openexr-debuginfo","source":"RHSA-2024:8800"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:3.1.1-2.el9_5.1"],"introduced":["0"],"last_affected":[],"package":"openexr-debuginfo","purl":"pkg:rpm/redhat/openexr-debuginfo","source":"RHSA-2024:9548"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:3.1.1-2.el9_4.1"],"introduced":["0"],"last_affected":[],"package":"openexr-debugsource","purl":"pkg:rpm/redhat/openexr-debugsource","source":"RHSA-2024:8800"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:3.1.1-2.el9_5.1"],"introduced":["0"],"last_affected":[],"package":"openexr-debugsource","purl":"pkg:rpm/redhat/openexr-debugsource","source":"RHSA-2024:9548"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:3.1.1-2.el9_4.1"],"introduced":["0"],"last_affected":[],"package":"openexr-libs","purl":"pkg:rpm/redhat/openexr-libs","source":"RHSA-2024:8800"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:3.1.1-2.el9_5.1"],"introduced":["0"],"last_affected":[],"package":"openexr-libs","purl":"pkg:rpm/redhat/openexr-libs","source":"RHSA-2024:9548"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:3.1.1-2.el9_4.1"],"introduced":["0"],"last_affected":[],"package":"openexr-libs-debuginfo","purl":"pkg:rpm/redhat/openexr-libs-debuginfo","source":"RHSA-2024:8800"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:3.1.1-2.el9_5.1"],"introduced":["0"],"last_affected":[],"package":"openexr-libs-debuginfo","purl":"pkg:rpm/redhat/openexr-libs-debuginfo","source":"RHSA-2024:9548"},{"ecosystem":"Red Hat:enterprise_linux:9::crb","fixed":["0:3.1.1-2.el9_4.1"],"introduced":["0"],"last_affected":[],"package":"openexr-debuginfo","purl":"pkg:rpm/redhat/openexr-debuginfo","source":"RHSA-2024:8800"},{"ecosystem":"Red Hat:enterprise_linux:9::crb","fixed":["0:3.1.1-2.el9_5.1"],"introduced":["0"],"last_affected":[],"package":"openexr-debuginfo","purl":"pkg:rpm/redhat/openexr-debuginfo","source":"RHSA-2024:9548"},{"ecosystem":"Red Hat:enterprise_linux:9::crb","fixed":["0:3.1.1-2.el9_4.1"],"introduced":["0"],"last_affected":[],"package":"openexr-debugsource","purl":"pkg:rpm/redhat/openexr-debugsource","source":"RHSA-2024:8800"},{"ecosystem":"Red Hat:enterprise_linux:9::crb","fixed":["0:3.1.1-2.el9_5.1"],"introduced":["0"],"last_affected":[],"package":"openexr-debugsource","purl":"pkg:rpm/redhat/openexr-debugsource","source":"RHSA-2024:9548"},{"ecosystem":"Red Hat:enterprise_linux:9::crb","fixed":["0:3.1.1-2.el9_4.1"],"introduced":["0"],"last_affected":[],"package":"openexr-devel","purl":"pkg:rpm/redhat/openexr-devel","source":"RHSA-2024:8800"},{"ecosystem":"Red Hat:enterprise_linux:9::crb","fixed":["0:3.1.1-2.el9_5.1"],"introduced":["0"],"last_affected":[],"package":"openexr-devel","purl":"pkg:rpm/redhat/openexr-devel","source":"RHSA-2024:9548"},{"ecosystem":"Red Hat:enterprise_linux:9::crb","fixed":["0:3.1.1-2.el9_4.1"],"introduced":["0"],"last_affected":[],"package":"openexr-libs-debuginfo","purl":"pkg:rpm/redhat/openexr-libs-debuginfo","source":"RHSA-2024:8800"},{"ecosystem":"Red Hat:enterprise_linux:9::crb","fixed":["0:3.1.1-2.el9_5.1"],"introduced":["0"],"last_affected":[],"package":"openexr-libs-debuginfo","purl":"pkg:rpm/redhat/openexr-libs-debuginfo","source":"RHSA-2024:9548"},{"ecosystem":"Red Hat:rhel_e4s:9.0::appstream","fixed":["0:3.1.1-2.el9_0.1"],"introduced":["0"],"last_affected":[],"package":"openexr","purl":"pkg:rpm/redhat/openexr","source":"RHSA-2024:8802"},{"ecosystem":"Red Hat:rhel_e4s:9.0::appstream","fixed":["0:3.1.1-2.el9_0.1"],"introduced":["0"],"last_affected":[],"package":"openexr-debuginfo","purl":"pkg:rpm/redhat/openexr-debuginfo","source":"RHSA-2024:8802"},{"ecosystem":"Red Hat:rhel_e4s:9.0::appstream","fixed":["0:3.1.1-2.el9_0.1"],"introduced":["0"],"last_affected":[],"package":"openexr-debugsource","purl":"pkg:rpm/redhat/openexr-debugsource","source":"RHSA-2024:8802"},{"ecosystem":"Red Hat:rhel_e4s:9.0::appstream","fixed":["0:3.1.1-2.el9_0.1"],"introduced":["0"],"last_affected":[],"package":"openexr-libs","purl":"pkg:rpm/redhat/openexr-libs","source":"RHSA-2024:8802"},{"ecosystem":"Red Hat:rhel_e4s:9.0::appstream","fixed":["0:3.1.1-2.el9_0.1"],"introduced":["0"],"last_affected":[],"package":"openexr-libs-debuginfo","purl":"pkg:rpm/redhat/openexr-libs-debuginfo","source":"RHSA-2024:8802"},{"ecosystem":"Red Hat:rhel_eus:9.2::appstream","fixed":["0:3.1.1-2.el9_2.1"],"introduced":["0"],"last_affected":[],"package":"openexr","purl":"pkg:rpm/redhat/openexr","source":"RHSA-2024:8801"},{"ecosystem":"Red Hat:rhel_eus:9.2::appstream","fixed":["0:3.1.1-2.el9_2.1"],"introduced":["0"],"last_affected":[],"package":"openexr-debuginfo","purl":"pkg:rpm/redhat/openexr-debuginfo","source":"RHSA-2024:8801"},{"ecosystem":"Red Hat:rhel_eus:9.2::appstream","fixed":["0:3.1.1-2.el9_2.1"],"introduced":["0"],"last_affected":[],"package":"openexr-debugsource","purl":"pkg:rpm/redhat/openexr-debugsource","source":"RHSA-2024:8801"},{"ecosystem":"Red Hat:rhel_eus:9.2::appstream","fixed":["0:3.1.1-2.el9_2.1"],"introduced":["0"],"last_affected":[],"package":"openexr-libs","purl":"pkg:rpm/redhat/openexr-libs","source":"RHSA-2024:8801"},{"ecosystem":"Red Hat:rhel_eus:9.2::appstream","fixed":["0:3.1.1-2.el9_2.1"],"introduced":["0"],"last_affected":[],"package":"openexr-libs-debuginfo","purl":"pkg:rpm/redhat/openexr-libs-debuginfo","source":"RHSA-2024:8801"},{"ecosystem":"Red Hat:rhel_eus:9.2::crb","fixed":["0:3.1.1-2.el9_2.1"],"introduced":["0"],"last_affected":[],"package":"openexr-debuginfo","purl":"pkg:rpm/redhat/openexr-debuginfo","source":"RHSA-2024:8801"},{"ecosystem":"Red Hat:rhel_eus:9.2::crb","fixed":["0:3.1.1-2.el9_2.1"],"introduced":["0"],"last_affected":[],"package":"openexr-debugsource","purl":"pkg:rpm/redhat/openexr-debugsource","source":"RHSA-2024:8801"},{"ecosystem":"Red Hat:rhel_eus:9.2::crb","fixed":["0:3.1.1-2.el9_2.1"],"introduced":["0"],"last_affected":[],"package":"openexr-devel","purl":"pkg:rpm/redhat/openexr-devel","source":"RHSA-2024:8801"},{"ecosystem":"Red Hat:rhel_eus:9.2::crb","fixed":["0:3.1.1-2.el9_2.1"],"introduced":["0"],"last_affected":[],"package":"openexr-libs-debuginfo","purl":"pkg:rpm/redhat/openexr-libs-debuginfo","source":"RHSA-2024:8801"},{"ecosystem":"Rocky Linux:9","fixed":["0:3.1.1-2.el9_4.1"],"introduced":["0"],"last_affected":[],"package":"openexr","purl":"pkg:rpm/rocky-linux/openexr?distro=rocky-linux-9\u0026epoch=0","source":"RLSA-2024:8800"},{"ecosystem":"Rocky Linux:9","fixed":["0:3.1.1-2.el9_4.1"],"introduced":["0"],"last_affected":[],"package":"openexr","purl":"pkg:rpm/rocky-linux/openexr?distro=rocky-linux-9\u0026epoch=0","source":"RLSA-2024:9548"}],"prev":{"headline":"Weak Password Recovery Mechanism for Forgotten Password in linkstackorg/linkstack","id":"CVE-2023-5840"},"products":["OpenEXR"],"published":"2024-02-01","related":[{"cvss_score":8.8,"headline":"OpenEXR is Vulnerable to Integer overflow in ImageChannel::resize leads to heap OOB write via OpenEXRUtil public API","id":"CVE-2026-41142","kev_date_added":null,"published":"2026-05-07"},{"cvss_score":8.8,"headline":"OpenEXR: Out-of-bounds read in `IDManifest::init()` during prefix expansion","id":"CVE-2026-42216","kev_date_added":null,"published":"2026-05-07"},{"cvss_score":8.8,"headline":"OpenEXR invalid write","id":"CVE-2017-9111","kev_date_added":null,"published":"2017-05-21"},{"cvss_score":8.8,"headline":"Memory corruption in n/a","id":"CVE-2017-9113","kev_date_added":null,"published":"2017-05-21"},{"cvss_score":8.8,"headline":"Memory corruption in n/a","id":"CVE-2017-9115","kev_date_added":null,"published":"2017-05-21"},{"cvss_score":8.7,"headline":"OpenEXR: Heap information disclosure in PXR24 decompression via unchecked decompressed size (undo_pxr24_impl)","id":"CVE-2026-34543","kev_date_added":null,"published":"2026-04-01"}],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"BSD","name":"Rocky Linux","prefix":"RLSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-11-04","vendors":["Academy Software Foundation"]},"summary":"A heap-based buffer overflow in OpenEXR allows attackers to execute arbitrary code or cause denial of service via malicious deep scanline data.","url":"https://insights.sbomify.com/CVE-2023-5841/"}