CERT Polska disclosed CVE-2026-18370, a heap-based buffer overflow in eradman entr affecting all versions through 5.8. The flaw is in the run_utility() function, which allocates a fixed-size heap buffer with malloc(ARG_MAX) and then advances the destination pointer using strlcpy()'s return value. When the buffer is filled exactly, the remaining length can underflow as an unsigned size_t, creating an out-of-bounds write condition that can corrupt memory, crash the process, and cause denial of service.
The issue matches CWE-122: Heap-based Buffer Overflow and can be triggered locally with command-line arguments whose combined length exactly fills the buffer, or by abusing entr's /_ substitution feature to expand a short token into a longer pathname at runtime. CERT Polska said the vulnerability was responsibly reported by Michał Majchrowicz and Marcin Wyczechowski of the AFINE Team, coordinated disclosure, and noted that the bug was fixed in commit 2467fe0.

See affected versions and whether adversaries are exploiting it.
1 event from the most recent confirmed update back to the earliest known activity.
CERT Polska disclosed CVE-2026-18370, a heap-based buffer overflow in eradman entr affecting all versions through 5.8. The advisory says the flaw in run_utility() can be triggered locally to cause memory corruption, process abort, and denial of service, and notes it was fixed in commit 2467fe0.
Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.
See whether adversaries are exploiting this yet, and where the affected versions run in your environment.
2 references tracked. Mallory keeps watching after this page renders.
Map indicators from this story to your assets and identify affected systems in minutes.
Every observed campaign, victim, and pivot linked to actors named in this story.
Malware, exploits, and IOCs connected to the activity described here.
YARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Get matching new stories delivered to your team as they break — not the next morning.
Ask questions about this story and take action on the answers.