Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAttacker plants malicious .ackrc in repository
-
DeliveryVictim clones and runs ack in directory
-
Exploitack loads project .ackrc with huge -C/-B/-A value
-
ExecutionUnbounded context line buffer allocated
-
ImpactMemory exhaustion crashes ack/host (DoS)
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource allocation limits
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires an attacker-controlled project-level .ackrc file in a directory the victim searches, containing an -A, -B, or -C context option set to a very large value (the fix rejects values above 10,000). The victim must run ack from within that directory with default configuration processing enabled. Exploitation is limited by needing local placement of the .ackrc (typically via a cloned/shared repository), the victim actually invoking ack there, and ack being a pre-3.10.0 version; it is prevented entirely if the user runs with --noenv or removes the malicious .ackrc. Despite the NVD AV:N rating, no genuine remote network path exists - the vector is local configuration. |
| Impact | The published CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, 7.5) scores this as a network, unauthenticated, availability-only issue, but that conflicts with the actual mechanism: the trigger is a local project .ackrc file and a victim who runs ack in that directory - verify with vendor, because this is realistically a local, user-interaction-dependent attack (closer to AV:L/UI:R), which lowers real-world severity below what 7.5 implies. Impact is confined to availability (C:N/I:N/A:H) - no code execution or data exposure from this specific CVE. No EPSS score, KEV entry, or SSVC decision data was provided; there is no public exploit or evidence of active exploitation, though the fixing commit publicly documents the mechanism. Net assessment: a low-to-moderate priority DoS affecting developer workstations/CI that process untrusted repositories, not an internet-facing critical. |
| Exploit ScenarioDerived | An attacker publishes a repository (or otherwise plants files in a shared directory) containing a .ackrc that specifies an enormous context value such as -C 2000000000. A developer clones the repo and runs ack to search the code; ack honors the project .ackrc, attempts to buffer that many context lines around matches, and consumes all available memory, hanging or crashing the process and potentially the workstation or CI runner. No public POC is published, but the mechanism is documented in the public fix commit and requires only local file placement plus normal use of ack. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv3 – Jul 08, 2026
Denial of service in the ack code-search tool (App::Ack / ack3) before v3.10.0 allows a project-scoped .ackrc file to trigger memory exhaustion by setting an unbounded -A/-B/-C context value. When a victim runs ack inside a directory containing an attacker-supplied .ackrc, the oversized context request forces unbounded buffering and can exhaust process/host memory. No public exploit identified at time of analysis; not listed in CISA KEV.
Earlier versions of this analysis (2)
Memory exhaustion (denial of service) in the ack / ack3 (App::Ack) Perl source-code search tool allows a malicious project-level .ackrc file to specify enormous -A/-B/-C context values that force ack to buffer huge numbers of context lines until the process is killed. The upstream fix (v3.10.0, Alpine 3.10.0-r0) caps context values at 10,000 and throws an error above that. There is no public exploit identified at time of analysis, and this CVE is not in CISA KEV; note the vendor CVSS advertises a network vector while the actual trigger is a config file read from the working directory.
Alpine Linux patched the 'ack' text-search utility at package version 3.10.0-r0. The nature of the underlying vulnerability is not disclosed in the available CVE record - no description, CVSS score, CWE classification, or exploit detail has been published. This analysis is severely constrained by data scarcity; security teams should treat this as a signal to update the ack package on Alpine Linux systems while awaiting fuller disclosure from the vendor or NVD.
RemediationAI
Vendor-released patch: ack v3.10.0 (Alpine package ack-3.10.0-r0) - upgrade to this version or later, which caps -A/-B/-C context values at 10,000 and aborts with an error when exceeded. Apply your distribution's update (e.g. apk upgrade ack on Alpine) or reinstall from CPAN (PETDANCE/ack-v3.10.0). Until patched, the practical compensating control is to avoid running ack in directories containing untrusted project .ackrc files: inspect or delete a repository's .ackrc before searching in cloned/third-party trees, or run ack with the --noenv flag to ignore project and user .ackrc entirely (trade-off: you lose all project-specific ack configuration). In automated/CI contexts, run ack under a memory ulimit/cgroup so a runaway context value fails the job rather than exhausting the host. Advisory/changelog: https://metacpan.org/release/PETDANCE/ack-v3.10.0/source/Changes and https://seclists.org/oss-sec/2026/q3/100 .
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
ack is a Perl-based grep-alternative (App::Ack) that reads configuration from a project-local .ackrc in the current directory. The -A (after), -B (before) and -C (context) options control how many surrounding lines are buffered around each match. Before v3.10.0, App::Ack::ConfigLoader::get_arg_spec applied no upper bound to these values (defaulting only negatives to 2), so a large integer caused ack to allocate and retain a correspondingly large line buffer. This is a classic CWE-770 (Allocation of Resources Without Limits or Throttling) issue: attacker-influenced configuration drives unbounded resource allocation. The fix caps context at 10,000 and calls App::Ack::die when exceeded (t/context.yaml adds tests for -C/-B with 20000|30000 throwing exitcode 1). Note the same 3.10.0 release bundles two unrelated fixes - CVE-2026-49147 (filename ANSI escape sequences, addressed via _safe_filename control-char stripping) and CVE-2026-49145 (--follow/--files-from exfiltration via project .ackrc, addressed by marking follow! illegal) - plus a defensive 'no re eval' RCE hardening; those are distinct from this memory-exhaustion issue.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack requires a local malicious project .ackrc and the victim running ack (AV:L, UI:R), no privileges (PR:N), availability-only impact from memory exhaustion (C:N/I:N/A:H).
Primary rating from Vendor (vendor:alpine).
CVSS VectorVendor: vendor:alpine
Lifecycle Timeline
4DescriptionCVE.org
Alpine Linux: ack fixed in 3.10.0-r0
Executive ViewAI
The ack code-search tool vulnerability (CVE-2026-49146) enables denial-of-service attacks through malicious configuration files, risking software delivery delays and team productivity. Organizations deploying ack in CI/CD pipelines and development environments face operational risk requiring immediate remediation. A vendor patch is available for rapid deployment.
Apply vendor patch (ack v3.10.0).
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
EUVD-2026-42274
GHSA-hf7w-mcpw-97mf
NVD
CVE.org
EPSS
Exploit-DB