{"id":"CVE-2026-49146","aliases":["CVE-2026-49146"],"related":[],"kind":"vulnerability","state":"published","title":"App::Ack versions before 3.10.0 for Perl allow memory exhaustion via an unbounded context value in a project .ackrc","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Las versiones de App::Ack anteriores a la 3.10.0 para Perl permiten el agotamiento de la memoria a través de un valor de contexto ilimitado en un archivo .ackrc de proyecto.\n\nack busca en la jerarquía de directorios desde el directorio actual un archivo .ackrc de proyecto y carga sus opciones. Las opciones de contexto -B y -C aceptaban cualquier entero positivo, y ack dimensionaba el búfer de contexto anterior a ese valor, por lo que una configuración en un archivo .ackrc de proyecto de --before-context=100000000 hacía que ack asignara un búfer de 100 millones de elementos.\n\nUn archivo .ackrc de proyecto subido a un repositorio no confiable puede abortar ack con una condición de falta de memoria.","source":"nvd"}],"published":"2026-07-08T14:55:37.207Z","modified":"2026-10-25T20:10:00.147Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-770"],"affected":[{"ranges":[{"type":"custom","introduced":"0","fixed":"3.10.0","status":"affected"}],"vendor":"PETDANCE","product":"App::Ack","package":"ack","repo":"https://github.com/beyondgrep/ack3","source":"cvelist"}],"references":[{"url":"https://github.com/beyondgrep/ack3/commit/45ff5fe77dbd96f7332f31943102291f878f30b8.patch","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://metacpan.org/release/PETDANCE/ack-v3.10.0/source/Changes","tags":["release-notes"],"sources":["cvelist","nvd"]},{"url":"http://www.openwall.com/lists/oss-security/2026/07/08/8","tags":[],"sources":["cvelist","nvd"]}],"credits":["Michał Majchrowicz (AFINE)","Marcin Wyczechowski (AFINE)"],"assigner":"CPANSec","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-07-08T15:22:07.691Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-49146","url":"https://www.cve.org/CVERecord?id=CVE-2026-49146","licence":"CVE Terms of Use","modified":"2026-07-08T17:31:33.218Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-49146","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-49146","licence":"Public domain","modified":"2026-10-25T20:10:00.147Z"}],"updatedAt":"2026-11-25T22:59:27.381Z","epss":{"score":0.00375,"percentile":0.335,"date":"2026-12-01T12:00:22.000Z"}}