CVE catalog

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

[CVE catalog]

Severity
High · CVSS 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published
Source
[NVD] · [CVE record]
EPSS
0.49% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianacksid3.8.1-1vulnerable
Debianackforky3.8.1-1vulnerable
Debianacktrixie3.8.1-1vulnerable
Debianackbookworm3.6.0-1vulnerable
CpeackNot reportedNot reportedvulnerable
Alpineack3.243.10.0-r0fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianacksourcesid(unfixed)unimportantNot reportedNot reported
Debianacksourceforky(unfixed)unimportantNot reportedNot reported
Debianacksourcetrixie(unfixed)unimportantNot reportedNot reported
Debianacksourcebookworm(unfixed)unimportantNot reportedNot reported
Alpineackapk3.243.10.0-r0Not reportedALPINE-CVE-2026-49147Not reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [ack]Affected
    Details (2)
    • 3.6.0-1 · all · bookworm

      Affected

      nvd · ack · debian · bookworm; nvd · ack · debian · 12

    • 3.6.0-1 · all · bookworm

      Affected

      nvd · ack · debian · bookworm; nvd · ack · debian · 12

[Debian 13 (Trixie)]

  • [ack]Affected
    Details (2)
    • 3.8.1-1 · all · trixie

      Affected

      nvd · ack · debian · 13

    • 3.8.1-1 · all · trixie

      Affected

      nvd · ack · debian · 13

Observed:

References