---
title: "CVE-2026-120058"
canonical_url: "https://pkgseek.com/security/CVE-2026-120058"
locale: "zh-CN"
source: "pkgseek"
entity_type: "cve"
severity: "high"
---

# CVE-2026-120058

psqlODBC sizes its row cache from the column count of a cursor's first result, but recomputes the column count from each later FETCH reply without checking that it matches. A server not trusted under current SSL settings can answer a later FETCH with more columns and make the driver write tuple records past the end of the heap allocation. A keyset reply with fewer columns than the key fields also underflows the unsigned field count. This is reachable with UseDeclareFetch enabled. Versions before psqlODBC 18.00.0006 are affected.

CVE-2026-120058 严重级别为 HIGH (7.5)，共索引 2 条受影响软件包构建记录，涉及 2 个发行版。

- **级别 / 评分**: HIGH (7.5)
- **受影响构建数**: 2
- **涉及发行版**: 2
- **已标明修复版本发行版**: Oracle Linux

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Debian | trixie | odbc-postgresql | 1:17.00.0004-2 | — |
| Oracle Linux | 9 | postgresql-odbc | 12.02.0000-6.el9 | 12.02.0000-7.el9_9 |
