pgjdbcに未検査の例外後の通信異常による脆弱性、SQLが実行されるおそれ
Summary
pgjdbcでは、未検査の例外で要求が中断されると接続が閉じられず、後続の値がSQLコマンドとして実行されるおそれがあります。42.7.15より前のすべてのバージョンが影響を受け、42.7.15で修正されています。CVSSは7.5で、公表は本日で、悪用の報告は示されていません。42.7.15以降へ速やかに更新してください。
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.
pgjdbcでは、未検査の例外で要求が中断されると接続が閉じられず、後続の値がSQLコマンドとして実行されるおそれがあります。42.7.15より前のすべてのバージョンが影響を受け、42.7.15で修正されています。CVSSは7.5で、公表は本日で、悪用の報告は示されていません。42.7.15以降へ速やかに更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| pgjdbcpgjdbc |
< 42.7.15→ 42.7.15 |
42.7.15 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-134843 libpgjava Fix available
- Ubuntu UBUNTU-CVE-2026-134843 libpgjava No fixed version in this record
Original description The description as published by the source.
pgjdbc, the PostgreSQL JDBC Driver, does not close the connection when an unchecked exception interrupts a request. Part of a Bind message stays in the send buffer, and the server reads the bytes that follow as the rest of it. The bytes of a value uploaded later on the same connection can then run as a SQL command. Since 42.6.0 a setBinaryStream() value without a length that is executed again throws such an exception, as does the driver's own retry after SQLState 0A000 or 26000. An application stream that throws an unchecked exception has the same effect in all versions. All versions before 42.7.15 are affected, and 42.7.15 fixes the problem.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- web repo.maven.apache.org