Skip to main content

ack EUVDEUVD-2026-42274

| CVE-2026-49146 HIGH
Allocation of Resources Without Limits or Throttling (CWE-770)
N/A vendor:alpine GHSA-hf7w-mcpw-97mf
7.5
CVSS 3.1 · Vendor: vendor:alpine
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Attacker plants malicious .ackrc in repository
  2. Delivery
    Victim clones and runs ack in directory
  3. Exploit
    ack loads project .ackrc with huge -C/-B/-A value
  4. Execution
    Unbounded context line buffer allocated
  5. Impact
    Memory 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv3 – 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)
v2 Jul 08, 2026 - 16:32 cvss changed CVSS 7.5

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.

v1 Jun 08, 2026 - 17:33

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

App::Ack 0 <3.10.0

Affected Packages

euvd app_ack fix: 3.10.0

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

Vendor (vendor:alpine) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 5.5 MEDIUM

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

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (vendor:alpine).

CVSS VectorVendor: vendor:alpine

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

4
Analysis Updated
Jul 08, 2026 - 16:32 vuln.today
v3 - CVSS changed
Analysis Updated
Jul 08, 2026 - 16:32 vuln.today
v2 - CVSS changed
CVSS changed
Jul 08, 2026 - 16:22 NVD
7.5 (HIGH)
Patch available
Jul 08, 2026 - 16:01 EUVD

DescriptionCVE.org

Alpine Linux: ack fixed in 3.10.0-r0

Executive ViewAI

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch (ack v3.10.0).

Threat Intelligence Overview

EPSS Score
0.4%
Top 70% exploitable
Prevalence
Medium
popular Perl grep-alternative CLI, packaged in most Linux distros
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy