{"id":"CVE-2026-49146","state":"PUBLISHED","title":"App::Ack versions before 3.10.0 for Perl allow memory exhaustion via an unbounded context value in a project .ackrc","description":"App::Ack versions before 3.10.0 for Perl allow memory exhaustion via an unbounded context value in a project .ackrc.\n\nack 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.\n\nA project .ackrc committed to an untrusted repository can abort ack with an out-of-memory condition.","publishedAt":"2026-07-08T14:55:37.207Z","updatedAt":"2026-07-08T17:31:33.218Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"CISA-ADP"},"assigner":"CPANSec","products":["PETDANCE App::Ack"],"affected":[{"vendor":"PETDANCE","product":"App::Ack","packageName":"ack","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"3.10.0","versionType":"custom"}],"collectionURL":"https://cpan.org/modules","programFiles":["lib/App/Ack/ConfigLoader.pm","ack"],"programRoutines":[{"name":"App::Ack::ConfigLoader::_context_value"}],"repo":"https://github.com/beyondgrep/ack3"}],"references":["https://github.com/beyondgrep/ack3/commit/45ff5fe77dbd96f7332f31943102291f878f30b8.patch","https://metacpan.org/release/PETDANCE/ack-v3.10.0/source/Changes","http://www.openwall.com/lists/oss-security/2026/07/08/8"],"weaknesses":["CWE-770"],"ingestedAt":"2026-10-29T20:12:07.131Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/49xxx/CVE-2026-49146.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-49146","state":"PUBLISHED","datePublished":"2026-07-08T14:55:37.207Z","dateUpdated":"2026-07-08T17:31:33.218Z","assignerShortName":"CPANSec","assignerOrgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","dateReserved":"2026-05-27T17:50:04.538Z"},"containers":{"cna":{"title":"App::Ack versions before 3.10.0 for Perl allow memory exhaustion via an unbounded context value in a project .ackrc","descriptions":[{"lang":"en","value":"App::Ack versions before 3.10.0 for Perl allow memory exhaustion via an unbounded context value in a project .ackrc.\n\nack 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.\n\nA project .ackrc committed to an untrusted repository can abort ack with an out-of-memory condition."}],"affected":[{"vendor":"PETDANCE","product":"App::Ack","packageName":"ack","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"3.10.0","versionType":"custom"}],"collectionURL":"https://cpan.org/modules","programFiles":["lib/App/Ack/ConfigLoader.pm","ack"],"programRoutines":[{"name":"App::Ack::ConfigLoader::_context_value"}],"repo":"https://github.com/beyondgrep/ack3"}],"references":[{"url":"https://github.com/beyondgrep/ack3/commit/45ff5fe77dbd96f7332f31943102291f878f30b8.patch","tags":["patch"]},{"url":"https://metacpan.org/release/PETDANCE/ack-v3.10.0/source/Changes","tags":["release-notes"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-770","description":"CWE-770 Allocation of Resources Without Limits or Throttling","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"CPANSec","orgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","dateUpdated":"2026-07-08T14:55:37.207Z"},"credits":[{"lang":"en","type":"finder","value":"Michał Majchrowicz (AFINE)"},{"lang":"en","type":"finder","value":"Marcin Wyczechowski (AFINE)"}],"solutions":[{"lang":"en","value":"Upgrade to ack 3.10.0 or later."}],"source":{"discovery":"UNKNOWN"},"timeline":[{"lang":"en","time":"2026-06-07T00:00:00.000Z","value":"Version 3.10.0 released with fix."}],"x_generator":{"engine":"cpansec-cna-tool 0.1"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":7.5,"attackVector":"NETWORK","baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","integrityImpact":"NONE","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"NONE","confidentialityImpact":"NONE"}},{"other":{"type":"ssvc","content":{"timestamp":"2026-07-08T15:22:07.691262Z","id":"CVE-2026-49146","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-07-08T15:22:10.486Z"}},{"title":"CVE Program Container","references":[{"url":"http://www.openwall.com/lists/oss-security/2026/07/08/8"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2026-07-08T17:31:33.218Z"}}]}}}