Skip to content
Heist/ feed
Back to feed
UnratedFix available

pcre2: Fix of 4 CVEs

Type: advisorySources: OSV

- CVE-2026-89161: leak and later invalid free of a copied subject when pcre2_jit_match() reuses a match data block previously used with PCRE2_COPY_MATCHED_SUBJECT (upstream fb466796) - CVE-2026-89156: out-of-bounds read in pcre2_match() on invalid UTF subjects when JIT fallback to the interpreter skipped the UTF validation (upstream dfa2ad86) - CVE-2026-89157: out-of-bounds heap write in pcre2_pattern_convert() from an overflowed output allocation size with large patterns on 32-bit size_t (upstream 41e7f679) - CVE-2026-89158: out-of-bounds heap write in pcre2_compile_32() from integer overflows in the compiled pattern length computation on 32-bit platforms (upstream 3d7dcbfc)

Products
pcre2, pcre2-devel, pcre2-static, pcre2-syntax, pcre2-tools, pcre2-utf16, pcre2-utf32
Affected versions
Not specified
Fixed versions
10.40-6.el9.tuxcare.els2
CVEs
CVE-2026-89156, CVE-2026-89157, CVE-2026-89158, CVE-2026-89161
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 11:50 UTC · Revision 1

Source evidence

pcre2: Fix of 4 CVEs

core-osv · Original source

Published 16 Sept 2026, 15:42 UTC

- CVE-2026-89161: leak and later invalid free of a copied subject when pcre2_jit_match() reuses a match data block previously used with PCRE2_COPY_MATCHED_SUBJECT (upstream fb466796) - CVE-2026-89156: out-of-bounds read in pcre2_match() on invalid UTF subjects when JIT fallback to the interpreter skipped the UTF validation (upstream dfa2ad86) - CVE-2026-89157: out-of-bounds heap write in pcre2_pattern_convert() from an overflowed output allocation size with large patterns on 32-bit size_t (upstream 41e7f679) - CVE-2026-89158: out-of-bounds heap write in pcre2_compile_32() from integer overflows in the compiled pattern length computation on 32-bit platforms (upstream 3d7dcbfc)

osv:CLSA-2026-1789573344

pcre2

Fixed versions: 10.40-6.el9.tuxcare.els2

pcre2-devel

Fixed versions: 10.40-6.el9.tuxcare.els2

pcre2-static

Fixed versions: 10.40-6.el9.tuxcare.els2

pcre2-syntax

Fixed versions: 10.40-6.el9.tuxcare.els2

pcre2-tools

Fixed versions: 10.40-6.el9.tuxcare.els2

pcre2-utf16

Fixed versions: 10.40-6.el9.tuxcare.els2

pcre2-utf32

Fixed versions: 10.40-6.el9.tuxcare.els2

