CVE-2026-49146 Affecting ack package, versions <3.10.0-r0


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.38% (34th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ALPINE324-ACK-17296032
  • published11 Jun 2026
  • disclosed8 Jul 2026

Introduced: 11 Jun 2026

CVE-2026-49146  (opens in a new tab)

How to fix?

Upgrade Alpine:3.24 ack to version 3.10.0-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ack package and not the ack package as distributed by Alpine. See How to fix? for Alpine:3.24 relevant fixed versions and status.

App::Ack versions before 3.10.0 for Perl allow memory exhaustion via an unbounded context value in a project .ackrc.

ack searches up the directory hierarchy from the current directory for a project .ackrc and loads its options. The -B and -C context options accepted any positive integer, and ack sized the before-context buffer to that value, so a project .ackrc setting --before-context=100000000 made ack allocate a buffer of 100 million elements.

A project .ackrc committed to an untrusted repository can abort ack with an out-of-memory condition.