Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-6665— PgBouncer buffer overflow in SCRAM

Quick assessment

Affected
n/a PgBouncer
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

PgBouncer是PgBouncer社区的一个 PostgreSql 的开源轻量级连接池。 PgBouncer 1.25.2之前版本存在安全漏洞,该漏洞源于SCRAM代码在构建SCRAM客户端最终消息内容时未正确检查strlcat()的返回值,恶意后端发送包含长随机数的SCRAM服务器最终消息可能触发栈溢出。

CVSS 8.1 · High EPSS 0.44% · P36

Possible ATT&CK Techniques 1 AI

T1190 · Exploit Public-Facing Application

Affected Version Matrix 1

VendorProduct Version RangeStatus
n/a PgBouncer < 1.25.2 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-6665

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
PgBouncer buffer overflow in SCRAM
Source: CVE Program / CVE List V5
Vulnerability Description
The SCRAM code in PgBouncer before 1.25.2 did not check the return value of strlcat() correctly when building the contents of the SCRAM client-final-message. A malicious backend that sends a SCRAM server-final-message with a long nonce can trigger a stack overflow.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
栈缓冲区溢出
Source: CVE Program / CVE List V5
Vulnerability Title
PgBouncer 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
PgBouncer是PgBouncer社区的一个 PostgreSql 的开源轻量级连接池。 PgBouncer 1.25.2之前版本存在安全漏洞,该漏洞源于SCRAM代码在构建SCRAM客户端最终消息内容时未正确检查strlcat()的返回值,恶意后端发送包含长随机数的SCRAM服务器最终消息可能触发栈溢出。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
- PgBouncer 0 ~ 1.25.2 -

II. Public POCs for CVE-2026-6665

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-6665

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

Same Patch Batch · n/a · 2026-05-09 · 10 CVEs total

CVE-2026-6664 7.5 HIGH PgBouncer integer overflow in PgBouncer network packet parsing
CVE-2026-8193 6.3 MEDIUM Akaunting Invoice PDF Rendering dompdf.php server-side request forgery
CVE-2026-6666 5.9 MEDIUM PgBouncer crash in kill_pool_logins_server_error
CVE-2026-8186 5.3 MEDIUM Open5GS NF client.c ogs_sbi_client_send_via_scp_or_sepp out-of-bounds
CVE-2026-8187 5.3 MEDIUM Open5GS UPF gtp-path.c _gtpv1_u_recv_cb resource consumption
CVE-2026-8195 4.3 MEDIUM JeecgBoot SVG File CommonController.java cross site scripting
CVE-2026-8194 4.3 MEDIUM osTicket Dispatcher class.dispatcher.php cross-site request forgery
CVE-2026-6667 4.3 MEDIUM PgBouncer missing authorization check in KILL_CLIENT admin command
CVE-2026-8196 3.7 LOW JeecgBoot mLogin Endpoint LoginController.java authorization

IV. Related Vulnerabilities

V. Comments for CVE-2026-6665

No comments yet


Leave a comment