UBUNTU-CVE-2026-49147

Source
https://ubuntu.com/security/CVE-2026-49147
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-49147.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-49147
Upstream
Published
2026-07-08T15:16:00Z
Modified
2026-07-15T19:47:26Z
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
  • Ubuntu - medium
Summary
[none]
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 _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.

References

Affected packages

Ubuntu:18.04:LTS
ack

Package

Name
ack
Purl
pkg:deb/ubuntu/ack?arch=source&distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.22-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "ack",
            "binary_version": "2.22-1"
        },
        {
            "binary_name": "ack-grep",
            "binary_version": "2.22-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-49147.json"
Ubuntu:20.04:LTS
ack

Package

Name
ack
Purl
pkg:deb/ubuntu/ack?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

3.*
3.0.2-1
3.1.3-1
3.2.0-1
3.3.1-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "ack",
            "binary_version": "3.3.1-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-49147.json"
Ubuntu:22.04:LTS
ack

Package

Name
ack
Purl
pkg:deb/ubuntu/ack?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

3.*
3.4.0-1
3.5.0-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "ack",
            "binary_version": "3.5.0-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-49147.json"
Ubuntu:24.04:LTS
ack

Package

Name
ack
Purl
pkg:deb/ubuntu/ack?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

3.*
3.7.0-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "ack",
            "binary_version": "3.7.0-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-49147.json"
Ubuntu:25.10
ack

Package

Name
ack
Purl
pkg:deb/ubuntu/ack?arch=source&distro=questing

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

3.*
3.7.0-1
3.8.1-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "ack",
            "binary_version": "3.8.1-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-49147.json"
Ubuntu:26.04:LTS
ack

Package

Name
ack
Purl
pkg:deb/ubuntu/ack?arch=source&distro=resolute

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

3.*
3.8.1-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "ack",
            "binary_version": "3.8.1-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-49147.json"