{"id":"UBUNTU-CVE-2026-49146","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.","modified":"2026-07-15T19:47:26.621294815Z","published":"2026-07-08T15:16:00Z","upstream":["CVE-2026-49146"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-49146"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-49146"},{"type":"REPORT","url":"https://lists.security.metacpan.org/cve-announce/msg/41643307/"}],"affected":[{"package":{"name":"ack","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/ack?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.22-1"],"ecosystem_specific":{"binaries":[{"binary_name":"ack","binary_version":"2.22-1"},{"binary_name":"ack-grep","binary_version":"2.22-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-49146.json"}},{"package":{"name":"ack","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/ack?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.0.2-1","3.1.3-1","3.2.0-1","3.3.1-1"],"ecosystem_specific":{"binaries":[{"binary_version":"3.3.1-1","binary_name":"ack"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-49146.json"}},{"package":{"name":"ack","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/ack?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.4.0-1","3.5.0-1"],"ecosystem_specific":{"binaries":[{"binary_name":"ack","binary_version":"3.5.0-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-49146.json"}},{"package":{"name":"ack","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/ack?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.7.0-1"],"ecosystem_specific":{"binaries":[{"binary_version":"3.7.0-1","binary_name":"ack"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-49146.json"}},{"package":{"name":"ack","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/ack?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.7.0-1","3.8.1-1"],"ecosystem_specific":{"binaries":[{"binary_name":"ack","binary_version":"3.8.1-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-49146.json"}},{"package":{"name":"ack","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/ack?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.8.1-1"],"ecosystem_specific":{"binaries":[{"binary_name":"ack","binary_version":"3.8.1-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-49146.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}