ack — security advisory
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.
- Products
- ack
- Affected versions
- 3.6.0-1, 3.7.0-1, 3.8.1-1
- Fixed versions
- Not specified
- CVEs
- CVE-2026-49147
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 12:20 UTC · Revision 2
Source evidence
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.
osv:DEBIAN-CVE-2026-49147
ack
Fixed versions: Not specified
ack
Fixed versions: Not specified
ack
Fixed versions: Not specified
Complete source record
{
"id": "c9844729c00dde578e448e3914da80dfcf46c84e9e3ebbc5bc72cbdb8b73c4cb",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2026-49147",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2026-49147",
"summary": "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.",
"evidence": "osv:DEBIAN-CVE-2026-49147",
"products": [
{
"name": {
"value": "ack",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "3.6.0-1",
"evidence": "/affected/0/versions"
},
{
"value": "3.7.0-1",
"evidence": "/affected/0/versions"
},
{
"value": "3.8.1-1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "ack",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "3.8.1-1",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "ack",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "3.8.1-1",
"evidence": "/affected/2/versions"
}
]
}
],
"severity": "high",
"structured": {
"id": "DEBIAN-CVE-2026-49147",
"aliases": [
"DEBIAN-CVE-2026-49147"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "ack",
"purl": "pkg:deb/debian/ack?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"versions": [
"3.6.0-1",
"3.7.0-1",
"3.8.1-1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-49147.json"
},
"ecosystem_specific": {
"urgency": "unimportant"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "ack",
"purl": "pkg:deb/debian/ack?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"versions": [
"3.8.1-1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-49147.json"
},
"ecosystem_specific": {
"urgency": "unimportant"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "ack",
"purl": "pkg:deb/debian/ack?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"versions": [
"3.8.1-1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-49147.json"
},
"ecosystem_specific": {
"urgency": "unimportant"
}
}
],
"modified": "2026-10-26T11:47:34.132276786Z",
"provider": "osv",
"upstream": [
"CVE-2026-49147"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2026-49147"
]
},
"related_cves": [
{
"value": "CVE-2026-49147",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 450887,
"published_at": "2026-07-08T15:16:27.787+00:00"
}