CVE-2026-49147
Full vulnerability record from the local CVENow database.
Description
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.
Severity
HIGH
CVSS score
7.5
(v3.1)
Vulnerability status
Deferred
Source identifier
9b29abf9-4ab0-4765-b253-1875cd9b441e
Published
2026-07-08 15:16:27.787000
Last modified
2026-10-25 20:10:00.147000
View original CVE JSON
{
"id": "CVE-2026-49147",
"sourceIdentifier": "9b29abf9-4ab0-4765-b253-1875cd9b441e",
"published": "2026-07-08T15:16:27.787",
"lastModified": "2026-10-25T20:10:00.147",
"vulnStatus": "Deferred",
"cveTags": [],
"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."
},
{
"lang": "es",
"value": "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."
}
],
"affected": [
{
"source": "9b29abf9-4ab0-4765-b253-1875cd9b441e",
"affectedData": [
{
"vendor": "PETDANCE",
"product": "App::Ack",
"defaultStatus": "unaffected",
"collectionURL": "https://cpan.org/modules",
"packageName": "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",
"versions": [
{
"version": "0",
"lessThanOrEqual": "3.10.0",
"versionType": "custom",
"status": "affected"
}
]
}
]
}
],
"metrics": {
"cvssMetricV31": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"type": "Secondary",
"cvssData": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"baseScore": 7.5,
"baseSeverity": "HIGH",
"attackVector": "NETWORK",
"attackComplexity": "LOW",
"privilegesRequired": "NONE",
"userInteraction": "NONE",
"scope": "UNCHANGED",
"confidentialityImpact": "NONE",
"integrityImpact": "NONE",
"availabilityImpact": "HIGH"
},
"exploitabilityScore": 3.9,
"impactScore": 3.6
}
],
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"timestamp": "2026-07-08T15:22:36.769783Z",
"id": "CVE-2026-49147",
"options": [
{
"exploitation": "none"
},
{
"automatable": "yes"
},
{
"technicalImpact": "partial"
}
],
"role": "CISA Coordinator",
"version": "2.0.3"
}
}
]
},
"weaknesses": [
{
"source": "9b29abf9-4ab0-4765-b253-1875cd9b441e",
"type": "Secondary",
"description": [
{
"lang": "en",
"value": "CWE-150"
}
]
}
],
"references": [
{
"url": "https://metacpan.org/release/PETDANCE/ack-v3.10.0/source/Changes",
"source": "9b29abf9-4ab0-4765-b253-1875cd9b441e"
},
{
"url": "http://www.openwall.com/lists/oss-security/2026/07/08/9",
"source": "af854a3a-2127-422b-91ae-364da2661108"
}
]
}