Skip to content
High 7.5

psqlODBCに、サーバー応答の検証不備による脆弱性

CVE-2026-136509 First seen on SecPulse

Summary

psqlODBCは、サーバーからの応答が送った問い合わせと一致するかを確認していません。悪意のあるサーバーや通信経路上の第三者が不一致の応答を送ると、アプリケーションのメモリが壊れるおそれがあります。対象はバージョン18.00.0006以前で、sslmode=verify-fullを使わない接続が影響を受けやすいです。修正版の有無は公開されていないため、最新の情報を確認してください。

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は、サーバーからの応答が送った問い合わせと一致するかを確認していません。悪意のあるサーバーや通信経路上の第三者が不一致の応答を送ると、アプリケーションのメモリが壊れるおそれがあります。対象はバージョン18.00.0006以前で、sslmode=verify-fullを使わない接続が影響を受けやすいです。修正版の有無は公開されていないため、最新の情報を確認してください。

Affected packages

PackageAffected → Fixed
PostgreSQLpsqlODBC
≤ 18.00.0006→ Not listed

This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.

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 did not check that a server reply matches the query it sent: that a FETCH returns no more rows than it asked for, that each row has the described number of columns, that one query produces one result, and that a COPY, a transaction or the connection ends where the protocol says. By sending replies that do not match, a hostile or compromised server, or anyone on the network path of a connection that does not use sslmode=verify-full (the default is disable) can corrupt memory in the application:

  • A FETCH reply with more rows than requested overflows the row cache.
  • Extra results in reply to a FETCH, or to the queries of a keyset-driven cursor, are freed while still in use.
  • A key query of a keyset-driven cursor answered with extra columns, or a re-read row with fewer columns, overflows the row cache.
  • Replies without columns or rows, or with NULL values, to the driver's internal queries at connect time and in catalog functions are dereferenced.
  • A malformed relacl value in SQLTablePrivileges() makes the driver write past a buffer.
  • On Windows with MSDTC, a long transaction name returned by the server overflows a buffer during recovery.
  • Values in replies to the driver's internal queries are used without checking their range: an empty column name, a parameter count, a large-object size, a function's or trigger's argument count, and a result of exactly 32767 columns. They are dereferenced, read past, returned to the application or sent back to the server as stack…

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