Skip to content
Heist/ feed
Back to feed
High

pcre2 — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2026-89157

PCRE2 before 10.48, on 32-bit platforms, has a pcre2_pattern_convert out-of-bounds write when an attacker can provide a large pattern.

Products
pcre2
Affected versions
10.22-3, 10.22-4, 10.22-5, 10.22-6, 10.31-2, 10.31-2ubuntu0.1~esm1, 10.32-5, 10.34-7, 10.34-7ubuntu0.1, 10.37-0ubuntu2, 10.39-3, 10.39-3build1, 10.39-3ubuntu0.1, 10.42-4, 10.42-4ubuntu1, 10.42-4ubuntu2, 10.42-4ubuntu2.1, 10.46-1, 10.46-1build1
Fixed versions
Not specified
CVEs
CVE-2026-89157
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 03:30 UTC · Revision 1

Source evidence

UBUNTU-CVE-2026-89157

core-osv · Original source

Published 11 Sept 2026, 04:18 UTC

PCRE2 before 10.48, on 32-bit platforms, has a pcre2_pattern_convert out-of-bounds write when an attacker can provide a large pattern.

osv:UBUNTU-CVE-2026-89157

pcre2

Fixed versions: Not specified

pcre2

Fixed versions: Not specified

pcre2

Fixed versions: Not specified

pcre2

Fixed versions: Not specified

pcre2

Fixed versions: Not specified

pcre2

Fixed versions: Not specified

Complete source record
{
  "id": "366a0ca740d990f9787463ce3960aee71e3f79a0ca23b6807d11de41226f5df0",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-89157",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2026-89157",
    "summary": "PCRE2 before 10.48, on 32-bit platforms, has a pcre2_pattern_convert out-of-bounds write when an attacker can provide a large pattern.",
    "evidence": "osv:UBUNTU-CVE-2026-89157",
    "products": [
      {
        "name": {
          "value": "pcre2",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "10.22-3",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "10.22-4",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "10.22-5",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "10.22-6",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "10.31-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "10.31-2ubuntu0.1~esm1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "pcre2",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "10.32-5",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "10.34-7",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "10.34-7ubuntu0.1",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "pcre2",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "10.37-0ubuntu2",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "10.39-3",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "10.39-3build1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "10.39-3ubuntu0.1",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "pcre2",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "10.42-4",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "10.42-4ubuntu1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "10.42-4ubuntu2",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "10.42-4ubuntu2.1",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "pcre2",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "10.46-1build1",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "pcre2",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "10.46-1",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "10.46-1build1",
            "evidence": "/affected/5/versions"
          }
        ]
      }
    ],
    "severity": "high",
    "structured": {
      "id": "UBUNTU-CVE-2026-89157",
      "aliases": [
        "UBUNTU-CVE-2026-89157"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:L"
        },
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "pcre2",
            "purl": "pkg:deb/ubuntu/pcre2?arch=source&distro=esm-apps%2Fbionic",
            "ecosystem": "Ubuntu:Pro:18.04:LTS"
          },
          "versions": [
            "10.22-3",
            "10.22-4",
            "10.22-5",
            "10.22-6",
            "10.31-2",
            "10.31-2ubuntu0.1~esm1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-89157.json"
          },
          "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_name": "libpcre2-8-0",
                "binary_version": "10.31-2ubuntu0.1~esm1"
              },
              {
                "binary_name": "libpcre2-posix0",
                "binary_version": "10.31-2ubuntu0.1~esm1"
              },
              {
                "binary_name": "pcre2-utils",
                "binary_version": "10.31-2ubuntu0.1~esm1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "pcre2",
            "purl": "pkg:deb/ubuntu/pcre2?arch=source&distro=focal",
            "ecosystem": "Ubuntu:20.04:LTS"
          },
          "versions": [
            "10.32-5",
            "10.34-7",
            "10.34-7ubuntu0.1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-89157.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libpcre2-16-0",
                "binary_version": "10.34-7ubuntu0.1"
              },
              {
                "binary_name": "libpcre2-32-0",
                "binary_version": "10.34-7ubuntu0.1"
              },
              {
                "binary_name": "libpcre2-8-0",
                "binary_version": "10.34-7ubuntu0.1"
              },
              {
                "binary_name": "libpcre2-posix2",
                "binary_version": "10.34-7ubuntu0.1"
              },
              {
                "binary_name": "pcre2-utils",
                "binary_version": "10.34-7ubuntu0.1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "pcre2",
            "purl": "pkg:deb/ubuntu/pcre2?arch=source&distro=jammy",
            "ecosystem": "Ubuntu:22.04:LTS"
          },
          "versions": [
            "10.37-0ubuntu2",
            "10.39-3",
            "10.39-3build1",
            "10.39-3ubuntu0.1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-89157.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libpcre2-16-0",
                "binary_version": "10.39-3ubuntu0.1"
              },
              {
                "binary_name": "libpcre2-32-0",
                "binary_version": "10.39-3ubuntu0.1"
              },
              {
                "binary_name": "libpcre2-8-0",
                "binary_version": "10.39-3ubuntu0.1"
              },
              {
                "binary_name": "libpcre2-posix3",
                "binary_version": "10.39-3ubuntu0.1"
              },
              {
                "binary_name": "pcre2-utils",
                "binary_version": "10.39-3ubuntu0.1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "pcre2",
            "purl": "pkg:deb/ubuntu/pcre2?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "10.42-4",
            "10.42-4ubuntu1",
            "10.42-4ubuntu2",
            "10.42-4ubuntu2.1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-89157.json"
          },
          "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_name": "libpcre2-8-0",
                "binary_version": "10.42-4ubuntu2.1"
              },
              {
                "binary_name": "libpcre2-posix3",
                "binary_version": "10.42-4ubuntu2.1"
              },
              {
                "binary_name": "pcre2-utils",
                "binary_version": "10.42-4ubuntu2.1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "pcre2",
            "purl": "pkg:deb/ubuntu/pcre2?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "10.46-1build1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-89157.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "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_version": "10.46-1build1"
              },
              {
                "binary_name": "libpcre2-posix3",
                "binary_version": "10.46-1build1"
              },
              {
                "binary_name": "pcre2-utils",
                "binary_version": "10.46-1build1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "pcre2",
            "purl": "pkg:deb/ubuntu/pcre2?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "10.46-1",
            "10.46-1build1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-89157.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "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_version": "10.46-1build1"
              },
              {
                "binary_name": "libpcre2-posix3",
                "binary_version": "10.46-1build1"
              },
              {
                "binary_name": "pcre2-utils",
                "binary_version": "10.46-1build1"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T13:01:16.287532390Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-89157"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2026-89157",
        "https://www.cve.org/CVERecord?id=CVE-2026-89157",
        "https://github.com/PCRE2Project/pcre2/security/advisories/GHSA-q8g2-wprr-34m9",
        "https://github.com/PCRE2Project/pcre2/releases/tag/pcre2-10.48"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-89157",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/1/score"
  },
  "source_id": "core-osv",
  "document_id": 361445,
  "published_at": "2026-09-11T04:18:00+00:00"
}