CVE-2026-89162: 
MariaDB Server 취약성 분석 및 완화

개요

CVE-2026-89162 is a low-severity uninitialized memory disclosure vulnerability in the PCRE2 library's pcre2_serialize_encode() function. It affects PCRE2 versions 10.45 through 10.47 (before 10.48), and was publicly disclosed on September 11, 2026. The flaw can cause two bytes of uninitialized heap memory from prior allocations to be included in serialized regex output. It carries a CVSS v3.1 base score of 3.3 (Low) per Red Hat, or 2.9 (Low) per the upstream advisory (PCRE2 Advisory, Red Hat Bugzilla).

기술적 세부 사항

The root cause is the use of uninitialized memory (CWE-908) combined with incorrect resource transfer between spheres (CWE-669). During compilation of certain regular expressions — particularly those involving Unicode character classes (e.g., [\H] with PCRE2_UTF, or [z-\x{100}] with PCRE2_CASELESS | PCRE2_UTF) — two bytes within the compiled structure's internal data layout are left uninitialized by pcre2_compile_class.c. When pcre2_serialize_encode() subsequently serializes the compiled code object, these two uninitialized bytes (detectable at a predictable offset, e.g., offset 1256 in the PoC) are copied verbatim into the output buffer, potentially containing residual heap content from prior allocations. Debug and Valgrind builds include a guard that initializes these bytes to 0x5555, but normal production builds do not (PCRE2 Advisory).

영향

The vulnerability results in a limited confidentiality impact: up to two bytes of uninitialized heap memory may be disclosed to an adversary who has access to the serialized regex output. There is no impact on integrity or availability. The practical severity is constrained by the fact that the attacker has little control over which two bytes are exposed, and that exposing serialized PCRE2 output to untrusted parties is itself considered an unsafe practice (since pcre2_serialize_decode() is not designed to accept untrusted data). No lateral movement or privilege escalation is enabled by this vulnerability alone (PCRE2 Advisory, Github Advisory).

악용 가능성

A proof-of-concept C program is publicly available in the upstream PCRE2 security advisory, demonstrating the uninitialized memory disclosure via Valgrind. There is no evidence of in-the-wild exploitation, and the NVD SSVC assessment confirms exploitation is currently "none." The EPSS score is approximately 0.105–0.155%, placing it in a low percentile for exploitation likelihood. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog (PCRE2 Advisory, Github Advisory).

착취 단계

  1. Identify target: Confirm the target application links against PCRE2 versions 10.45–10.47 and exposes serialized regex output (e.g., via a file, IPC, or network channel accessible to the attacker.
  2. Craft regex pattern: Prepare a regular expression using Unicode character classes, such as [\H] (non-horizontal whitespace) with the PCRE2_UTF compile option, or [z-\x{100}] with PCRE2_CASELESS | PCRE2_UTF.
  3. Trigger compilation and serialization: Cause the application to call pcre2_compile() with the crafted pattern and then pcre2_serialize_encode() on the resulting compiled code object.
  4. Obtain serialized output: Access the serialized byte buffer produced by pcre2_serialize_encode().
  5. Extract uninitialized bytes: Read the two uninitialized bytes at the predictable offset within the serialized buffer (e.g., offset 1256 as shown in the PoC); these bytes may contain residual heap data from prior memory allocations on the target system (PCRE2 Advisory).

완화 및 해결 방법

The fix is included in PCRE2 version 10.48, released August 31, 2026, which initializes the two previously uninitialized bytes before serialization. Users should upgrade to PCRE2 10.48 or later as the primary remediation. As a workaround where upgrading is not immediately possible, restrict access to serialized PCRE2 output so it is never exposed to untrusted parties, and apply the principle of least privilege to limit which users or processes can invoke pcre2_serialize_encode() functionality. Fedora and Red Hat package updates are tracked under Bugzilla bug 2531748 (PCRE2 Release, Red Hat Bugzilla).

커뮤니티 반응

The vulnerability was originally reported to the PCRE2 project by the Erlang/OTP team, who noted they do not consider it a serious vulnerability for their users and did not plan to file a separate CVE for Erlang/OTP. The upstream PCRE2 maintainers classified it as "low severity" and addressed it as part of the regular 10.48 release. The oss-security mailing list carried a disclosure thread, and the issue received routine coverage from vulnerability aggregators without significant community alarm (PCRE2 Advisory, oss-sec).

추가 자료

리눅스 배포판 수정 현황

주요 리눅스 배포판과 그 릴리스 전반에 걸친 가용성을 수정하세요.

Debian

수정됨

bookworm

pcre2

수정됨

sid

pcre2: 10.48-1

수정됨

trixie

pcre2: 10.46-1~deb13u2

수정됨

Ubuntu

알 수 없음

bionic (esm-apps)

pcre2

알 수 없음

devel

pcre2

알 수 없음

focal (esm-infra)

pcre2

알 수 없음

jammy

pcre2

알 수 없음

noble

pcre2

알 수 없음

resolute

pcre2

알 수 없음

xenial (esm-apps-legacy)

pcre2

알 수 없음

RHEL / CentOS

영향을 받은 사람들

OpenShift

영향 없음

RHEL 8

mariadb.src

영향을 받은 사람들

RHEL 9

mariadb.src

영향을 받은 사람들

RHEL 10

mariadb10.11.src

영향을 받은 사람들

Alpine

영향을 받은 사람들

edge

10.45-r0

영향을 받은 사람들

v3.22

10.46-r0

영향을 받은 사람들

v3.23

10.47-r0

영향을 받은 사람들

v3.24

10.47-r1

영향을 받은 사람들

근원: 이 보고서는 AI를 사용하여 생성되었습니다.

관련 MariaDB Server 취약점:

CVE ID

심각도

점수

기술

구성 요소 이름

CISA KEV 익스플로잇

수정 사항이 있습니다.

게시된 날짜

CVE-2026-89161HIGH7.8
  • MariaDB Server logoMariaDB Server
  • mariadb:11.8::mariadb-backup
아니요예Sep 11, 2026
CVE-2026-89157HIGH7.4
  • MariaDB Server logoMariaDB Server
  • libpcre2-8-0
아니요예Sep 11, 2026
CVE-2026-89160MEDIUM6.5
  • MariaDB Server logoMariaDB Server
  • seal-pcre2
아니요예Sep 11, 2026
CVE-2026-89158MEDIUM6.5
  • MariaDB Server logoMariaDB Server
  • mariadb:11.8::mariadb-server-utils
아니요예Sep 11, 2026
CVE-2026-89162LOW3.3
  • MariaDB Server logoMariaDB Server
  • mariadb-server-galera
아니요예Sep 11, 2026

무료 취약성 평가

클라우드 보안 태세를 벤치마킹합니다

9개의 보안 도메인에서 클라우드 보안 관행을 평가하여 위험 수준을 벤치마킹하고 방어의 허점을 식별합니다.

평가 요청

추가 Wiz 리소스

맞춤형 데모 받기

맞춤형 데모 신청하기

"내가 본 최고의 사용자 경험은 클라우드 워크로드에 대한 완전한 가시성을 제공합니다."
데이비드 에슬릭최고정보책임자(CISO)
"Wiz는 클라우드 환경에서 무슨 일이 일어나고 있는지 볼 수 있는 단일 창을 제공합니다."
아담 플레처최고 보안 책임자(CSO)
"우리는 Wiz가 무언가를 중요한 것으로 식별하면 실제로 중요하다는 것을 알고 있습니다."
그렉 포니아토프스키위협 및 취약성 관리 책임자