CVE-2026-111441
Last modified
CVE-2026-111441 is a high-severity vulnerability rated 8.1/10 on the CVSS scale. 在 openGauss-server 的 src/gausskernel/cbb/utils/hll/hll.cpp 中,内置函数 HllObjectUnpack() 存在长度校验缺陷。该函数从用户提供的 packed HLL 解析 lenUsed 与 lenTotal 后,仅检查输入长度足以覆盖 HLL_HEAD_SIZE + lenUsed,随后按 lenTotal 分配缓冲区、按 lenUsed 调用 memcpy_s() 拷贝输入,既未校验 lenTotal >= lenUsed,也将 memcpy_s() 目标大小写成 lenUsed 而非实际分配的 lenTotal,导致安全拷贝无法拦截越界写。hll_in()、hll_print()、hll_cardinality() 等 SQL 入口会走同一解包路径。因此,普通数据库连接用户只需构造 lenTotal 小于 lenUsed 的畸形 packed HLL(例如经 ::hll 进入 hll_in()),即可触发服务端堆越界写,存在内存破坏风险。此问题随 packed HLL 解包函数 HllObjectUnpack() 进入代码,v2.1.0 起即存在。受影响版本包括 2.1.0、3.0.x、3.1.x、5.0.x、5.1.0、6.0.x,以及 7.0.0-RC1、7.0.0-RC2、7.0.0-RC3。该问题已在 7.0.0-LTS 版本修复,通过在 HllObjectUnpack() 中补齐 lenUsed <= lenTotal 校验,并将 memcpy_s() 的目标大小改为实际分配的 lenTotal。修复 PR 见 https://gitcode.com/opengauss/openGauss-server/pull/9380 。. EPSS estimates a 0.40% chance of exploitation in the next 30 days.
Description
在 openGauss-server 的 src/gausskernel/cbb/utils/hll/hll.cpp 中,内置函数 HllObjectUnpack() 存在长度校验缺陷。该函数从用户提供的 packed HLL 解析 lenUsed 与 lenTotal 后,仅检查输入长度足以覆盖 HLL_HEAD_SIZE + lenUsed,随后按 lenTotal 分配缓冲区、按 lenUsed 调用 memcpy_s() 拷贝输入,既未校验 lenTotal >= lenUsed,也将 memcpy_s() 目标大小写成 lenUsed 而非实际分配的 lenTotal,导致安全拷贝无法拦截越界写。hll_in()、hll_print()、hll_cardinality() 等 SQL 入口会走同一解包路径。因此,普通数据库连接用户只需构造 lenTotal 小于 lenUsed 的畸形 packed HLL(例如经 ::hll 进入 hll_in()),即可触发服务端堆越界写,存在内存破坏风险。此问题随 packed HLL 解包函数 HllObjectUnpack() 进入代码,v2.1.0 起即存在。受影响版本包括 2.1.0、3.0.x、3.1.x、5.0.x、5.1.0、6.0.x,以及 7.0.0-RC1、7.0.0-RC2、7.0.0-RC3。该问题已在 7.0.0-LTS 版本修复,通过在 HllObjectUnpack() 中补齐 lenUsed <= lenTotal 校验,并将 memcpy_s() 的目标大小改为实际分配的 lenTotal。修复 PR 见 https://gitcode.com/opengauss/openGauss-server/pull/9380 。
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| openGauss-server | openGauss-server | 7.0.0-RC1, 7.0.0-RC2 7.0.0-RC3; 2.1.0; 3.0.0-3.0.6; 3.1.0; 5.0.0-5.0.5; 6.0.0-6.0.6 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-111441?
How severe is CVE-2026-111441?
How do I fix CVE-2026-111441?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-11142Insufficient policy enforcement in Paint in Google Chrome pr…6.5
- CVE-2026-11143Out of bounds read in Extensions in Google Chrome on Linux p…6.5
- CVE-2026-111438在 openGauss-server 的 src/common/backend/libpq/hba.cpp 中,复制连接…6.5
- CVE-2026-111439在 openGauss-server的 src/common/backend/utils/adt/genfile.cpp…4.3
- CVE-2026-11144Use after free in Media in Google Chrome prior to 149.0.7827…8.8
- CVE-2026-111440在 openGauss-connector-jdbc 的 pgjdbc/src/main/java/org/postgr…7
- CVE-2026-111442Backdrop CMS Core 1.35.x before 1.35.2 and 1.34.x before 1.3…5.3
- CVE-2026-111443Wheels 4.0.6 through 4.1.2 lets an unauthenticated client sw…6.5
- CVE-2026-111444Wheels through 4.1.2 allows SQL injection on MySQL/MariaDB w…9.8
- CVE-2026-111445Wheels 4.0.0 through 4.1.2 before 4.2.0 replaces incoming sc…8.1
- CVE-2026-111446Wheels 4.0.0 through 4.1.2 exposes password-less development…8.6
- CVE-2026-111447Wheels 1.1 through 4.1.2 resolves nestedProperties() records…8.1
Are you affected by CVE-2026-111441?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
