CVE-2026-18370
Last modified
CVE-2026-18370 is a medium-severity vulnerability rated 4.8/10 on the CVSS scale. 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.
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. This issue was fixed in commit 2467fe0
Metrics
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| eradman | entr | <= 5.8 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-18370?
How severe is CVE-2026-18370?
How do I fix CVE-2026-18370?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-18362The IRIS web application in version 2.4.26 and possibly othe…5.9
- CVE-2026-18363A logic vulnerability in the password reset token validation…9.1
- CVE-2026-18366The Events Manager WordPress plugin before 7.4.1 does not p…
- CVE-2026-18367A privilege escalation vulnerability allows local users to e…9.3
- CVE-2026-18369A flaw was found in Dogtag PKI's ACME responder where the HT…5.8
- CVE-2026-1837A specially-crafted file can cause libjxl's decoder to write…7.5
- CVE-2026-18378A flaw was found in koku-metrics-operator. The operator's Co…7.6
- CVE-2026-1838The Hostel plugin for WordPress is vulnerable to Reflected C…6.1
- CVE-2026-18381A flaw was found in the koku-metrics-operator for Red Hat Op…7.6
- CVE-2026-18382A flaw was found in koku-metrics-operator. The operator's Co…6.8
- CVE-2026-1839A vulnerability in the HuggingFace Transformers library, spe…7.8
- CVE-2026-18391The WooCommerce Subscriptions WordPress plugin before 9.1.0 …
Are you affected by CVE-2026-18370?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
