CVE-2025-54389
AIDE Terminal Escape Sequence Injection Vulnerability
Description
AIDE is an advanced intrusion detection environment. Prior to version 0.19.2, there is an improper output neutralization vulnerability in AIDE. An attacker can craft a malicious filename by including terminal escape sequences to hide the addition or removal of the file from the report and/or tamper with the log output. A local user might exploit this to bypass the AIDE detection of malicious files. Additionally the output of extended attribute key names and symbolic links targets are also not properly neutralized. This issue has been patched in version 0.19.2. A workaround involves configuring AIDE to write the report output to a regular file, redirecting stdout to a regular file, or redirecting the log output written to stderr to a regular file.
INFO
Published Date :
Aug. 14, 2025, 4:15 p.m.
Last Modified :
Aug. 19, 2025, 7:11 p.m.
Remotely Exploit :
No
Source :
[email protected]
Affected Products
The following products are affected by CVE-2025-54389
vulnerability.
Even if cvefeed.io
is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
CVSS Scores
Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
---|---|---|---|---|---|---|
CVSS 3.1 | MEDIUM | [email protected] | ||||
CVSS 3.1 | MEDIUM | [email protected] |
Solution
- Upgrade the AIDE packages to version 0.19.2 or later.
- If unable to upgrade, configure AIDE to write the report output to a regular file, redirect stdout to a regular file, or redirect the log output written to stderr to a regular file.
Public PoC/Exploit Available at Github
CVE-2025-54389 has a 2 public
PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2025-54389
.
URL | Resource |
---|---|
https://github.com/aide/aide/commit/64c8f32b0349c33fb8382784af468338078851f9 | Patch |
https://github.com/aide/aide/releases/tag/v0.19.2 | Release Notes |
https://github.com/aide/aide/security/advisories/GHSA-522j-vvx9-gg28 | Exploit Vendor Advisory Mitigation |
https://github.com/aide/aide/security/advisories/GHSA-522j-vvx9-gg28 | Exploit Vendor Advisory Mitigation |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2025-54389
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2025-54389
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
DSA and DLA for Debian last 14 days
Python
None
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2025-54389
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2025-54389
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Aug. 19, 2025
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N Added CPE Configuration OR *cpe:2.3:a:advanced_intrusion_detection_environment_project:advanced_intrusion_detection_environment:*:*:*:*:*:*:*:* versions up to (excluding) 0.19.2 Added Reference Type GitHub, Inc.: https://github.com/aide/aide/commit/64c8f32b0349c33fb8382784af468338078851f9 Types: Patch Added Reference Type GitHub, Inc.: https://github.com/aide/aide/releases/tag/v0.19.2 Types: Release Notes Added Reference Type CISA-ADP: https://github.com/aide/aide/security/advisories/GHSA-522j-vvx9-gg28 Types: Exploit, Mitigation, Vendor Advisory Added Reference Type GitHub, Inc.: https://github.com/aide/aide/security/advisories/GHSA-522j-vvx9-gg28 Types: Exploit, Mitigation, Vendor Advisory -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Aug. 14, 2025
Action Type Old Value New Value Added Reference https://github.com/aide/aide/security/advisories/GHSA-522j-vvx9-gg28 -
New CVE Received by [email protected]
Aug. 14, 2025
Action Type Old Value New Value Added Description AIDE is an advanced intrusion detection environment. Prior to version 0.19.2, there is an improper output neutralization vulnerability in AIDE. An attacker can craft a malicious filename by including terminal escape sequences to hide the addition or removal of the file from the report and/or tamper with the log output. A local user might exploit this to bypass the AIDE detection of malicious files. Additionally the output of extended attribute key names and symbolic links targets are also not properly neutralized. This issue has been patched in version 0.19.2. A workaround involves configuring AIDE to write the report output to a regular file, redirecting stdout to a regular file, or redirecting the log output written to stderr to a regular file. Added CVSS V3.1 AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N Added CWE CWE-117 Added Reference https://github.com/aide/aide/commit/64c8f32b0349c33fb8382784af468338078851f9 Added Reference https://github.com/aide/aide/releases/tag/v0.19.2 Added Reference https://github.com/aide/aide/security/advisories/GHSA-522j-vvx9-gg28