Exploit matérialisé
CVE-2026-6664
HIGH1 exploit(s) public(s) pour cette CVE, 1 matérialisé(s) avec leur code.
À des fins de recherche défensive uniquement. Ne testez que sur des systèmes que vous possédez ou pour lesquels vous détenez une autorisation écrite. L'accès non autorisé est illégal.
Nuclei
high Vérifié
Source
PgBouncer < 1.25.2 - Unauthenticated Denial of Service
Par projectdiscovery
Comment tester cet exploit
Le template Nuclei EST le test : une règle de détection exécutable. Installez nuclei, puis lancez-le contre une cible que vous contrôlez.
nuclei -id CVE-2026-6664 -u https://your-target
Template yaml
id: CVE-2026-6664
info:
name: PgBouncer < 1.25.2 - Unauthenticated Denial of Service
author: DhiyaneshDk
severity: high
description: |
PgBouncer before 1.25.2 contains an integer overflow in the SCRAM authentication packet parser that bypasses a boundary check, allowing an unauthenticated remote attacker to crash the process with a malformed packet. This template passively identifies the running PgBouncer version over the PostgreSQL wire protocol - the server_version parameter (reported as X.Y.Z/bouncer) returned on the admin database when the pooler accepts unauthenticated connections (auth_type any/trust) - and flags instances older than 1.25.2 without sending the crash payload.
impact: |
An unauthenticated remote attacker can crash the PgBouncer process, denying database connectivity to every client behind the pooler.
remediation: |
Upgrade PgBouncer to 1.25.2 or later, and restrict network access to the pooler and its admin console.
reference:
- https://nvd.nist.gov/vuln/detail/CVE-2026-6664
- https://www.pgbouncer.org/changelog.html
- https://thebuild.com/blog/patch-pgbouncer-today/
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
cvss-score: 7.5
cve-id: CVE-2026-6664
epss-score: 0.02057
epss-percentile: 0.81797
cwe-id: CWE-190
metadata:
verified: true
max-request: 1
shodan-query: product:"PgBouncer"
fofa-query: app="PgBouncer"
tags: cve,cve2026,pgbouncer,dos,postgres,network,vkev,passive
tcp:
- inputs:
- data: "0000002b0003000075736572007067626f756e636572006461746162617365007067626f756e6365720000"
type: hex
host:
- "{{Hostname}}"
port: 6432
read-size: 2048
matchers-condition: and
matchers:
- type: word
words:
- "/bouncer"
- type: dsl
dsl:
- "compare_versions(version, '< 1.25.2')"
extractors:
- type: regex
name: version
internal: true
regex:
- 'server_version.([0-9.]+)/bouncer'
group: 1
- type: regex
regex:
- 'server_version.([0-9.]+)/bouncer'
group: 1
# digest: 4b0a004830460221009d5fa44908ea7732e171ad5d8083b77b48ee46015b66de13166e13677bb49066022100b606e781c74609e3c366ef810266fe54d3b1caca904fda449dfc80a4f22fb805:922c64590222798bb761d5b6d8e72950