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

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2026-136505— Unchecked sizes and counters overflow driver buffers

一分钟漏洞结论

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

psqlODBC uses sizes and counts without checking their range, or keeps them in types too small for them: A row array size of 0, set with SQLSetStmtAttr() or on the ARD, makes SQLSetPos() with SQL_REFRESH write past the bound arrays. SQL_DESC_COUNT above 32767 o

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

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

漏洞信息

Shenlong is analyzing...


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

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

Vulnerability Title
Unchecked sizes and counters overflow driver buffers
来源: CVE Program / CVE List V5
Vulnerability Description
psqlODBC uses sizes and counts without checking their range, or keeps them in types too small for them: - A row array size of 0, set with SQLSetStmtAttr() or on the ARD, makes SQLSetPos() with SQL_REFRESH write past the bound arrays. - SQL_DESC_COUNT above 32767 on an APD or IPD writes before the start of a heap buffer. - A numeric parameter with a negative scale overflows a stack buffer. - SQLGetData() of a text value of 2 GiB or more into a wide-character buffer computes a wrapped size and overflows the heap. - The 16-bit reference count and size of the statement parser's column-information cache wrap, which frees a cache entry still in use or overflows the cache, and a statement with more than 32768 columns overflows the parser's field array. - An updatable cursor that records more than 65535 changes in one transaction wraps the 16-bit capacity of its rollback log, which overflows it and frees it twice. - A statement with 32769 or more parameter markers overflows a 16-bit parameter count. - A wide-character string of more than 2 GiB wraps the size of its UTF-8 conversion, which is then written below the start of a heap buffer. - SQLGetDiagField() and SQLGetDiagFieldW() always stored the five-character SQLSTATE plus its terminator and checked BufferLength only afterwards, overrunning a buffer shorter than six bytes. - The ANSI SQLSetDescField(SQL_DESC_NAME) on an IPD ignored BufferLength and copied the name with strdup(), reading a name passed as pointer plus length past its end. - SQLFetchScroll(SQL_FETCH_BOOKMARK) did not check the bookmark it was given, so whoever chooses the bookmark value read out of bounds and crashed the process. - Four places in the parameter conversion read one byte past the end of a bound character parameter, and one of them rewrote it. - Binding a date, time or timestamp C value to an SQL_INTEGER or SQL_SMALLINT parameter dereferenced NULL instead of returning the conversion error. Depending on the case, the values come from the application, from the data or statement text an end user supplies, or from a database user who controls the size of a table or value. 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:L/UI:N/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-136505 的公开POC

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

未找到公开 POC。

登录以生成 AI POC

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

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

CVE-2026-136505 其他参考 (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-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-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