OESA-2026-3487

Source
https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2026-3487
Import Source
https://repo.openeuler.org/security/data/osv/OESA-2026-3487.json
JSON Data
https://api.osv.dev/v1/vulns/OESA-2026-3487
Upstream
Published
2026-08-20T10:01:45Z
Modified
2026-08-20T10:15:04Z
Severity
  • 4.8 (Medium) CVSS_V4 - 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 CVSS Calculator
Summary
entr security update
Details

A file watcher, which can run specified commands when target files change.

Security Fix(es):

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.(CVE-2026-18370)

Database specific
{
    "severity": "Medium"
}
References

Affected packages

openEuler:24.03-LTS-SP4 / entr

Package

Name
entr
Purl
pkg:rpm/openEuler/entr&distro=openEuler-24.03-LTS-SP4

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
5.8-2.oe2403sp4

Ecosystem specific

{
    "aarch64": [
        "entr-5.8-2.oe2403sp4.aarch64.rpm",
        "entr-debuginfo-5.8-2.oe2403sp4.aarch64.rpm",
        "entr-debugsource-5.8-2.oe2403sp4.aarch64.rpm"
    ],
    "src": [
        "entr-5.8-2.oe2403sp4.src.rpm"
    ],
    "x86_64": [
        "entr-5.8-2.oe2403sp4.x86_64.rpm",
        "entr-debuginfo-5.8-2.oe2403sp4.x86_64.rpm",
        "entr-debugsource-5.8-2.oe2403sp4.x86_64.rpm"
    ]
}

Database specific

source
"https://repo.openeuler.org/security/data/osv/OESA-2026-3487.json"