Complete source record
{
  "id": "7db2bbe7acbac9741443ce170333a1c99c643fa9acdead8f4023e0a5b69abf12",
  "url": "https://osv.dev/vulnerability/CLSA-2026-1789573344",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "pcre2: Fix of 4 CVEs",
    "summary": "- CVE-2026-89161: leak and later invalid free of a copied subject when pcre2_jit_match() reuses a match data block previously used with PCRE2_COPY_MATCHED_SUBJECT (upstream fb466796) - CVE-2026-89156: out-of-bounds read in pcre2_match() on invalid UTF subjects when JIT fallback to the interpreter skipped the UTF validation (upstream dfa2ad86) - CVE-2026-89157: out-of-bounds heap write in pcre2_pattern_convert() from an overflowed output allocation size with large patterns on 32-bit size_t (upstream 41e7f679) - CVE-2026-89158: out-of-bounds heap write in pcre2_compile_32() from integer overflows in the compiled pattern length computation on 32-bit platforms (upstream 3d7dcbfc)",
    "evidence": "osv:CLSA-2026-1789573344",
    "products": [
      {
        "name": {
          "value": "pcre2",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "10.40-6.el9.tuxcare.els2",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "pcre2-devel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "10.40-6.el9.tuxcare.els2",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "pcre2-static",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "10.40-6.el9.tuxcare.els2",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "pcre2-syntax",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "10.40-6.el9.tuxcare.els2",
            "evidence": "/affected/3/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "pcre2-tools",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "10.40-6.el9.tuxcare.els2",
            "evidence": "/affected/4/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "pcre2-utf16",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "10.40-6.el9.tuxcare.els2",
            "evidence": "/affected/5/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "pcre2-utf32",
          "evidence": "/affected/6/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "10.40-6.el9.tuxcare.els2",
            "evidence": "/affected/6/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CLSA-2026-1789573344",
      "aliases": [
        "CLSA-2026-1789573344"
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "10.40-6.el9.tuxcare.els2"
                }
              ]
            }
          ],
          "package": {
            "name": "pcre2",
            "purl": "pkg:rpm/tuxcare/pcre2?distro=almalinux-9.6",
            "ecosystem": "TuxCare:AlmaLinux:9.6"
          },
          "database_specific": {
            "source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/almalinux9.6esu/CLSA-2026-1789573344.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "10.40-6.el9.tuxcare.els2"
                }
              ]
            }
          ],
          "package": {
            "name": "pcre2-devel",
            "purl": "pkg:rpm/tuxcare/pcre2-devel?distro=almalinux-9.6",
            "ecosystem": "TuxCare:AlmaLinux:9.6"
          },
          "database_specific": {
            "source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/almalinux9.6esu/CLSA-2026-1789573344.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "10.40-6.el9.tuxcare.els2"
                }
              ]
            }
          ],
          "package": {
            "name": "pcre2-static",
            "purl": "pkg:rpm/tuxcare/pcre2-static?distro=almalinux-9.6",
            "ecosystem": "TuxCare:AlmaLinux:9.6"
          },
          "database_specific": {
            "source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/almalinux9.6esu/CLSA-2026-1789573344.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "10.40-6.el9.tuxcare.els2"
                }
              ]
            }
          ],
          "package": {
            "name": "pcre2-syntax",
            "purl": "pkg:rpm/tuxcare/pcre2-syntax?distro=almalinux-9.6",
            "ecosystem": "TuxCare:AlmaLinux:9.6"
          },
          "database_specific": {
            "source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/almalinux9.6esu/CLSA-2026-1789573344.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "10.40-6.el9.tuxcare.els2"
                }
              ]
            }
          ],
          "package": {
            "name": "pcre2-tools",
            "purl": "pkg:rpm/tuxcare/pcre2-tools?distro=almalinux-9.6",
            "ecosystem": "TuxCare:AlmaLinux:9.6"
          },
          "database_specific": {
            "source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/almalinux9.6esu/CLSA-2026-1789573344.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "10.40-6.el9.tuxcare.els2"
                }
              ]
            }
          ],
          "package": {
            "name": "pcre2-utf16",
            "purl": "pkg:rpm/tuxcare/pcre2-utf16?distro=almalinux-9.6",
            "ecosystem": "TuxCare:AlmaLinux:9.6"
          },
          "database_specific": {
            "source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/almalinux9.6esu/CLSA-2026-1789573344.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "10.40-6.el9.tuxcare.els2"
                }
              ]
            }
          ],
          "package": {
            "name": "pcre2-utf32",
            "purl": "pkg:rpm/tuxcare/pcre2-utf32?distro=almalinux-9.6",
            "ecosystem": "TuxCare:AlmaLinux:9.6"
          },
          "database_specific": {
            "source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/almalinux9.6esu/CLSA-2026-1789573344.json"
          }
        }
      ],
      "modified": "2026-10-26T09:43:31.618942275Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-89156",
        "CVE-2026-89157",
        "CVE-2026-89158",
        "CVE-2026-89161"
      ],
      "references": [
        "https://errata.tuxcare.com/els_os/tuxcare9.6esu/CLSA-2026-1789573344.html",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-89156",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-89157",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-89158",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-89161"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-89156",
        "evidence": "/upstream"
      },
      {
        "value": "CVE-2026-89157",
        "evidence": "/upstream"
      },
      {
        "value": "CVE-2026-89158",
        "evidence": "/upstream"
      },
      {
        "value": "CVE-2026-89161",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 449975,
  "published_at": "2026-09-16T15:42:35+00:00"
}