CVE-2026-49146 App::Ack versions before 3.10.0 for Perl allow memory exhaustion via an unbounded context value in a project .ackrc
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
- Technology
- UbuntuDebian
Description
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.
Upgrade path
9 packages: 3 fixed, 6 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/ack(Debian 12) | = 3.6.0-1; = 3.7.0-1; = 3.8.1-1; = 3.10.0-1 +1 more | No fix listed | No fix yet |
| debian/ack(Debian 13) | = 3.8.1-1; = 3.10.0-1; All versions | No fix listed | No fix yet |
| ubuntu/ack(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/ack(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/ack(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/ack(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| alpine/ack(Alpine v3.24) | < 3.10.0-r0 | 3.10.0-r0 | Fixed |
| debian/ack(Debian 14) | < 3.10.0-1; = 3.8.1-1 | 3.10.0-1 | Fixed |
| PETDANCE App::Ack | < 3.10.0 | 3.10.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| PETDANCE App::Ack | < 3.10.0 | 3.10.0 |
| debian/ack(Debian:12) | All versions | No fix listed |
| debian/ack(Debian:12) | = 3.10.0-1 | No fix listed |
| debian/ack(Debian:12) | = 3.6.0-1 | No fix listed |
| debian/ack(Debian:12) | = 3.7.0-1 | No fix listed |
| debian/ack(Debian:12) | = 3.8.1-1 | No fix listed |
| debian/ack(Debian:13) | All versions | No fix listed |
| debian/ack(Debian:13) | = 3.10.0-1 | No fix listed |
| debian/ack(Debian:13) | = 3.8.1-1 | No fix listed |
| debian/ack(Debian:14) | < 3.10.0-1 | 3.10.0-1 |
| debian/ack(Debian:14) | = 3.8.1-1 | No fix listed |
| ubuntu/ack(Ubuntu:22.04) | All versions | No fix listed |
| alpine/ack(Alpine:v3.24) | < 3.10.0-r0 | 3.10.0-r0 |
| ubuntu/ack(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/ack(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/ack(Ubuntu:26.10) | All versions | No fix listed |
References
- github.com patch
- metacpan.org release-notes
- www.openwall.com
- Debian Security Tracker CVE-2026-49146 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- security.alpinelinux.org vendor-advisory