CNVD-2026-30684

Vulnerability from cnvd - Published: 2026-08-04
VLAI
Title
Huawei openGauss资源管理错误漏洞
Description
Huawei openGauss是中国Huawei公司开源的一款开源的关系型数据库管理系统,它具有多核高性能、全链路安全性、智能运维等企业级特性。 Huawei 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() 访问已释放的内存,导致释放后重用,攻击者可利用该漏洞在具备数据库SQL执行权限时,可构造特定to_timestamp(..., ..., nlsparam) 查询触发攻击,造成后端进程异常退出,影响服务可用性,形成拒绝服务风险。
Severity
Patch Name
Huawei openGauss资源管理错误漏洞的补丁
Patch Description
Huawei openGauss是中国Huawei公司开源的一款开源的关系型数据库管理系统,它具有多核高性能、全链路安全性、智能运维等企业级特性。 Huawei 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() 访问已释放的内存,导致释放后重用,攻击者可利用该漏洞在具备数据库SQL执行权限时,可构造特定to_timestamp(..., ..., nlsparam) 查询触发攻击,造成后端进程异常退出,影响服务可用性,形成拒绝服务风险。目前,供应商发布了安全公告及相关补丁信息,修复了此漏洞。
Formal description

厂商已发布了漏洞修复程序,请及时关注更新: https://gitcode.com/opengauss/openGauss-server/pull/8877

Reference
https://nvd.nist.gov/vuln/detail/CVE-2026-14178
Impacted products
Name
['openGauss openGauss 7.0.0-RC2', 'openGauss openGauss 7.0.0-RC1']
Show details on source website

