CVE-2026-14178: openGauss存在非法内存访问导致DoS漏洞

Published Jun 30, 2026
·
Updated

openGauss 在处理带 NLS 参数的 totimestamp 调用时,totimestampwithfmtnls() 会将 nlsfmtstr 保存到 usess->parsercxt.nlsfmtstr。在 seqscan + sort 执行路径下,该字符串原本被分配在 SeqScan 的表达式上下文中;当 SeqScan 完成后,该内存上下文会被 reset,但后续结果输出阶段 timestampout() 仍会通过 CheckNlsFormat() 访问 usess->parsercxt.nlsfmtstr,导致访问已释放内存。攻击者在具备数据库 SQL 执行权限的情况下,可构造特定 totimestamp(..., ..., 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或更新版本即可。

Affected Software

1 affected component
openGauss openGauss-server>7.0.0-RC1<7.0.0-RC3

Event History

Jun 30, 2026
CVE Published
via MITRE·01:56 PM
Data Sourced
via MITRE·01:56 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·02:16 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2026-14178?

CVE-2026-14178 has a medium severity score of 5.9.

2

How do I fix CVE-2026-14178?

To address CVE-2026-14178, ensure that your openGauss server is updated to the latest version that includes patches for this vulnerability.

3

What types of attacks can be executed due to CVE-2026-14178?

CVE-2026-14178 allows attackers to potentially cause a Denial of Service (DoS) due to illegal memory access.

4

Which software is affected by CVE-2026-14178?

CVE-2026-14178 affects the openGauss server software.

5

What causes the vulnerability in CVE-2026-14178?

The vulnerability in CVE-2026-14178 is caused by the handling of an NLS parameter in a way that leads to use-after-free memory access.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203