{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2026-18370 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2026-18370 is a medium-severity memory corruption vulnerability in eradman entr, published on 10 Aug 2026. 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-2026-18370 and fix it if it is affected.\n\nWhat it is: CVE-2026-18370 is a medium-severity memory corruption vulnerability in eradman entr, published on 10 Aug 2026. 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-2026-18370 in the wild and no public exploit code.\n\nAffected product: eradman entr. 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-18370/ (Markdown: https://insights.sbomify.com/CVE-2026-18370/index.md)","id":"CVE-2026-18370","markdown":"https://insights.sbomify.com/CVE-2026-18370/index.md","name":"CVE-2026-18370","record":{"aliases":["DEBIAN-CVE-2026-18370","GHSA-qpgw-rgmq-2367","OESA-2026-3486","OESA-2026-3487","OESA-2026-3488","UBUNTU-CVE-2026-18370"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Linux file watcher","requires_auth":"low_privilege","summary":"A local attacker can trigger a heap-based buffer overflow in entr via command-line arguments, causing memory corruption and denial of service.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"CERT-PL","cpe":[],"cvss":{"score":4.8,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-122","name":"Heap-based Buffer Overflow"}],"description":"entr is vulnerable to Heap-based buffer overflow in run_utility() function. The function allocates a fixed-size heap buffer using malloc(ARG_MAX) and copies command-line arguments into it. It advances the destination pointer based on the return value of strlcpy(), which returns the total length of the source string rather than the number of bytes written. When the buffer is exactly filled, the remaining size underflows as an unsigned size_t, causing subsequent copies to write out of bounds. This can be triggered by supplying command-line arguments whose combined length fills the buffer, or via the /_ substitution feature which expands a short token into a longer pathname at runtime. The local attacker can cause memory corruption, process abort, and denial of service. \n\nThis issue was fixed in commit 2467fe0","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":"Heap-based buffer overflow in entr","id":"CVE-2026-18370","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"memory_corruption","year":"2026"},"n_packages":0,"n_references":3,"next":{"headline":"HTML injection in M-Files Web","id":"CVE-2026-18371"},"packages":[],"prev":{"headline":"Server-side request forgery in Red Hat Certificate System 10","id":"CVE-2026-18369"},"products":["entr"],"published":"2026-08-10","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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-08-10","vendors":["eradman"]},"summary":"A local attacker can trigger a heap-based buffer overflow in entr via command-line arguments, causing memory corruption and denial of service.","url":"https://insights.sbomify.com/CVE-2026-18370/"}