CVE-2026-18370: entr is vulnerable to Heap-based buffer overflow in run_utility() function
Affects entrSource GCVE Database
Not known to be exploited · CVSS 4.8 Medium.
Data as of 24 Nov 2026, 21:15 UTC
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 5% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 10 Aug 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10entrpkg:deb/ubuntu/entr?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSentrpkg:deb/ubuntu/entr?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSentrpkg:deb/ubuntu/entr?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSentrpkg:deb/ubuntu/entr?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 20.04 LTSentrpkg:deb/ubuntu/entr?arch=source&distro=focalOther threats | Affected
| Fixed in– |
Ubuntu 18.04 LTSentrpkg:deb/ubuntu/entr?arch=source&distro=bionicOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
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
References
- ubuntu.com/security/CVE-2026-18370 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-18370 (opens in a new tab)
- cert.pl/en/posts/2026/08/CVE-2026-18370 (opens in a new tab)
- eradman.com/entrproject/ (opens in a new tab)
- github.com/eradman/entr/commit/2467fe0aa5f2b1b074110a9186ef51d35809c9a4 (opens in a new tab)