Skip to content
Heist/ feed
HighFix available

pcre2 security update

Type: advisorySource: OSV1 source record

PCRE2 is a re-working of the original PCRE1 library to provide an entirely new API. Since its initial release in 2015, there has been further development of the code and it now differs from PCRE1 in more than just the API. PCRE2 is written in C, and it has its own API. There are three sets of functions, one for the 8-bit library, which processes strings of bytes, one for the 16-bit library, which processes strings of 16-bit values, and one for the 32-bit library, which processes strings of 32-bit values. Unlike PCRE1, there are no C++ wrappers. Security Fix(es): PCRE2 before 10.48 has a pcre2_match out-of-bounds read after a JIT fallback when an attacker can provide invalid UTF data.(CVE-2026-89156) 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.(CVE-2026-89157) PCRE2 before 10.48, on 32-bit platforms, has a pcre2_compile_32 integer overflow and resultant out-of-bounds write.(CVE-2026-89158) PCRE2 before 10.48 has a pcre2_match out-of-bounds read during the PCRE2_MATCH_INVALID_UTF matching of an invalid UTF subject.(CVE-2026-89160) In PCRE2 before 10.48, pcre2_jit_match mishandles a previously copied subject being passed in as a context. An incorrect free operation can occur.(CVE-2026-89161)

Announced Group revision 1
Original source ↗

OESA-2026-4111

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: osv:OESA-2026-4111

pcre2

Source reference: /affected/0/package/name

Affected versions
Not stated in this record
Fixed versions
10.42-20.oe2403sp4

Source reference: /affected/0/ranges

Prerequisites
Not stated in this record

pcre2

Source reference: /affected/1/package/name

Affected versions
Not stated in this record
Fixed versions
10.35-17.oe2003sp4

Source reference: /affected/1/ranges

Prerequisites
Not stated in this record

pcre2

Source reference: /affected/2/package/name

Affected versions
Not stated in this record
Fixed versions
10.39-24.oe2203sp4

Source reference: /affected/2/ranges

Prerequisites
Not stated in this record

pcre2

Source reference: /affected/3/package/name

Affected versions
Not stated in this record
Fixed versions
10.42-20.oe2403sp1

Source reference: /affected/3/ranges

Prerequisites
Not stated in this record

pcre2

Source reference: /affected/4/package/name

Affected versions
Not stated in this record
Fixed versions
10.42-20.oe2403sp3

