{"id":"CVE-2026-49147","aliases":["CVE-2026-49147"],"related":[],"kind":"vulnerability","state":"published","title":"App::Ack versions through 3.10.0 for Perl print unsanitised terminal escape sequences from filenames in several output modes","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"Las versiones de App::Ack hasta la 3.10.0 para Perl imprimen secuencias de escape de terminal sin sanear de nombres de archivo en varios modos de salida.\n\nCuando ack imprime un nombre de archivo cuyo nombre base contiene bytes de control de terminal, como secuencias de escape ANSI, esos bytes llegan al terminal sin cambios. La versión 3.10.0 añadió una función auxiliar _safe_filename que sanea los nombres de archivo impresos por -f, -g, el encabezado de coincidencia coloreado y las líneas por coincidencia, pero las rutas --show-types, -l/-L y -c aún emiten el nombre de archivo sin procesar.\n\nUn archivo cuyo nombre incrusta escapes de movimiento de cursor o de color puede sobrescribir o recolorear la salida anterior del terminal, o ser pasado sin cambios a un consumidor posterior.","source":"nvd"}],"published":"2026-07-08T14:55:50.232Z","modified":"2026-10-25T20:10:00.147Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-150"],"affected":[{"ranges":[{"type":"custom","introduced":"0","lastAffected":"3.10.0","status":"affected"}],"vendor":"PETDANCE","product":"App::Ack","package":"ack","repo":"https://github.com/beyondgrep/ack3","source":"cvelist"}],"references":[{"url":"https://metacpan.org/release/PETDANCE/ack-v3.10.0/source/Changes","tags":["release-notes"],"sources":["cvelist","nvd"]},{"url":"http://www.openwall.com/lists/oss-security/2026/07/08/9","tags":[],"sources":["cvelist","nvd"]}],"credits":["Michał Majchrowicz (AFINE)","Marcin Wyczechowski (AFINE)"],"assigner":"CPANSec","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-07-08T15:22:36.769Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-49147","url":"https://www.cve.org/CVERecord?id=CVE-2026-49147","licence":"CVE Terms of Use","modified":"2026-07-08T17:31:34.336Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-49147","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-49147","licence":"Public domain","modified":"2026-10-25T20:10:00.147Z"}],"updatedAt":"2026-11-25T22:59:27.381Z","epss":{"score":0.00329,"percentile":0.28109,"date":"2026-12-01T12:00:22.000Z"}}