Skip to main content
VulnerabilityPublished Updated

CVE-2026-18370: entr is vulnerable to Heap-based buffer overflow in run_utility() function

Affects entrSource GCVE Database

0
Compare
Authoritative record:CVE-2026-18370· Medium 4.8

Not known to be exploited · CVSS 4.8 Medium.

Data as of 24 Nov 2026, 21:15 UTC

CVSS 4.0 base score
4.8Medium
How severe the flaw is on the 0–10 CVSS scale.
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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 10 Aug 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
Ubuntu 26.10entrpkg:deb/ubuntu/entr?arch=source&distro=stonkingOther threatsAffected
  • =5.7-1build1
  • =5.8-1
Fixed in–
Ubuntu 26.04 LTSentrpkg:deb/ubuntu/entr?arch=source&distro=resoluteOther threatsAffected
  • =5.7-1
  • =5.7-1build1
Fixed in–
Ubuntu 24.04 LTSentrpkg:deb/ubuntu/entr?arch=source&distro=nobleOther threatsAffected
  • =5.3-1
  • =5.5-1
Fixed in–
Ubuntu 22.04 LTSentrpkg:deb/ubuntu/entr?arch=source&distro=jammyOther threatsAffected
  • =4.8-1
  • =5.0-1
  • =5.1-1
Fixed in–
Ubuntu 20.04 LTSentrpkg:deb/ubuntu/entr?arch=source&distro=focalOther threatsAffected
  • =4.1-1
  • =4.3-1
  • =4.4-1
Fixed in–
Ubuntu 18.04 LTSentrpkg:deb/ubuntu/entr?arch=source&distro=bionicOther threatsAffected
  • =3.7-1
  • =3.9-1
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

Community reviews

Loading reviews…