CVE-2026-49146

Source
https://cve.org/CVERecord?id=CVE-2026-49146
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-49146.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-49146
Downstream
Related
Published
2026-07-08T14:55:37.207Z
Modified
2026-07-10T04:02:58.954466604Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
App::Ack versions before 3.10.0 for Perl allow memory exhaustion via an unbounded context value in a project .ackrc
Details

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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/49xxx/CVE-2026-49146.json",
    "cna_assigner": "CPANSec",
    "cwe_ids": [
        "CWE-770"
    ]
}
References

Affected packages

Git / github.com/beyondgrep/ack3

Affected ranges

Type
GIT
Repo
https://github.com/beyondgrep/ack3
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
{
    "source": [
        "DESCRIPTION",
        "REFERENCES"
    ],
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "3.10.0"
        }
    ]
}

Affected versions

2.*
2.18
2.18r
2.999_01
2.999_02
2.999_04
2.999_05
2.999_06
2.999_07
2.999_08
v3.*
v3.0.0
v3.0.1
v3.0.2
v3.0.3
v3.1.0
v3.1.1
v3.1.2
v3.1.3
v3.4.0
v3.5.0
v3.6.0
v3.8.0
v3.8.1
v3.8.2
v3.9.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-49146.json"