{
  "cves": {
    "cve": {
      "cveNumber": "CVE-2026-14178",
      "cveUrl": "https://nvd.nist.gov/vuln/detail/CVE-2026-14178"
    }
  },
  "description": "Huawei openGauss\u662f\u4e2d\u56fdHuawei\u516c\u53f8\u5f00\u6e90\u7684\u4e00\u6b3e\u5f00\u6e90\u7684\u5173\u7cfb\u578b\u6570\u636e\u5e93\u7ba1\u7406\u7cfb\u7edf\uff0c\u5b83\u5177\u6709\u591a\u6838\u9ad8\u6027\u80fd\u3001\u5168\u94fe\u8def\u5b89\u5168\u6027\u3001\u667a\u80fd\u8fd0\u7ef4\u7b49\u4f01\u4e1a\u7ea7\u7279\u6027\u3002\n\nHuawei openGauss\u5b58\u5728\u8d44\u6e90\u7ba1\u7406\u9519\u8bef\u6f0f\u6d1e\uff0c\u8be5\u6f0f\u6d1e\u6e90\u4e8e\u5728\u5904\u7406\u5e26 NLS \u53c2\u6570\u7684 to_timestamp \u8c03\u7528\u65f6\uff0cto_timestamp_with_fmt_nls() \u5c06 nls_fmt_str \u4fdd\u5b58\u5230 u_sess-\u003eparser_cxt.nls_fmt_str\uff1b\u5728 seqscan + sort \u6267\u884c\u8def\u5f84\u4e0b\uff0c\u8be5\u5b57\u7b26\u4e32\u88ab\u5206\u914d\u5728 SeqScan \u7684\u8868\u8fbe\u5f0f\u4e0a\u4e0b\u6587\u4e2d\uff0c\u5f53 SeqScan \u5b8c\u6210\u540e\u5185\u5b58\u4e0a\u4e0b\u6587\u88ab reset\uff0c\u4f46\u540e\u7eed\u7ed3\u679c\u8f93\u51fa\u9636\u6bb5 timestamp_out() \u4ecd\u901a\u8fc7 CheckNlsFormat() \u8bbf\u95ee\u5df2\u91ca\u653e\u7684\u5185\u5b58\uff0c\u5bfc\u81f4\u91ca\u653e\u540e\u91cd\u7528\uff0c\u653b\u51fb\u8005\u53ef\u5229\u7528\u8be5\u6f0f\u6d1e\u5728\u5177\u5907\u6570\u636e\u5e93SQL\u6267\u884c\u6743\u9650\u65f6\uff0c\u53ef\u6784\u9020\u7279\u5b9ato_timestamp(..., ..., nlsparam) \u67e5\u8be2\u89e6\u53d1\u653b\u51fb\uff0c\u9020\u6210\u540e\u7aef\u8fdb\u7a0b\u5f02\u5e38\u9000\u51fa\uff0c\u5f71\u54cd\u670d\u52a1\u53ef\u7528\u6027\uff0c\u5f62\u6210\u62d2\u7edd\u670d\u52a1\u98ce\u9669\u3002",
  "formalWay": "\u5382\u5546\u5df2\u53d1\u5e03\u4e86\u6f0f\u6d1e\u4fee\u590d\u7a0b\u5e8f\uff0c\u8bf7\u53ca\u65f6\u5173\u6ce8\u66f4\u65b0\uff1a\r\nhttps://gitcode.com/opengauss/openGauss-server/pull/8877",
  "isEvent": "\u901a\u7528\u8f6f\u786c\u4ef6\u6f0f\u6d1e",
  "number": "CNVD-2026-30684",
  "openTime": "2026-08-04",
  "patchDescription": "Huawei openGauss\u662f\u4e2d\u56fdHuawei\u516c\u53f8\u5f00\u6e90\u7684\u4e00\u6b3e\u5f00\u6e90\u7684\u5173\u7cfb\u578b\u6570\u636e\u5e93\u7ba1\u7406\u7cfb\u7edf\uff0c\u5b83\u5177\u6709\u591a\u6838\u9ad8\u6027\u80fd\u3001\u5168\u94fe\u8def\u5b89\u5168\u6027\u3001\u667a\u80fd\u8fd0\u7ef4\u7b49\u4f01\u4e1a\u7ea7\u7279\u6027\u3002\r\n\r\nHuawei openGauss\u5b58\u5728\u8d44\u6e90\u7ba1\u7406\u9519\u8bef\u6f0f\u6d1e\uff0c\u8be5\u6f0f\u6d1e\u6e90\u4e8e\u5728\u5904\u7406\u5e26 NLS \u53c2\u6570\u7684 to_timestamp \u8c03\u7528\u65f6\uff0cto_timestamp_with_fmt_nls() \u5c06 nls_fmt_str \u4fdd\u5b58\u5230 u_sess-\u003eparser_cxt.nls_fmt_str\uff1b\u5728 seqscan + sort \u6267\u884c\u8def\u5f84\u4e0b\uff0c\u8be5\u5b57\u7b26\u4e32\u88ab\u5206\u914d\u5728 SeqScan \u7684\u8868\u8fbe\u5f0f\u4e0a\u4e0b\u6587\u4e2d\uff0c\u5f53 SeqScan \u5b8c\u6210\u540e\u5185\u5b58\u4e0a\u4e0b\u6587\u88ab reset\uff0c\u4f46\u540e\u7eed\u7ed3\u679c\u8f93\u51fa\u9636\u6bb5 timestamp_out() \u4ecd\u901a\u8fc7 CheckNlsFormat() \u8bbf\u95ee\u5df2\u91ca\u653e\u7684\u5185\u5b58\uff0c\u5bfc\u81f4\u91ca\u653e\u540e\u91cd\u7528\uff0c\u653b\u51fb\u8005\u53ef\u5229\u7528\u8be5\u6f0f\u6d1e\u5728\u5177\u5907\u6570\u636e\u5e93SQL\u6267\u884c\u6743\u9650\u65f6\uff0c\u53ef\u6784\u9020\u7279\u5b9ato_timestamp(..., ..., nlsparam) \u67e5\u8be2\u89e6\u53d1\u653b\u51fb\uff0c\u9020\u6210\u540e\u7aef\u8fdb\u7a0b\u5f02\u5e38\u9000\u51fa\uff0c\u5f71\u54cd\u670d\u52a1\u53ef\u7528\u6027\uff0c\u5f62\u6210\u62d2\u7edd\u670d\u52a1\u98ce\u9669\u3002\u76ee\u524d\uff0c\u4f9b\u5e94\u5546\u53d1\u5e03\u4e86\u5b89\u5168\u516c\u544a\u53ca\u76f8\u5173\u8865\u4e01\u4fe1\u606f\uff0c\u4fee\u590d\u4e86\u6b64\u6f0f\u6d1e\u3002",
  "patchName": "Huawei openGauss\u8d44\u6e90\u7ba1\u7406\u9519\u8bef\u6f0f\u6d1e\u7684\u8865\u4e01",
  "products": {
    "product": [
      "openGauss openGauss 7.0.0-RC2",
      "openGauss openGauss 7.0.0-RC1"
    ]
  },
  "referenceLink": "https://nvd.nist.gov/vuln/detail/CVE-2026-14178",
  "serverity": "\u4e2d",
  "submitTime": "2026-07-08",
  "title": "Huawei openGauss\u8d44\u6e90\u7ba1\u7406\u9519\u8bef\u6f0f\u6d1e"
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Loading…