CVE-2026-111441
HLL 反序列化 lenTotal/lenUsed 校验缺失导致堆越界写
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running openGauss-server (versions: see the vendor advisory)
- Anyone running 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
Vulnerability facts
- Affected
- 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
- Fixed in
- No fix listed yet
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 8.1 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.43% chance of exploitation in 30 days (percentile 29, 2026-11-26)
- CWE
- CWE-122
- Modified
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 。
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| openGauss-server | — | — | cvelist |
| 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 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-111441. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-111441.md Affected: 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 Fixed in: no fixed version listed yet Steps: 1. Search this machine and project for openGauss-server: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is CVE-2026-111441 being exploited?
There is no confirmed exploitation: CVE-2026-111441 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.43% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-111441?
High: CVSS 8.1 (v3.1, scored by CNA). Remote, login needed.
Which versions are affected by CVE-2026-111441?
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.
Is there a fix for CVE-2026-111441?
No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2026-111441?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.