目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2026-136509— Driver does not check that server replies match the queries it sent

一分钟漏洞结论

影响对象
PostgreSQL psqlODBC
利用判断
尚无明确在野利用证据,仍需结合暴露面评估
建议动作
优先检查厂商安全公告和参考链接中的修复版本;无法立即升级时,限制受影响服务暴露并加强监测。

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 e

CVSS 7.5 · High
获取后续新漏洞提醒 登录后订阅

一、 漏洞 CVE-2026-136509 基础信息

漏洞信息

Shenlong is analyzing...


对漏洞内容有疑问?看看神龙的深度分析是否有帮助!
查看神龙十问 ↗

尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。

Vulnerability Title
Driver does not check that server replies match the queries it sent
来源: CVE Program / CVE List V5
Vulnerability Description
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 memory, or make the driver loop forever. - A reply that ends a COPY, the connection or the transaction at an unexpected point leaves freed results, keysets or table information in use: a CopyOutResponse followed by a lost connection, a ROLLBACK command tag under UseDeclareFetch=1, or a lost connection while a cursor with positioned updates is closed. Eight extra bytes in a reply also make the driver wait forever for a COPY to end. - On Windows, a start-up reply without client_encoding crashes the driver, and with MSDTC a failed connection makes the XA library use a connection it has already freed. - An error message ending in the first byte of a multibyte character leaves the SQLSTATE returned by SQLGetDiagRecW() unterminated. - When a string value did not fit the application's buffer, eight Unicode entry points filled the buffer and wrote no null terminator, so a caller that reads to the terminator, as ODBC allows, read past the end of its own buffer. This continues the fixes for CVE-2026-120058 and CVE-2026-120060, which covered other replies. The demonstrated results are crashes and heap corruption; code execution has not been demonstrated. Versions up to and including psqlODBC 18.00.0006 are affected.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
来源: CVE Program / CVE List V5
Vulnerability Type
跨界内存写
来源: CVE Program / CVE List V5

受影响产品

厂商 产品 影响版本 CPE 订阅
PostgreSQL psqlODBC 0 ~ 18.00.0006 -

二、漏洞 CVE-2026-136509 的公开POC

# POC 描述 源链接 神龙链接
AI 生成 POC 高级

未找到公开 POC。

登录以生成 AI POC

三、漏洞 CVE-2026-136509 的情报信息

请登录查看更多情报信息。

CVE-2026-136509 其他参考 (2)

同批安全公告 · PostgreSQL · 2026-11-25 · 共 17 条

CVE-2026-136500 8.1 HIGH SQL injection with BIG5 aliases and the JOHAB, EUC_TW, EUC_CN and EUC_KR client encodings
CVE-2026-136507 8.1 HIGH Connection string injection in SQLDriverConnect and the MSDTC XA open string
CVE-2026-136502 8.1 HIGH SQL injection and redirected writes because the driver reads SQL text differently from the
CVE-2026-136506 7.5 HIGH SQL injection through names the driver puts into its own queries
CVE-2026-136515 7.5 HIGH Memory corruption and crashes when the driver rewrites statements for cursors and escapes
CVE-2026-136505 7.5 HIGH Unchecked sizes and counters overflow driver buffers
CVE-2026-136512 7.5 HIGH Buffer overflows when a converted value does not fit the application's buffer
CVE-2026-136503 7.5 HIGH Use after free, double free and out-of-bounds writes in result and transaction clean-up
CVE-2026-136501 7.1 HIGH Positioned writes go to another user's table through name and case matching
CVE-2026-136511 6.8 MEDIUM An SSLmode value written with capitals or braces connects without TLS
CVE-2026-136508 6.8 MEDIUM MSDTC connections drop the connection's TLS and channel binding settings
CVE-2026-136514 6.5 MEDIUM Another database user can crash applications by changing a table they own
CVE-2026-136499 5.9 MEDIUM Driver sends application memory to the server or returns it to the caller
CVE-2026-136504 5.0 MEDIUM Debug log records the database password in clear text
CVE-2026-136510 4.8 MEDIUM Statement after an abandoned parameter array sends the abandoned batch's rows instead of i
CVE-2026-136513 3.6 LOW Another local user can redirect log files (incomplete fix for CVE-2026-120066)

IV. Related Vulnerabilities