5.9
MEDIUM CVSS 3.1
CVE-2026-14178
openGauss存在非法内存访问导致DoS漏洞
Description

openGauss 在处理带 NLS 参数的 to_timestamp 调用时,to_timestamp_with_fmt_nls() 会将 nls_fmt_str 保存到 u_sess->parser_cxt.nls_fmt_str。在 seqscan + sort 执行路径下,该字符串原本被分配在 SeqScan 的表达式上下文中;当 SeqScan 完成后,该内存上下文会被 reset,但后续结果输出阶段 timestamp_out() 仍会通过 CheckNlsFormat() 访问 u_sess->parser_cxt.nls_fmt_str,导致访问已释放内存。攻击者在具备数据库 SQL 执行权限的情况下,可构造特定 to_timestamp(..., ..., nlsparam) 查询触发 heap-use-after-free。在 ASan/Memcheck 环境下表现为数据库服务退出;在实际运行环境中可能造成后端进程异常退出,影响数据库服务可用性,形成拒绝服务风险。该问题在openGauss-server-7.0.0-RC1版本和openGauss-server-7.0.0-RC2版本存在,目前已在openGauss-server-7.0.0-RC3版本修复。由于 openGauss-server-7.0.0-RC1版本和openGauss-server-7.0.0-RC2均为创新版本,不会发布针对性补丁包,涉及版本升级至 openGauss-server-7.0.0-RC3或更新版本即可。

INFO

Published Date :

June 30, 2026, 2:16 p.m.

Last Modified :

June 30, 2026, 3:16 p.m.

Remotely Exploit :

Yes !

Source :

a1a479f7-907b-4ae8-a999-9148cadc9224
Affected Products

The following products are affected by CVE-2026-14178 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

No affected product recoded yet

CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 134c704f-9b21-4f2e-91b3-4a467353bcc0
CVSS 3.1 MEDIUM a1a479f7-907b-4ae8-a999-9148cadc9224
CVSS 3.1 MEDIUM MITRE-CVE
Solution
Update openGauss to version RC3 or later to fix a heap-use-after-free vulnerability.
  • Upgrade openGauss to version RC3 or later.
  • Apply security patches provided by the vendor.
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2026-14178.

URL Resource
https://gitcode.com/opengauss/openGauss-server/pull/8877
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-14178 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-14178 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-14178 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-14178 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Jun. 30, 2026

    Action Type Old Value New Value
    Added SSVC {'id': 'CVE-2026-14178', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'no'}, {'technicalImpact': 'partial'}], 'version': '2.0.3', 'timestamp': '2026-06-30T14:39:56.155795Z'}
  • New CVE Received by a1a479f7-907b-4ae8-a999-9148cadc9224

    Jun. 30, 2026

    Action Type Old Value New Value
    Added Affected [{'vendor': 'openGauss-server', 'product': 'openGauss-server-7.0.0-RC2', 'versions': [{'status': 'affected', 'version': 'openGauss-server-7.0.0-RC2'}], 'platforms': ['openEuler', 'Centos'], 'collectionURL': 'https://opengauss.org/zh/download/archive/?version=7.0.0-RC2', 'defaultStatus': 'affected'}, {'vendor': 'openGauss-server', 'product': 'openGauss-server-7.0.0-RC1', 'versions': [{'status': 'affected', 'version': 'openGauss-server-7.0.0-RC1'}], 'platforms': ['openEuler', 'Centos'], 'collectionURL': 'https://opengauss.org/zh/download/archive/?version=7.0.0-RC1', 'defaultStatus': 'affected'}, {'vendor': 'openGauss-server', 'product': 'openGauss-server-7.0.0-RC3', 'versions': [{'status': 'unaffected', 'version': 'openGauss-server-7.0.0-RC3'}], 'platforms': ['openEuler Centos'], 'collectionURL': 'https://opengauss.org/zh/download/archive/?version=7.0.0-RC3', 'defaultStatus': 'unaffected'}]
    Added Description openGauss 在处理带 NLS 参数的 to_timestamp 调用时,to_timestamp_with_fmt_nls() 会将 nls_fmt_str 保存到 u_sess->parser_cxt.nls_fmt_str。在 seqscan + sort 执行路径下,该字符串原本被分配在 SeqScan 的表达式上下文中;当 SeqScan 完成后,该内存上下文会被 reset,但后续结果输出阶段 timestamp_out() 仍会通过 CheckNlsFormat() 访问 u_sess->parser_cxt.nls_fmt_str,导致访问已释放内存。攻击者在具备数据库 SQL 执行权限的情况下,可构造特定 to_timestamp(..., ..., nlsparam) 查询触发 heap-use-after-free。在 ASan/Memcheck 环境下表现为数据库服务退出;在实际运行环境中可能造成后端进程异常退出,影响数据库服务可用性,形成拒绝服务风险。该问题在openGauss-server-7.0.0-RC1版本和openGauss-server-7.0.0-RC2版本存在,目前已在openGauss-server-7.0.0-RC3版本修复。由于 openGauss-server-7.0.0-RC1版本和openGauss-server-7.0.0-RC2均为创新版本,不会发布针对性补丁包,涉及版本升级至 openGauss-server-7.0.0-RC3或更新版本即可。
    Added CVSS V3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
    Added CWE CWE-416
    Added Reference https://gitcode.com/opengauss/openGauss-server/pull/8877
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.