Source reference: /affected/4/ranges

Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "10.42-20.oe2403sp4"
          }
        ]
      }
    ],
    "package": {
      "name": "pcre2",
      "purl": "pkg:rpm/openEuler/pcre2&distro=openEuler-24.03-LTS-SP4",
      "ecosystem": "openEuler:24.03-LTS-SP4"
    },
    "database_specific": {
      "source": "https://repo.openeuler.org/security/data/osv/OESA-2026-4111.json"
    },
    "ecosystem_specific": {
      "src": [
        "pcre2-10.42-20.oe2403sp4.src.rpm"
      ],
      "noarch": [
        "pcre2-help-10.42-20.oe2403sp4.noarch.rpm"
      ],
      "x86_64": [
        "pcre2-10.42-20.oe2403sp4.x86_64.rpm",
        "pcre2-debuginfo-10.42-20.oe2403sp4.x86_64.rpm",
        "pcre2-debugsource-10.42-20.oe2403sp4.x86_64.rpm",
        "pcre2-devel-10.42-20.oe2403sp4.x86_64.rpm"
      ],
      "aarch64": [
        "pcre2-10.42-20.oe2403sp4.aarch64.rpm",
        "pcre2-debuginfo-10.42-20.oe2403sp4.aarch64.rpm",
        "pcre2-debugsource-10.42-20.oe2403sp4.aarch64.rpm",
        "pcre2-devel-10.42-20.oe2403sp4.aarch64.rpm"
      ]
    }
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "10.35-17.oe2003sp4"
          }
        ]
      }
    ],
    "package": {
      "name": "pcre2",
      "purl": "pkg:rpm/openEuler/pcre2&distro=openEuler-20.03-LTS-SP4",
      "ecosystem": "openEuler:20.03-LTS-SP4"
    },
    "database_specific": {
      "source": "https://repo.openeuler.org/security/data/osv/OESA-2026-4111.json"
    },
    "ecosystem_specific": {
      "src": [
        "pcre2-10.35-17.oe2003sp4.src.rpm"
      ],
      "noarch": [
        "pcre2-help-10.35-17.oe2003sp4.noarch.rpm"
      ],
      "x86_64": [
        "pcre2-10.35-17.oe2003sp4.x86_64.rpm",
        "pcre2-debuginfo-10.35-17.oe2003sp4.x86_64.rpm",
        "pcre2-debugsource-10.35-17.oe2003sp4.x86_64.rpm",
        "pcre2-devel-10.35-17.oe2003sp4.x86_64.rpm"
      ],
      "aarch64": [
        "pcre2-10.35-17.oe2003sp4.aarch64.rpm",
        "pcre2-debuginfo-10.35-17.oe2003sp4.aarch64.rpm",
        "pcre2-debugsource-10.35-17.oe2003sp4.aarch64.rpm",
        "pcre2-devel-10.35-17.oe2003sp4.aarch64.rpm"
      ]
    }
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "10.39-24.oe2203sp4"
          }
        ]
      }
    ],
    "package": {
      "name": "pcre2",
      "purl": "pkg:rpm/openEuler/pcre2&distro=openEuler-22.03-LTS-SP4",
      "ecosystem": "openEuler:22.03-LTS-SP4"
    },
    "database_specific": {
      "source": "https://repo.openeuler.org/security/data/osv/OESA-2026-4111.json"
    },
    "ecosystem_specific": {
      "src": [
        "pcre2-10.39-24.oe2203sp4.src.rpm"
      ],
      "noarch": [
        "pcre2-help-10.39-24.oe2203sp4.noarch.rpm"
      ],
      "x86_64": [
        "pcre2-10.39-24.oe2203sp4.x86_64.rpm",
        "pcre2-debuginfo-10.39-24.oe2203sp4.x86_64.rpm",
        "pcre2-debugsource-10.39-24.oe2203sp4.x86_64.rpm",
        "pcre2-devel-10.39-24.oe2203sp4.x86_64.rpm"
      ],
      "aarch64": [
        "pcre2-10.39-24.oe2203sp4.aarch64.rpm",
        "pcre2-debuginfo-10.39-24.oe2203sp4.aarch64.rpm",
        "pcre2-debugsource-10.39-24.oe2203sp4.aarch64.rpm",
        "pcre2-devel-10.39-24.oe2203sp4.aarch64.rpm"
      ]
    }
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "10.42-20.oe2403sp1"
          }
        ]
      }
    ],
    "package": {
      "name": "pcre2",
      "purl": "pkg:rpm/openEuler/pcre2&distro=openEuler-24.03-LTS-SP1",
      "ecosystem": "openEuler:24.03-LTS-SP1"
    },
    "database_specific": {
      "source": "https://repo.openeuler.org/security/data/osv/OESA-2026-4111.json"
    },
    "ecosystem_specific": {
      "src": [
        "pcre2-10.42-20.oe2403sp1.src.rpm"
      ],
      "noarch": [
        "pcre2-help-10.42-20.oe2403sp1.noarch.rpm"
      ],
      "x86_64": [
        "pcre2-10.42-20.oe2403sp1.x86_64.rpm",
        "pcre2-debuginfo-10.42-20.oe2403sp1.x86_64.rpm",
        "pcre2-debugsource-10.42-20.oe2403sp1.x86_64.rpm",
        "pcre2-devel-10.42-20.oe2403sp1.x86_64.rpm"
      ],
      "aarch64": [
        "pcre2-10.42-20.oe2403sp1.aarch64.rpm",
        "pcre2-debuginfo-10.42-20.oe2403sp1.aarch64.rpm",
        "pcre2-debugsource-10.42-20.oe2403sp1.aarch64.rpm",
        "pcre2-devel-10.42-20.oe2403sp1.aarch64.rpm"
      ]
    }
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "10.42-20.oe2403sp3"
          }
        ]
      }
    ],
    "package": {
      "name": "pcre2",
      "purl": "pkg:rpm/openEuler/pcre2&distro=openEuler-24.03-LTS-SP3",
      "ecosystem": "openEuler:24.03-LTS-SP3"
    },
    "database_specific": {
      "source": "https://repo.openeuler.org/security/data/osv/OESA-2026-4111.json"
    },
    "ecosystem_specific": {
      "src": [
        "pcre2-10.42-20.oe2403sp3.src.rpm"
      ],
      "noarch": [
        "pcre2-help-10.42-20.oe2403sp3.noarch.rpm"
      ],
      "x86_64": [
        "pcre2-10.42-20.oe2403sp3.x86_64.rpm",
        "pcre2-debuginfo-10.42-20.oe2403sp3.x86_64.rpm",
        "pcre2-debugsource-10.42-20.oe2403sp3.x86_64.rpm",
        "pcre2-devel-10.42-20.oe2403sp3.x86_64.rpm"
      ],
      "aarch64": [
        "pcre2-10.42-20.oe2403sp3.aarch64.rpm",
        "pcre2-debuginfo-10.42-20.oe2403sp3.aarch64.rpm",
        "pcre2-debugsource-10.42-20.oe2403sp3.aarch64.rpm",
        "pcre2-devel-10.42-20.oe2403sp3.aarch64.rpm"
      ]
    }
  }
]

Publisher severity

high

Source reference: /database_specific/severity

Event
#14760 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement