UBUNTU-CVE-2026-49147
App::Ack versions through 3.10.0 for Perl print unsanitised terminal escape sequences from filenames in several output modes. This allows filenames containing terminal control bytes such as ANSI escape sequences to be printed unchanged, potentially overwriting or recoloring earlier terminal output or affecting downstream consumers. Version 3.10.0 introduced partial sanitization for some output modes, but others still emit raw filenames.
AI Analysis
Technical Summary
The vulnerability in App::Ack versions up to 3.10.0 involves printing unsanitised terminal escape sequences embedded in filenames. When ack outputs filenames whose basenames contain terminal control bytes (e.g., ANSI escape sequences), these bytes are passed to the terminal without sanitization in certain output modes (--show-types, -l/-L, and -c). This can lead to manipulation of terminal display or unintended effects on downstream processes consuming the output. Version 3.10.0 added a _safe_filename helper to sanitize filenames in some output modes (-f, -g, colored match heading, and per-match lines), but not all paths are sanitized.
Potential Impact
The impact is primarily on terminal output integrity and availability. Unsanitised terminal escape sequences in filenames can overwrite or recolor previous terminal output, potentially causing confusion or hiding information. Additionally, these sequences can be passed unchanged to downstream consumers, which might lead to unexpected behavior or disruption. The CVSS vector indicates no confidentiality or integrity impact, but a high impact on availability (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H). No known exploits in the wild have been reported.
Mitigation Recommendations
No explicit patch or official fix information is provided in the input data. Version 3.10.0 partially mitigates the issue by sanitizing filenames in some output modes, but others remain vulnerable. Users should upgrade to versions later than 3.10.0 when available to benefit from improved sanitization. Until then, avoid using vulnerable output modes with untrusted filenames containing terminal control sequences. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.
UBUNTU-CVE-2026-49147
Description
App::Ack versions through 3.10.0 for Perl print unsanitised terminal escape sequences from filenames in several output modes. This allows filenames containing terminal control bytes such as ANSI escape sequences to be printed unchanged, potentially overwriting or recoloring earlier terminal output or affecting downstream consumers. Version 3.10.0 introduced partial sanitization for some output modes, but others still emit raw filenames.
CVSS v3.1
Score 7.5high
Affected software
pkg:deb/ubuntu/[email protected]?arch=source&distro=focalRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in App::Ack versions up to 3.10.0 involves printing unsanitised terminal escape sequences embedded in filenames. When ack outputs filenames whose basenames contain terminal control bytes (e.g., ANSI escape sequences), these bytes are passed to the terminal without sanitization in certain output modes (--show-types, -l/-L, and -c). This can lead to manipulation of terminal display or unintended effects on downstream processes consuming the output. Version 3.10.0 added a _safe_filename helper to sanitize filenames in some output modes (-f, -g, colored match heading, and per-match lines), but not all paths are sanitized.
Potential Impact
The impact is primarily on terminal output integrity and availability. Unsanitised terminal escape sequences in filenames can overwrite or recolor previous terminal output, potentially causing confusion or hiding information. Additionally, these sequences can be passed unchanged to downstream consumers, which might lead to unexpected behavior or disruption. The CVSS vector indicates no confidentiality or integrity impact, but a high impact on availability (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H). No known exploits in the wild have been reported.
Mitigation Recommendations
No explicit patch or official fix information is provided in the input data. Version 3.10.0 partially mitigates the issue by sanitizing filenames in some output modes, but others remain vulnerable. Users should upgrade to versions later than 3.10.0 when available to benefit from improved sanitization. Until then, avoid using vulnerable output modes with untrusted filenames containing terminal control sequences. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- UBUNTU-CVE-2026-49147
- Osv Schema Version
- 1.7.0
- Aliases
- []
- Ecosystems
- ["Ubuntu:18.04:LTS","Ubuntu:20.04:LTS","Ubuntu:22.04:LTS","Ubuntu:24.04:LTS","Ubuntu:25.10","Ubuntu:26.04:LTS"]
- Database Specific Severity
- null
- Cvss Version
- 3.1
Threat ID: 6a58b49568715ace43da7e06
Added to database: 07/16/2026, 10:38:13 UTC
Last enriched: 07/16/2026, 12:25:37 UTC
Last updated: 07/31/2026, 19:24:47 UTC
Views: 7
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.