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

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2026-107315— pgjdbc 缓冲区填充漏洞

一分钟漏洞结论

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

pgjdbc(PostgreSQL JDBC 驱动)在版本 42.7.4 至 42.7.13 中存在一个漏洞:当写入的值短于其声明长度时,驱动会使用发送缓冲区中剩余的字节(而非零字节)进行填充,并将这些字节作为值的一部分存储到服务器中。这些残留字节是驱动在同一连接上先前发送的消息内容,包括 SQL 文本和最近语句的参数值;在连接池场景下,这些数据可能来自其他用户的请求。每个被填充的值最多可携带 8192 字节的此类敏感信息;若连接启用了 GSS 加密,则可携带多达 16320 字节。 该填充行为发生在应用程序声明的

CVSS 5.3 · Medium
获取后续新漏洞提醒 登录后订阅

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

漏洞信息

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

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

Vulnerability Title
pgjdbc pads a value shorter than its declared length with bytes of earlier statements (rather than zeros)
来源: CVE Program / CVE List V5
Vulnerability Description
pgjdbc, the PostgreSQL JDBC Driver, versions 42.7.4 through 42.7.13 pads a value that is shorter than its declared length with bytes left in its send buffer instead of zeros, and the server stores those bytes as part of the value. The bytes are messages the driver sent earlier on the same connection: SQL text and parameter values of recent statements, which on a pooled connection can come from other requests. Each padded value can carry up to 8192 bytes of this traffic, or 16320 bytes on a connection with GSS encryption. The padding happens when an application declares a length larger than the data it supplies, through PreparedStatement.setObject with a ByteStreamWriter, CopyIn.writeToCopy, PGCopyOutputStream.write, LargeObject.write, or Blob.setBytes. The driver accepts these calls without an error. An attacker who can make the application store such a value and read it back can collect earlier traffic. Applications whose declared lengths always match their data are not affected. Versions 42.7.3 and earlier pad with zeros.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
来源: CVE Program / CVE List V5
Vulnerability Type
在释放前未清除敏感信息
来源: CVE Program / CVE List V5

受影响产品

厂商 产品 影响版本 CPE 订阅
pgjdbc pgjdbc 42.7.4 ~ 42.7.13 -

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

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

未找到公开 POC。

登录以生成 AI POC

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

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

CVE-2026-107315 其他参考 (1)

同批安全公告 · pgjdbc · 2026-10-07 · 共 3 条

CVE-2026-107314 5.9 MEDIUM pgjdbc 在 requireAuth 排除所有认证方法时未强制验证
CVE-2026-107313 4.2 MEDIUM pgjdbc在GSS加密连接中存储早期消息字节

IV. Related Vulnerabilities

V. Comments for CVE-2026-107315

暂无评论


发表评论