{"id":"UBUNTU-CVE-2026-86145","details":"PCRE2 before 10.48 allows a pcre2_dfa_match out-of-bounds write because reuse of a cached workspace block, in a recursive DFA matching workspace, lacks a size check (even though a newly allocated block, for the same purpose, does have a size check). This outcome requires an attacker-controlled regular expression, or a recursive pattern in conjunction with a small heap limit (this can be set through the API).","modified":"2026-11-04T03:30:36.007196732Z","published":"2026-09-05T06:17:00Z","related":["USN-8974-1"],"upstream":["CVE-2026-86145"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-86145"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-86145"},{"type":"REPORT","url":"https://github.com/PCRE2Project/pcre2/security/advisories/GHSA-3r4p-g7gg-ppmf"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-8974-1"}],"affected":[{"package":{"name":"pcre2","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/pcre2?arch=source&distro=esm-infra%2Ffocal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.34-7ubuntu0.1+esm1"}]}],"versions":["10.32-5","10.34-7","10.34-7ubuntu0.1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_name":"libpcre2-16-0","binary_version":"10.34-7ubuntu0.1+esm1"},{"binary_name":"libpcre2-32-0","binary_version":"10.34-7ubuntu0.1+esm1"},{"binary_version":"10.34-7ubuntu0.1+esm1","binary_name":"libpcre2-8-0"},{"binary_name":"libpcre2-posix2","binary_version":"10.34-7ubuntu0.1+esm1"},{"binary_version":"10.34-7ubuntu0.1+esm1","binary_name":"pcre2-utils"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-86145.json"}},{"package":{"name":"pcre2","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/pcre2?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.39-3ubuntu0.2"}]}],"versions":["10.37-0ubuntu2","10.39-3","10.39-3build1","10.39-3ubuntu0.1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"libpcre2-16-0","binary_version":"10.39-3ubuntu0.2"},{"binary_name":"libpcre2-32-0","binary_version":"10.39-3ubuntu0.2"},{"binary_version":"10.39-3ubuntu0.2","binary_name":"libpcre2-8-0"},{"binary_name":"libpcre2-posix3","binary_version":"10.39-3ubuntu0.2"},{"binary_version":"10.39-3ubuntu0.2","binary_name":"pcre2-utils"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-86145.json"}},{"package":{"name":"pcre2","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/pcre2?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.42-4ubuntu2.2"}]}],"versions":["10.42-4","10.42-4ubuntu1","10.42-4ubuntu2","10.42-4ubuntu2.1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"libpcre2-16-0","binary_version":"10.42-4ubuntu2.2"},{"binary_name":"libpcre2-32-0","binary_version":"10.42-4ubuntu2.2"},{"binary_version":"10.42-4ubuntu2.2","binary_name":"libpcre2-8-0"},{"binary_name":"libpcre2-posix3","binary_version":"10.42-4ubuntu2.2"},{"binary_name":"pcre2-utils","binary_version":"10.42-4ubuntu2.2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-86145.json"}},{"package":{"name":"pcre2","ecosystem":"Ubuntu:26.10","purl":"pkg:deb/ubuntu/pcre2?arch=source&distro=stonking"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.46-1ubuntu1"}]}],"versions":["10.46-1build1"],"ecosystem_specific":{"binaries":[{"binary_name":"libpcre2-16-0","binary_version":"10.46-1ubuntu1"},{"binary_name":"libpcre2-32-0","binary_version":"10.46-1ubuntu1"},{"binary_version":"10.46-1ubuntu1","binary_name":"libpcre2-8-0"},{"binary_version":"10.46-1ubuntu1","binary_name":"libpcre2-posix3"},{"binary_name":"pcre2-utils","binary_version":"10.46-1ubuntu1"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-86145.json"}},{"package":{"name":"pcre2","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/pcre2?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.46-1ubuntu0.1"}]}],"versions":["10.46-1","10.46-1build1"],"ecosystem_specific":{"binaries":[{"binary_version":"10.46-1ubuntu0.1","binary_name":"libpcre2-16-0"},{"binary_name":"libpcre2-32-0","binary_version":"10.46-1ubuntu0.1"},{"binary_name":"libpcre2-8-0","binary_version":"10.46-1ubuntu0.1"},{"binary_name":"libpcre2-posix3","binary_version":"10.46-1ubuntu0.1"},{"binary_version":"10.46-1ubuntu0.1","binary_name":"pcre2-utils"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-86145.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L"},{"type":"Ubuntu","score":"medium"}]}