CVE Explorer
CVE-2026-49147
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
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"collectionURL":"https://cpan.org/modules","defaultStatus":"unaffected","packageName":"ack","product":"App::Ack","programFiles":["lib/App/Ack.pm","ack"],"programRoutines":[{"name":"App::Ack::show_types"},{"name":"file_loop_lL"},{"name":"file_loop_c"}],"repo":"https://github.com/beyondgrep/ack3","vendor":"PETDANCE","versions":[{"lessThanOrEqual":"3.10.0","status":"affected","version":"0","versionType":"custom"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:1638040e9a01d68fe255eaf01c06fb135d4d94f12e59d7404043e11f14c5c1e1 · sha256:5cbe97ddc52b1961… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:1638040e9a01d68fe255eaf01c06fb135d4d94f12e59d7404043e11f14c5c1e1 · sha256:5cbe97ddc52b1961… · /containers/adp/0/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-150","description":"CWE-150 Improper Neutralization of Escape, Meta, or Control Sequences","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:1638040e9a01d68fe255eaf01c06fb135d4d94f12e59d7404043e11f14c5c1e1 · sha256:5cbe97ddc52b1961… · /containers/cna/problemTypes/0/descriptions/0
Source references
2 source assertions{"url":"http://www.openwall.com/lists/oss-security/2026/07/08/9"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:1638040e9a01d68fe255eaf01c06fb135d4d94f12e59d7404043e11f14c5c1e1 · sha256:5cbe97ddc52b1961… · /containers/adp/1/references/0
{"tags":["release-notes"],"url":"https://metacpan.org/release/PETDANCE/ack-v3.10.0/source/Changes"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:1638040e9a01d68fe255eaf01c06fb135d4d94f12e59d7404043e11f14c5c1e1 · sha256:5cbe97ddc52b1961… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.