{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2026-14178 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2026-14178 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-14178 is a medium-severity use after free vulnerability in openGauss-server-7.0.0-RC1, published on 30 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-14178 and fix it if it is affected.\n\nWhat it is: CVE-2026-14178 is a medium-severity use after free vulnerability in openGauss-server-7.0.0-RC1, published on 30 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-14178 in the wild and no public exploit code.\n\nAffected product: openGauss-server-7.0.0-RC1. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-14178/ (Markdown: https://insights.sbomify.com/CVE-2026-14178/index.md)","id":"CVE-2026-14178","markdown":"https://insights.sbomify.com/CVE-2026-14178/index.md","name":"CVE-2026-14178","record":{"aliases":["GHSA-v555-5g3c-vq2x"],"analysis":{"component_type":"database","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"openGauss database","requires_auth":"none","summary":"An attacker with SQL execution privileges can trigger a use-after-free in openGauss via crafted to_timestamp queries, causing denial of service.","user_interaction":"not_required","vuln_class":"use_after_free"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"openGauss","cpe":[],"cvss":{"score":5.9,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-416","name":"Use After Free"}],"description":"openGauss 在处理带 NLS 参数的 to_timestamp 调用时，to_timestamp_with_fmt_nls() 会将 nls_fmt_str 保存到 u_sess-\u003eparser_cxt.nls_fmt_str。在 seqscan + sort 执行路径下，该字符串原本被分配在 SeqScan 的表达式上下文中；当 SeqScan 完成后，该内存上下文会被 reset，但后续结果输出阶段 timestamp_out() 仍会通过 CheckNlsFormat() 访问 u_sess-\u003eparser_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版本修复。由于\nopenGauss-server-7.0.0-RC1版本和openGauss-server-7.0.0-RC2均为创新版本，不会发布针对性补丁包，涉及版本升级至\nopenGauss-server-7.0.0-RC3或更新版本即可。","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"openGauss存在非法内存访问导致DoS漏洞","id":"CVE-2026-14178","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"use_after_free","year":"2026"},"n_packages":0,"n_references":1,"next":{"headline":"Undertow-core: undertow:http request smuggling via oversized chunk-size bit overlap","id":"CVE-2026-14180"},"packages":[],"prev":{"headline":"User Enumeration via Password Reset in IKAS Technology Inc.'s ikas E-Commerce Infrastructure","id":"CVE-2026-14177"},"products":["openGauss-server-7.0.0-RC1","openGauss-server-7.0.0-RC2","openGauss-server-7.0.0-RC3"],"published":"2026-06-30","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-06-30","vendors":["openGauss-server"]},"summary":"An attacker with SQL execution privileges can trigger a use-after-free in openGauss via crafted to_timestamp queries, causing denial of service.","url":"https://insights.sbomify.com/CVE-2026-14178/"}