Skip to content
High 7.5

psqlODBCにSQL文の解析処理の脆弱性、メモリを破壊されるおそれ

CVE-2026-120061 First seen on SecPulse

Summary

psqlODBCのODBCエスケープ解析処理に、スタックバッファオーバーフローの脆弱性が見つかりました。信頼できないSQL文を渡すアプリケーションでは、プロセスのメモリが壊されるおそれがあります。18.00.0006より前の版が影響を受け、修正版の18.00.0006で直ります。信頼できないSQL文をこのドライバーに渡している場合は、早めに修正版へ更新してください。

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のODBCエスケープ解析処理に、スタックバッファオーバーフローの脆弱性が見つかりました。信頼できないSQL文を渡すアプリケーションでは、プロセスのメモリが壊されるおそれがあります。18.00.0006より前の版が影響を受け、修正版の18.00.0006で直ります。信頼できないSQL文をこのドライバーに渡している場合は、早めに修正版へ更新してください。

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.

The psqlODBC parser for ODBC escape sequences in application SQL text writes the argument offsets of a {fn} escape into a fixed 16-entry stack array without a bound and does not initialize the array. An escape with too many arguments overflows the stack, and a reference to an unsupplied argument copies arbitrary bytes into the query. The copy of a {d}, {t}, {ts}, or {escape} body also writes one byte past a 128-byte stack buffer. An application that forwards untrusted SQL text to the driver exposes its process to memory corruption. 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