{"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-09-16T14:02:39.150951939Z","published":"2026-09-05T06:17:00Z","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"}],"affected":[{"package":{"name":"pcre2","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/pcre2?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["10.20-1","10.20-2","10.20-3","10.21-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libpcre2-16-0","binary_version":"10.21-1"},{"binary_version":"10.21-1","binary_name":"libpcre2-32-0"},{"binary_name":"libpcre2-8-0","binary_version":"10.21-1"},{"binary_name":"libpcre2-posix0","binary_version":"10.21-1"},{"binary_name":"pcre2-utils","binary_version":"10.21-1"}]},"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:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/pcre2?arch=source&distro=esm-apps%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["10.22-3","10.22-4","10.22-5","10.22-6","10.31-2","10.31-2ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"libpcre2-16-0","binary_version":"10.31-2ubuntu0.1~esm1"},{"binary_name":"libpcre2-32-0","binary_version":"10.31-2ubuntu0.1~esm1"},{"binary_version":"10.31-2ubuntu0.1~esm1","binary_name":"libpcre2-8-0"},{"binary_name":"libpcre2-posix0","binary_version":"10.31-2ubuntu0.1~esm1"},{"binary_name":"pcre2-utils","binary_version":"10.31-2ubuntu0.1~esm1"}]},"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:20.04:LTS","purl":"pkg:deb/ubuntu/pcre2?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["10.32-5","10.34-7","10.34-7ubuntu0.1"],"ecosystem_specific":{"binaries":[{"binary_name":"libpcre2-16-0","binary_version":"10.34-7ubuntu0.1"},{"binary_version":"10.34-7ubuntu0.1","binary_name":"libpcre2-32-0"},{"binary_name":"libpcre2-8-0","binary_version":"10.34-7ubuntu0.1"},{"binary_name":"libpcre2-posix2","binary_version":"10.34-7ubuntu0.1"},{"binary_version":"10.34-7ubuntu0.1","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"}]}],"versions":["10.37-0ubuntu2","10.39-3","10.39-3build1","10.39-3ubuntu0.1"],"ecosystem_specific":{"binaries":[{"binary_version":"10.39-3ubuntu0.1","binary_name":"libpcre2-16-0"},{"binary_name":"libpcre2-32-0","binary_version":"10.39-3ubuntu0.1"},{"binary_name":"libpcre2-8-0","binary_version":"10.39-3ubuntu0.1"},{"binary_version":"10.39-3ubuntu0.1","binary_name":"libpcre2-posix3"},{"binary_name":"pcre2-utils","binary_version":"10.39-3ubuntu0.1"}]},"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"}]}],"versions":["10.42-4","10.42-4ubuntu1","10.42-4ubuntu2","10.42-4ubuntu2.1"],"ecosystem_specific":{"binaries":[{"binary_name":"libpcre2-16-0","binary_version":"10.42-4ubuntu2.1"},{"binary_name":"libpcre2-32-0","binary_version":"10.42-4ubuntu2.1"},{"binary_version":"10.42-4ubuntu2.1","binary_name":"libpcre2-8-0"},{"binary_name":"libpcre2-posix3","binary_version":"10.42-4ubuntu2.1"},{"binary_version":"10.42-4ubuntu2.1","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:26.04:LTS","purl":"pkg:deb/ubuntu/pcre2?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["10.46-1","10.46-1build1"],"ecosystem_specific":{"binaries":[{"binary_version":"10.46-1build1","binary_name":"libpcre2-16-0"},{"binary_version":"10.46-1build1","binary_name":"libpcre2-32-0"},{"binary_version":"10.46-1build1","binary_name":"libpcre2-8-0"},{"binary_name":"libpcre2-posix3","binary_version":"10.46-1build1"},{"binary_name":"pcre2-utils","binary_version":"10.46-1build1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-86145.json"}}],"schema_version":"1.9.0","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"}]}