{"id":"CVE-2026-49147","published":"2026-07-08T14:55:50Z","modified":"2026-07-08T17:31:34Z","title":"App::Ack versions through 3.10.0 for Perl print unsanitised terminal escape sequences from filenames in several output…","vendor":"PETDANCE","product":"App::Ack","tier":"tail","description":{"text":"App::Ack versions through 3.10.0 for Perl print unsanitised terminal escape sequences from filenames in several output modes.\n\nWhen 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.\n\nA file whose name embeds cursor-movement or color escapes can overwrite or recolor earlier terminal output, or be passed unchanged to a downstream consumer.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00488,"percentile":0.42904,"provenance":"source"},"cwes":[{"id":"CWE-150","name":"Improper Neutralization of Escape, Meta, or Control Sequences"}],"references":[{"url":"https://metacpan.org/release/PETDANCE/ack-v3.10.0/source/Changes","tags":["release-notes"]},{"url":"http://www.openwall.com/lists/oss-security/2026/07/08/9","tags":[]}],"priority":{"score":13.8,"factors":[{"name":"EPSS percentile","points":8.58},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"petdance","affectedVersions":[{"vendor":"PETDANCE","product":"App::Ack","versions":["<= 3.10.0"]}],"solutions":{"items":["Upgrade to a future ack release."],"from":"CVE.org CNA","provenance":"source"},"workarounds":{"items":["Pipe ack output through a filter that strips terminal control characters when running ack over untrusted filenames."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-07-08T15:22:36.769783Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-42275","exploited":false,"provenance":"source"}}