CVE Catalog

CVE-2026-49147

HighCVSS 7.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.33%

25th percentile - higher than 25% of all known CVEs

Summary

A vulnerability in App::Ack through version 3.10.0 for Perl causes unsanitized terminal escape sequences from filenames to be printed in several output modes. When ack prints a filename containing terminal control bytes like ANSI escape sequences, those bytes reach the terminal unchanged. Version 3.10.0 added a _safe_filename helper that sanitizes filenames in -f, -g, colored match heading, and per-match lines, but the --show-types, -l/-L, and -c paths still emit the raw filename.

Risk Assessment

A file whose name embeds cursor-movement or color escapes can overwrite or recolor earlier terminal output, potentially leading to manipulation of displayed data or passing unsanitized data to a downstream consumer.

Recommendation

It is recommended to update App::Ack to the latest version that includes full sanitization of filenames in all output modes. If an update is not possible, avoid using the --show-types, -l/-L, and -c modes with files of unknown names.

Other vulnerabilities in App::Ack

See all
Original NVD description (English source)

App::Ack versions through 3.10.0 for Perl print unsanitised terminal escape sequences from filenames in several output modes. When ack prints a filename whose basename contains terminal control bytes such as ANSI escape sequences, those bytes reach the terminal unchanged. Version 3.10.0 added a _safe_filename helper that sanitises the filenames printed by -f, -g, the colored match heading, and per-match lines, but the --show-types, -l/-L, and -c paths still emit the raw filename. A file whose name embeds cursor-movement or color escapes can overwrite or recolor earlier terminal output, or be passed unchanged to a downstream consumer.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS