CVE-2026-49146
App::Ack versions before 3.10.0 for Perl allow memory exhaustion via an unbounded context value in a project .ackrc
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
7.5
App::Ack versions before 3.10.0 for Perl allow memory exhaustion via an unbounded context value in a project .ackrc
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.
- Record
CVE-2026-49146- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-770
- Updated
- 2026-11-02
EUVDEUVD-2026-42274
7.5
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.
- Record
EUVD-2026-42274- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-hf7w-mcpw-97mf
7.5
App::Ack versions before 3.10.0 for Perl allow memory exhaustion via an unbounded context value...
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.
- Record
GHSA-hf7w-mcpw-97mf- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-770
- Updated
- 2026-11-02
NVD
7.5
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.
- Record
CVE-2026-49146- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-770
- Updated
- 2026-11-02
OSVALPINE-CVE-2026-49146
7.5
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.
- Record
ALPINE-CVE-2026-49146- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSV
7.5
App::Ack versions before 3.10.0 for Perl allow memory exhaustion via an unbounded context value in a project .ackrc
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.
- Record
CVE-2026-49146- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-770
- Updated
- 2026-11-02
Show 4 moreShow less
OSVDEBIAN-CVE-2026-49146
7.5
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.
- Record
DEBIAN-CVE-2026-49146- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2026-49146
7.5
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.
- Record
UBUNTU-CVE-2026-49146- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVMGASA-2026-0239 No score
Updated ack packages fix security vulnerabilities
This update fixes several security vulnerabilities.
- Record
MGASA-2026-0239- Updated
- 2026-11-02
OSVopenSUSE-SU-2026:10965-1 No score
ack-3.10.0-1.1 on GA media
These are all security issues fixed in the ack-3.10.0-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2026:10965-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
ackAlpine:v3.24 |
before 3.10.0-r0 | 3.10.0-r0 |
ackDebian:12 |
All versions, plus listed versions 3.6.0-13.7.0-13.8.1-1 |
None known |
ackDebian:13 |
All versions, plus listed versions 3.8.1-1 |
None known |
ackDebian:14 |
All versions, plus listed versions 3.8.1-1 |
None known |
ackMageia:10 From an advisory covering 3 CVEs |
before 3.10.0-1.mga10 | 3.10.0-1.mga10 |
ackMageia:9 From an advisory covering 3 CVEs |
before 3.10.0-1.mga9 | 3.10.0-1.mga9 |
ackUbuntu:18.04:LTS |
All versions, plus listed versions 2.22-1 |
None known |
ackUbuntu:20.04:LTS |
All versions, plus listed versions 3.0.2-13.1.3-13.2.0-13.3.1-1 |
None known |
ackUbuntu:22.04:LTS |
All versions, plus listed versions 3.4.0-13.5.0-1 |
None known |
ackUbuntu:24.04:LTS |
All versions, plus listed versions 3.7.0-1 |
None known |
Show 4 moreShow less
| Package | Affected | Fixed |
|---|---|---|
ackUbuntu:25.10 |
All versions, plus listed versions 3.7.0-13.8.1-1 |
None known |
ackUbuntu:26.10 |
All versions, plus listed versions 3.8.1-1 |
None known |
ackUbuntu:26.04:LTS |
All versions, plus listed versions 3.8.1-1 |
None known |
ackopenSUSE:Tumbleweed From an advisory covering 3 CVEs |
before 3.10.0-1.1 | 3.10.0-1.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2026-49146 is a high vulnerability (CVSS 7.5) in Petdance App::ack, published June 8, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.61%, the 49th percentile. Fixed in ack 3.10.0-r0.
References
github.com/beyondgrep/ack3/commit/45ff5fe77dbd96f7332f31943102291f878f30b8.patch
metacpan.org/release/PETDANCE/ack-v3.10.0/source/Changes
openwall.com/lists/oss-security/2026/07/08/8
nvd.nist.gov/vuln/detail/CVE-2026-49146
github.com/advisories/GHSA-hf7w-mcpw-97mf
security.alpinelinux.org/vuln/CVE-2026-49146
Show 13 moreShow less
cpan.org/modules
github.com/CVEProject/cvelistV5/tree/main/cves/2026/49xxx/CVE-2026-49146.json
github.com/beyondgrep/ack3
security-tracker.debian.org/tracker/CVE-2026-49146
advisories.mageia.org/MGASA-2026-0239.html
bugs.mageia.org/show_bug.cgi?id=35664
lists.opensuse.org/archives/list/[email protected]/message/5QFID6AUNN2U5BWSLHBGVDHSTEXUG6CE
ubuntu.com/security/CVE-2026-49146
cve.org/CVERecord?id=CVE-2026-49146
lists.security.metacpan.org/cve-announce/msg/41643307
suse.com/security/cve/CVE-2026-49145
suse.com/security/cve/CVE-2026-49146
suse.com/security/cve/CVE-2026-49147