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. EPSS estimates a 0.13% chance of exploitation in the next 30 days.
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
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
- Deferred
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-18365The zportals WordPress plugin before 6.4.2 does not perform …4.3
- CVE-2026-18366The Events Manager WordPress plugin before 7.4.1 does not p…9.8
- CVE-2026-18367A privilege escalation vulnerability allows local users to e…9.3
- CVE-2026-18368In Teltonika Networks RUTOS devices, a vulnerability exists …6
- 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-18371HTML injection vulnerability in M-Files Web before 26.8.1633…5.1
- CVE-2026-18372CSS injection vulnerability in M-Files Web before 26.8.16330…4.8
- CVE-2026-18374Passing an effectively empty string to the `,ccs=` syntax ex…4.9
- CVE-2026-18378A flaw was found in koku-metrics-operator. The operator's Co…6.8
- 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
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
