{"answers":{"affected":"It affects 4 products.","exploited":"There is no known exploitation of CVE-2026-5745 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2026-5745 is a medium-severity vulnerability in Libarchive Libarchive, published on 7 Apr 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-5745 and fix it if it is affected.\n\nWhat it is: CVE-2026-5745 is a medium-severity vulnerability in Libarchive Libarchive, published on 7 Apr 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2026-5745 in the wild and no public exploit code.\n\nAffected product: Libarchive Libarchive. 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-2026-5745/ (Markdown: https://insights.sbomify.com/CVE-2026-5745/index.md)","id":"CVE-2026-5745","markdown":"https://insights.sbomify.com/CVE-2026-5745/index.md","name":"CVE-2026-5745","record":{"aliases":["CLSA-2026-1776429223","CLSA-2026-1776430169","DEBIAN-CVE-2026-5745","ECHO-56a7-5917-6302","GHSA-fjqv-vj6q-4fcm","MINI-wr42-pmv9-vrfw","UBUNTU-CVE-2026-5745"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Libarchive library","requires_auth":"none","summary":"A null pointer dereference in libarchive's ACL parser allows attackers to cause a denial of service via crafted archives.","user_interaction":"required","vuln_class":"null_dereference"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"libarchive","vendor":"libarchive"},{"product":"enterprise_linux","vendor":"redhat"},{"product":"hardened_images","vendor":"redhat"},{"product":"openshift_container_platform","vendor":"redhat"}],"cvss":{"score":5.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-476","name":"NULL Pointer Dereference"}],"description":"A flaw was found in libarchive. A NULL pointer dereference vulnerability exists in the ACL parsing logic, specifically within the archive_acl_from_text_nl() function. When processing a malformed ACL string (such as a bare \"d\" or \"default\" tag without subsequent fields), the function fails to perform adequate validation before advancing the pointer. An attacker can exploit this by providing a maliciously crafted archive, causing an application utilizing the libarchive API (such as bsdtar) to crash, resulting in a Denial of Service (DoS).","ecosystems":[],"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":"Libarchive: a null pointer dereference vulnerability exists in the acl parser of libarchive","id":"CVE-2026-5745","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"libarchive:libarchive","products":["libarchive:libarchive","redhat:enterprise_linux","redhat:hardened_images","redhat:openshift_container_platform"],"type":"null_dereference","year":"2026"},"n_packages":0,"n_references":3,"next":{"headline":"Out-of-bounds Write in Firecracker virtio-pci Transport","id":"CVE-2026-5747"},"packages":[],"prev":{"headline":"Cross-site scripting in SimpLy Gallery","id":"CVE-2026-5743"},"products":["Red Hat Enterprise Linux 10","Red Hat Enterprise Linux 6","Red Hat Enterprise Linux 7","Red Hat Enterprise Linux 8","Red Hat Enterprise Linux 9","Red Hat Hardened Images","Red Hat OpenShift Container Platform 4"],"published":"2026-04-07","related":[{"cvss_score":9.1,"headline":"Memory corruption in n/a","id":"CVE-2024-37407","kev_date_added":null,"published":"2024-06-08"},{"cvss_score":8.8,"headline":"Memory corruption in n/a","id":"CVE-2016-1541","kev_date_added":null,"published":"2016-05-07"},{"cvss_score":8.6,"headline":"Integer overflow in n/a","id":"CVE-2016-6250","kev_date_added":null,"published":"2016-09-21"},{"cvss_score":7.8,"headline":"Libarchive: double free at archive_read_format_rar_seek_data() in archive_read_support_format_rar.c","id":"CVE-2025-5914","kev_date_added":null,"published":"2025-06-09"},{"cvss_score":7.8,"headline":"Memory corruption in n/a","id":"CVE-2024-48957","kev_date_added":null,"published":"2024-10-10"},{"cvss_score":7.8,"headline":"Memory corruption in n/a","id":"CVE-2024-48958","kev_date_added":null,"published":"2024-10-10"},{"cvss_score":7.8,"headline":"Integer overflow in n/a","id":"CVE-2016-4300","kev_date_added":null,"published":"2016-09-21"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-09-01","vendors":["Red Hat"]},"summary":"A null pointer dereference in libarchive's ACL parser allows attackers to cause a denial of service via crafted archives.","url":"https://insights.sbomify.com/CVE-2026-5745/"}