{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2024-38796 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2024-38796 is a medium-severity vulnerability in TianoCore EDK2, published on 27 Sep 2024. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-38796 and fix it if it is affected.\n\nWhat it is: CVE-2024-38796 is a medium-severity vulnerability in TianoCore EDK2, published on 27 Sep 2024. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-38796 in the wild and no public exploit code.\n\nAffected product: TianoCore EDK2. 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-2024-38796/ (Markdown: https://insights.sbomify.com/CVE-2024-38796/index.md)","id":"CVE-2024-38796","markdown":"https://insights.sbomify.com/CVE-2024-38796/index.md","name":"CVE-2024-38796","record":{"aliases":["ALSA-2024:11185","ALSA-2024:11219","AZL-49710","AZL-49713","AZL-49716","DEBIAN-CVE-2024-38796","GHSA-xpcr-7hjq-m6qm","OESA-2024-2265","RHSA-2024:10268","RHSA-2024:10272","RHSA-2024:11185","RHSA-2024:11194","RHSA-2024:11219","RHSA-2024:9921","RHSA-2024:9930","RHSA-2024:9946","RHSA-2024:9956","RLSA-2024:11185","RLSA-2024:11219","UBUNTU-CVE-2024-38796"],"analysis":{"component_type":"hardware_firmware","fix_type":"patch","impacts":["code_execution","denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"UEFI firmware","requires_auth":"low_privilege","summary":"An integer overflow in EDK2 allows attackers to cause memory corruption via network, leading to potential code execution or denial of service.","user_interaction":"not_required","vuln_class":"integer_overflow"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"TianoCore","cpe":[],"cvss":{"score":5.9,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:A/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:L","version":"3.1"},"cwes":[{"id":"CWE-122","name":"Heap-based Buffer Overflow"}],"description":"EDK2 contains a vulnerability in the PeCoffLoaderRelocateImage(). An Attacker may cause memory corruption due to an overflow via an adjacent network. A successful exploit of this vulnerability may lead to a loss of Confidentiality, Integrity, and/or Availability.","ecosystems":["AlmaLinux:8","AlmaLinux:9","Red Hat:enterprise_linux:8::appstream","Red Hat:enterprise_linux:9::appstream","Red Hat:enterprise_linux:9::crb","Red Hat:rhel_aus:8.2::appstream","Red Hat:rhel_aus:8.4::appstream","Red Hat:rhel_aus:8.6::appstream","Red Hat:rhel_e4s:8.4::appstream","Red Hat:rhel_e4s:8.6::appstream","Red Hat:rhel_e4s:9.0::appstream","Red Hat:rhel_eus:8.8::appstream","Red Hat:rhel_eus:9.2::appstream","Red Hat:rhel_eus:9.2::crb","Red Hat:rhel_eus:9.4::appstream","Red Hat:rhel_eus:9.4::crb","Red Hat:rhel_tus:8.4::appstream","Red Hat:rhel_tus:8.6::appstream","Rocky Linux:8","Rocky Linux:9"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Integer overflow in PeCoffLoaderRelocateImage","id":"CVE-2024-38796","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"integer_overflow","year":"2024"},"n_packages":59,"n_references":1,"next":{"headline":"Out-of-bounds Read in HashPeImageByType()","id":"CVE-2024-38797"},"packages":[{"ecosystem":"AlmaLinux:8","fixed":["20220126gitbb1bba3d77-13.el8_10.4"],"introduced":["0"],"last_affected":[],"package":"edk2-aarch64","purl":"pkg:rpm/almalinux/edk2-aarch64","source":"ALSA-2024:11185"},{"ecosystem":"AlmaLinux:8","fixed":["20220126gitbb1bba3d77-13.el8_10.4"],"introduced":["0"],"last_affected":[],"package":"edk2-ovmf","purl":"pkg:rpm/almalinux/edk2-ovmf","source":"ALSA-2024:11185"},{"ecosystem":"AlmaLinux:9","fixed":["20240524-6.el9_5.3"],"introduced":["0"],"last_affected":[],"package":"edk2-aarch64","purl":"pkg:rpm/almalinux/edk2-aarch64","source":"ALSA-2024:11219"},{"ecosystem":"AlmaLinux:9","fixed":["20240524-6.el9_5.3"],"introduced":["0"],"last_affected":[],"package":"edk2-ovmf","purl":"pkg:rpm/almalinux/edk2-ovmf","source":"ALSA-2024:11219"},{"ecosystem":"AlmaLinux:9","fixed":["20240524-6.el9_5.3"],"introduced":["0"],"last_affected":[],"package":"edk2-tools","purl":"pkg:rpm/almalinux/edk2-tools","source":"ALSA-2024:11219"},{"ecosystem":"AlmaLinux:9","fixed":["20240524-6.el9_5.3"],"introduced":["0"],"last_affected":[],"package":"edk2-tools-doc","purl":"pkg:rpm/almalinux/edk2-tools-doc","source":"ALSA-2024:11219"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:20220126gitbb1bba3d77-13.el8_10.4"],"introduced":["0"],"last_affected":[],"package":"edk2","purl":"pkg:rpm/redhat/edk2","source":"RHSA-2024:11185"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:20220126gitbb1bba3d77-13.el8_10.4"],"introduced":["0"],"last_affected":[],"package":"edk2-aarch64","purl":"pkg:rpm/redhat/edk2-aarch64","source":"RHSA-2024:11185"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:20220126gitbb1bba3d77-13.el8_10.4"],"introduced":["0"],"last_affected":[],"package":"edk2-ovmf","purl":"pkg:rpm/redhat/edk2-ovmf","source":"RHSA-2024:11185"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:20240524-6.el9_5.3"],"introduced":["0"],"last_affected":[],"package":"edk2","purl":"pkg:rpm/redhat/edk2","source":"RHSA-2024:11219"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:20240524-6.el9_5.3"],"introduced":["0"],"last_affected":[],"package":"edk2-aarch64","purl":"pkg:rpm/redhat/edk2-aarch64","source":"RHSA-2024:11219"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:20240524-6.el9_5.3"],"introduced":["0"],"last_affected":[],"package":"edk2-ovmf","purl":"pkg:rpm/redhat/edk2-ovmf","source":"RHSA-2024:11219"},{"ecosystem":"Red Hat:enterprise_linux:9::crb","fixed":["0:20240524-6.el9_5.3"],"introduced":["0"],"last_affected":[],"package":"edk2-aarch64","purl":"pkg:rpm/redhat/edk2-aarch64","source":"RHSA-2024:11219"},{"ecosystem":"Red Hat:enterprise_linux:9::crb","fixed":["0:20240524-6.el9_5.3"],"introduced":["0"],"last_affected":[],"package":"edk2-debugsource","purl":"pkg:rpm/redhat/edk2-debugsource","source":"RHSA-2024:11219"},{"ecosystem":"Red Hat:enterprise_linux:9::crb","fixed":["0:20240524-6.el9_5.3"],"introduced":["0"],"last_affected":[],"package":"edk2-ovmf","purl":"pkg:rpm/redhat/edk2-ovmf","source":"RHSA-2024:11219"},{"ecosystem":"Red Hat:enterprise_linux:9::crb","fixed":["0:20240524-6.el9_5.3"],"introduced":["0"],"last_affected":[],"package":"edk2-tools","purl":"pkg:rpm/redhat/edk2-tools","source":"RHSA-2024:11219"},{"ecosystem":"Red Hat:enterprise_linux:9::crb","fixed":["0:20240524-6.el9_5.3"],"introduced":["0"],"last_affected":[],"package":"edk2-tools-debuginfo","purl":"pkg:rpm/redhat/edk2-tools-debuginfo","source":"RHSA-2024:11219"},{"ecosystem":"Red Hat:enterprise_linux:9::crb","fixed":["0:20240524-6.el9_5.3"],"introduced":["0"],"last_affected":[],"package":"edk2-tools-doc","purl":"pkg:rpm/redhat/edk2-tools-doc","source":"RHSA-2024:11219"},{"ecosystem":"Red Hat:rhel_aus:8.2::appstream","fixed":["0:20190829git37eef91017ad-9.el8_2.6"],"introduced":["0"],"last_affected":[],"package":"edk2","purl":"pkg:rpm/redhat/edk2","source":"RHSA-2024:9946"},{"ecosystem":"Red Hat:rhel_aus:8.2::appstream","fixed":["0:20190829git37eef91017ad-9.el8_2.6"],"introduced":["0"],"last_affected":[],"package":"edk2-ovmf","purl":"pkg:rpm/redhat/edk2-ovmf","source":"RHSA-2024:9946"},{"ecosystem":"Red Hat:rhel_aus:8.4::appstream","fixed":["0:20200602gitca407c7246bf-4.el8_4.7"],"introduced":["0"],"last_affected":[],"package":"edk2","purl":"pkg:rpm/redhat/edk2","source":"RHSA-2024:10272"},{"ecosystem":"Red Hat:rhel_aus:8.4::appstream","fixed":["0:20200602gitca407c7246bf-4.el8_4.7"],"introduced":["0"],"last_affected":[],"package":"edk2-ovmf","purl":"pkg:rpm/redhat/edk2-ovmf","source":"RHSA-2024:10272"},{"ecosystem":"Red Hat:rhel_aus:8.6::appstream","fixed":["0:20220126gitbb1bba3d77-2.el8_6.7"],"introduced":["0"],"last_affected":[],"package":"edk2","purl":"pkg:rpm/redhat/edk2","source":"RHSA-2024:11194"},{"ecosystem":"Red Hat:rhel_aus:8.6::appstream","fixed":["0:20220126gitbb1bba3d77-2.el8_6.7"],"introduced":["0"],"last_affected":[],"package":"edk2-ovmf","purl":"pkg:rpm/redhat/edk2-ovmf","source":"RHSA-2024:11194"},{"ecosystem":"Red Hat:rhel_e4s:8.4::appstream","fixed":["0:20200602gitca407c7246bf-4.el8_4.7"],"introduced":["0"],"last_affected":[],"package":"edk2","purl":"pkg:rpm/redhat/edk2","source":"RHSA-2024:10272"},{"ecosystem":"Red Hat:rhel_e4s:8.4::appstream","fixed":["0:20200602gitca407c7246bf-4.el8_4.7"],"introduced":["0"],"last_affected":[],"package":"edk2-ovmf","purl":"pkg:rpm/redhat/edk2-ovmf","source":"RHSA-2024:10272"},{"ecosystem":"Red Hat:rhel_e4s:8.6::appstream","fixed":["0:20220126gitbb1bba3d77-2.el8_6.7"],"introduced":["0"],"last_affected":[],"package":"edk2","purl":"pkg:rpm/redhat/edk2","source":"RHSA-2024:11194"},{"ecosystem":"Red Hat:rhel_e4s:8.6::appstream","fixed":["0:20220126gitbb1bba3d77-2.el8_6.7"],"introduced":["0"],"last_affected":[],"package":"edk2-aarch64","purl":"pkg:rpm/redhat/edk2-aarch64","source":"RHSA-2024:11194"},{"ecosystem":"Red Hat:rhel_e4s:8.6::appstream","fixed":["0:20220126gitbb1bba3d77-2.el8_6.7"],"introduced":["0"],"last_affected":[],"package":"edk2-ovmf","purl":"pkg:rpm/redhat/edk2-ovmf","source":"RHSA-2024:11194"},{"ecosystem":"Red Hat:rhel_e4s:9.0::appstream","fixed":["0:20220126gitbb1bba3d77-3.el9_0.6"],"introduced":["0"],"last_affected":[],"package":"edk2","purl":"pkg:rpm/redhat/edk2","source":"RHSA-2024:9930"},{"ecosystem":"Red Hat:rhel_e4s:9.0::appstream","fixed":["0:20220126gitbb1bba3d77-3.el9_0.6"],"introduced":["0"],"last_affected":[],"package":"edk2-aarch64","purl":"pkg:rpm/redhat/edk2-aarch64","source":"RHSA-2024:9930"},{"ecosystem":"Red Hat:rhel_e4s:9.0::appstream","fixed":["0:20220126gitbb1bba3d77-3.el9_0.6"],"introduced":["0"],"last_affected":[],"package":"edk2-ovmf","purl":"pkg:rpm/redhat/edk2-ovmf","source":"RHSA-2024:9930"},{"ecosystem":"Red Hat:rhel_eus:8.8::appstream","fixed":["0:20220126gitbb1bba3d77-4.el8_8.7"],"introduced":["0"],"last_affected":[],"package":"edk2","purl":"pkg:rpm/redhat/edk2","source":"RHSA-2024:10268"},{"ecosystem":"Red Hat:rhel_eus:8.8::appstream","fixed":["0:20220126gitbb1bba3d77-4.el8_8.7"],"introduced":["0"],"last_affected":[],"package":"edk2-aarch64","purl":"pkg:rpm/redhat/edk2-aarch64","source":"RHSA-2024:10268"},{"ecosystem":"Red Hat:rhel_eus:8.8::appstream","fixed":["0:20220126gitbb1bba3d77-4.el8_8.7"],"introduced":["0"],"last_affected":[],"package":"edk2-ovmf","purl":"pkg:rpm/redhat/edk2-ovmf","source":"RHSA-2024:10268"},{"ecosystem":"Red Hat:rhel_eus:9.2::appstream","fixed":["0:20221207gitfff6d81270b5-9.el9_2.5"],"introduced":["0"],"last_affected":[],"package":"edk2","purl":"pkg:rpm/redhat/edk2","source":"RHSA-2024:9956"},{"ecosystem":"Red Hat:rhel_eus:9.2::appstream","fixed":["0:20221207gitfff6d81270b5-9.el9_2.5"],"introduced":["0"],"last_affected":[],"package":"edk2-aarch64","purl":"pkg:rpm/redhat/edk2-aarch64","source":"RHSA-2024:9956"},{"ecosystem":"Red Hat:rhel_eus:9.2::appstream","fixed":["0:20221207gitfff6d81270b5-9.el9_2.5"],"introduced":["0"],"last_affected":[],"package":"edk2-ovmf","purl":"pkg:rpm/redhat/edk2-ovmf","source":"RHSA-2024:9956"},{"ecosystem":"Red Hat:rhel_eus:9.2::crb","fixed":["0:20221207gitfff6d81270b5-9.el9_2.5"],"introduced":["0"],"last_affected":[],"package":"edk2-aarch64","purl":"pkg:rpm/redhat/edk2-aarch64","source":"RHSA-2024:9956"},{"ecosystem":"Red Hat:rhel_eus:9.2::crb","fixed":["0:20221207gitfff6d81270b5-9.el9_2.5"],"introduced":["0"],"last_affected":[],"package":"edk2-debugsource","purl":"pkg:rpm/redhat/edk2-debugsource","source":"RHSA-2024:9956"}],"prev":{"headline":"WordPress ListingPro plugin \u003c= 2.9.4 - Unauthenticated SQL Injection vulnerability","id":"CVE-2024-38795"},"products":["EDK2"],"published":"2024-09-27","related":[],"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":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-11-03","vendors":["TianoCore"]},"summary":"An integer overflow in EDK2 allows attackers to cause memory corruption via network, leading to potential code execution or denial of service.","url":"https://insights.sbomify.com/CVE-2024-38796/"}