CVE-2026-14178
published medium CVSS 3.1 · 5.9openGauss存在非法内存访问导致DoS漏洞
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| openGauss-server | — | openGauss-server-7.0.0-RC2openGauss-server-7.0.0-RC2 · Other versions: affected · Platforms: openEuler, Centos | Affected | Not stated | openGauss |
| openGauss-server | — | openGauss-server-7.0.0-RC1openGauss-server-7.0.0-RC1 · Other versions: affected · Platforms: openEuler, Centos | Affected | Not stated | openGauss |
| openGauss-server | — | openGauss-server-7.0.0-RC3openGauss-server-7.0.0-RC3 · Other versions: unaffected · Platforms: openEuler Centos | Unaffected | Not stated | openGauss |
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或更新版本即可。
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.9 / 10
- Severity
- medium
- Provider
- openGauss · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| openGauss-server | openGauss-server-7.0.0-RC2 | openGauss-server-7.0.0-RC2 (affected)Default: affected | openGauss · cna |
| openGauss-server | openGauss-server-7.0.0-RC1 | openGauss-server-7.0.0-RC1 (affected)Default: affected | openGauss · cna |
| openGauss-server | openGauss-server-7.0.0-RC3 | openGauss-server-7.0.0-RC3 (unaffected)Default: unaffected | openGauss · cna |
Weaknesses
1- CWE-416 CWE-416 Use after free
References
1Provider assertions
2openGauss · cna
openGauss存在非法内存访问导致DoS漏洞
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 743295d754c30c9dd87468fcc70d55c235508321db876f622ef98858194cf1c7
- Ingested
- 23 Sep 2026, 09:01:44 UTC
- Source record
- Official CVE record