openGauss存在非法内存访问导致DoS漏洞
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-416 and the CVSS impact.
Summary
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或更新版本即可。
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| openGauss-server | openGauss-server-7.0.0-RC2 | openGauss-server-7.0.0-RC2 and later | — | No fix listed | CNA |
| openGauss-server | openGauss-server-7.0.0-RC1 | openGauss-server-7.0.0-RC1 and later | — | No fix listed | CNA |
| openGauss-server | openGauss-server-7.0.0-RC3 | — | openGauss-server-7.0.0-RC3 | Patch available | CNA |
- openGauss-server-7.0.0-RC2 VendoropenGauss-server Affected openGauss-server-7.0.0-RC2 and later Fixed in — No fix listed CNA
- openGauss-server-7.0.0-RC1 VendoropenGauss-server Affected openGauss-server-7.0.0-RC1 and later Fixed in — No fix listed CNA
- openGauss-server-7.0.0-RC3 VendoropenGauss-server Affected — Fixed in openGauss-server-7.0.0-RC3 Patch available CNA
Remediation
- Fix · CNA openGauss-server-7.0.0-RC3 (openGauss-server) Fixed in openGauss-server-7.0.0-RC3
Timeline
- 2026-10-02 Threatist record created from CVE-2026-14178
- 2026-10-03 Alias added: GHSA-v555-5g3c-vq2x
References
More openGauss-server vulnerabilities
- TI-2026-76229 Heap overflow in openGauss HLL unpacking from missing length check CVSS 3.1HIGH 8.1
- TI-2026-76236 Unsafe reflection in openGauss JDBC LogFactory enables class loading CVSS 3.1HIGH 7.0
- TI-2026-76280 Authentication bypass in openGauss-server replication connections CVSS 3.1MEDIUM 6.5
- TI-2026-76281 Missing permission check in openGauss lets users read table file blocks CVSS 3.1MEDIUM 4.3
Sources
- CVE-2026-14178 · CVE Program
- CVE-2026-14178 · NVD
- FIRST EPSS
- GHSA-v555-5g3c-vq2x · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences