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

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2026-136503— Use after free, double free and out-of-bounds writes in result and transaction clean-up

一分钟漏洞结论

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

psqlODBC frees memory that is still in use, frees it twice, or writes outside an application buffer in these cases: The clean-up the driver runs at commit and rollback sends queries of its own, and the reply to one of them can start the clean-up again while it

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

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

漏洞信息

Shenlong is analyzing...


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

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

Vulnerability Title
Use after free, double free and out-of-bounds writes in result and transaction clean-up
来源: CVE Program / CVE List V5
Vulnerability Description
psqlODBC frees memory that is still in use, frees it twice, or writes outside an application buffer in these cases: - The clean-up the driver runs at commit and rollback sends queries of its own, and the reply to one of them can start the clean-up again while it is running. The nested run frees the rollback log, or the list of cursors and prepared statements to close, and the outer run uses and frees it again. - The callback through which libpq delivers notices could run that clean-up, and close the connection, while libpq was still using the connection. - Freeing a statement whose result holds several cursors (FetchRefcursors=1, or UseDeclareFetch=1) used the freed first result while the later cursors were closed. - With UseDeclareFetch=1, after a rollback closed an updatable cursor, rows added or deleted through it were counted but not stored, so freeing the statement freed uninitialised pointers, and adding a row wrote past the keyset. - After a multi-row fetch failed on a row other than the first of its rowset, SQLGetData() wrote at an offset past the buffer the application passed. - SQLProcedureColumns() freed the result of its catalog query twice when the query failed. - In a process named sqlservr (SQL Server linked servers), a server version below 8.4 made the statement parser free a buffer twice. - A failed SQLPutData in the middle of a SQLSetPos() or SQLBulkOperations() data-at-execution sequence left the whole operation pending, with the internal statement still allocated and autocommit silently off, so later statements were rolled back at disconnect. The next positioned update ran the stale callback against a statement that was never executed and dereferenced NULL. Most of these can be triggered by 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). A database user who can make a statement fail, or who controls the contents of a row the application reads, can trigger the UseDeclareFetch=1 and SQLGetData() cases against an honest server. 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-136503 的公开POC

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

未找到公开 POC。

登录以生成 AI POC

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

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

CVE-2026-136503 其他参考 (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-136509 7.5 HIGH Driver does not check that server replies match the queries it sent
CVE-2026-136512 7.5 HIGH Buffer overflows when a converted value does not fit the application's buffer
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