Skip to content
High 7.5

psqlODBCで信頼されないサーバーから任意のデータを書き込まれる脆弱性

CVE-2026-120058 First seen on SecPulse

Summary

psqlODBCには、後続のFETCHの応答で列数が変わるとメモリ領域を超えて書き込まれる脆弱性があります。影響を受けるのは18.00.0006より前の版で、18.00.0006で修正されています。信頼されていないサーバーに接続する環境では、修正版への更新を優先してください。

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

psqlODBCには、後続のFETCHの応答で列数が変わるとメモリ領域を超えて書き込まれる脆弱性があります。影響を受けるのは18.00.0006より前の版で、18.00.0006で修正されています。信頼されていないサーバーに接続する環境では、修正版への更新を優先してください。

Affected packages

PackageAffected → Fixed
PostgreSQLpsqlODBC
< 18.00.0006→ 18.00.0006

Fix status by distribution

Records published by each distribution for this CVE. Fixed versions differ by release; check each link.

Original description The description as published by the source.

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.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details