CVE-2026-49147App::Ack versions through 3.10.0 for Perl print unsanitised terminal escape sequences from filenames in several output modes
Updated under an hour ago ()
Does this affect you?
It affects PETDANCE App::Ack. Add what you run to find out whether that includes you.
No exploitation reported and no EPSS estimate yet.
Do this next
Free account, 1 product
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.
- CVSS
- 7.5 HIGH (v3.1, CISA ADP)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weakness (CWE)
- CWE-150
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- Not loaded for this CVE
- Assigned by
- CPANSec
- NVD analysis
- Deferred
- Record last updated
- Jul 8, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
PETDANCE App::Ack petdance:app_ack (from the name) | through 3.10.0 | CNA record |
References
- https://metacpan.org/release/PETDANCE/ack-v3.10.0/source/Changesrelease-notes
- http://www.openwall.com/lists/oss-security/2026/07/08/9
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.