CVE-2026-49147

Source
https://cve.org/CVERecord?id=CVE-2026-49147
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-49147.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-49147
Downstream
Related
Published
2026-07-08T14:55:50.232Z
Modified
2026-07-10T04:02:59.148535317Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
App::Ack versions through 3.10.0 for Perl print unsanitised terminal escape sequences from filenames in several output modes
Details

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 safefilename 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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/49xxx/CVE-2026-49147.json",
    "cna_assigner": "CPANSec",
    "cwe_ids": [
        "CWE-150"
    ]
}
References

Affected packages

Git / github.com/beyondgrep/ack3

Affected ranges

Type
GIT
Repo
https://github.com/beyondgrep/ack3
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Database specific
{
    "source": "AFFECTED_FIELD",
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "3.10.0"
        }
    ]
}

Affected versions

2.*
2.18
2.18r
2.999_01
2.999_02
2.999_04
2.999_05
2.999_06
2.999_07
2.999_08
v3.*
v3.0.0
v3.0.1
v3.0.2
v3.0.3
v3.1.0
v3.1.1
v3.1.2
v3.1.3
v3.10.0
v3.4.0
v3.5.0
v3.6.0
v3.8.0
v3.8.1
v3.8.2
v3.9.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-49147.json"