{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-49147","assignerOrgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","state":"PUBLISHED","assignerShortName":"CPANSec","dateReserved":"2026-05-27T17:50:04.538Z","datePublished":"2026-07-08T14:55:50.232Z","dateUpdated":"2026-07-08T17:31:34.336Z"},"containers":{"cna":{"affected":[{"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"}]}],"credits":[{"lang":"en","type":"finder","value":"Michał Majchrowicz (AFINE)"},{"lang":"en","type":"finder","value":"Marcin Wyczechowski (AFINE)"}],"descriptions":[{"lang":"en","value":"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."}],"problemTypes":[{"descriptions":[{"cweId":"CWE-150","description":"CWE-150 Improper Neutralization of Escape, Meta, or Control Sequences","lang":"en","type":"CWE"}]}],"providerMetadata":{"orgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","shortName":"CPANSec","dateUpdated":"2026-07-08T14:55:50.232Z"},"references":[{"tags":["release-notes"],"url":"https://metacpan.org/release/PETDANCE/ack-v3.10.0/source/Changes"}],"solutions":[{"lang":"en","value":"Upgrade to a future ack release."}],"source":{"discovery":"UNKNOWN"},"timeline":[{"lang":"en","time":"2026-06-07T00:00:00.000Z","value":"Version 3.10.0 released with partial fix for most output paths."}],"title":"App::Ack versions through 3.10.0 for Perl print unsanitised terminal escape sequences from filenames in several output modes","workarounds":[{"lang":"en","value":"Pipe ack output through a filter that strips terminal control characters when running ack over untrusted filenames."}],"x_generator":{"engine":"cpansec-cna-tool 0.1"}},"adp":[{"metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":7.5,"attackVector":"NETWORK","baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","integrityImpact":"NONE","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"NONE","confidentialityImpact":"NONE"}},{"other":{"type":"ssvc","content":{"timestamp":"2026-07-08T15:22:36.769783Z","id":"CVE-2026-49147","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2026-07-08T15:22:39.294Z"}},{"title":"CVE Program Container","references":[{"url":"http://www.openwall.com/lists/oss-security/2026/07/08/9"}],"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2026-07-08T17:31:34.336Z"}}]}}