UBUNTU-CVE-2026-6665

Source
https://ubuntu.com/security/CVE-2026-6665
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-6665.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-6665
Upstream
  • CVE-2026-6665
Published
2026-05-09T01:16:00Z
Modified
2026-05-20T16:26:56.721693168Z
Severity
  • 8.1 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

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.

References

Affected packages

Ubuntu:16.04:LTS
pgbouncer

Package

Name
pgbouncer
Purl
pkg:deb/ubuntu/pgbouncer?arch=source&distro=xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.5.5-1
1.6.1-1
1.7-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "1.7-1",
            "binary_name": "pgbouncer"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-6665.json"
Ubuntu:18.04:LTS
pgbouncer

Package

Name
pgbouncer
Purl
pkg:deb/ubuntu/pgbouncer?arch=source&distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.7.2-3build1
1.7.2-65-g2b8e6cf-1
1.8.1-1
1.8.1-1build1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "1.8.1-1build1",
            "binary_name": "pgbouncer"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-6665.json"
Ubuntu:20.04:LTS
pgbouncer

Package

Name
pgbouncer
Purl
pkg:deb/ubuntu/pgbouncer?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.10.0-1
1.10.0-1build1
1.11.0-1
1.12.0-2
1.12.0-3

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "1.12.0-3",
            "binary_name": "pgbouncer"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-6665.json"
Ubuntu:22.04:LTS
pgbouncer

Package

Name
pgbouncer
Purl
pkg:deb/ubuntu/pgbouncer?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.15.0-1
1.16.1-1ubuntu1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "1.16.1-1ubuntu1",
            "binary_name": "pgbouncer"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-6665.json"
Ubuntu:24.04:LTS
pgbouncer

Package

Name
pgbouncer
Purl
pkg:deb/ubuntu/pgbouncer?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.20.0-1
1.21.0-1
1.22.0-1
1.22.0-1build1
1.22.0-1build3
1.22.0-1build4

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "1.22.0-1build4",
            "binary_name": "pgbouncer"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-6665.json"
Ubuntu:25.10
pgbouncer

Package

Name
pgbouncer
Purl
pkg:deb/ubuntu/pgbouncer?arch=source&distro=questing

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.24.0-3
1.24.1-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "1.24.1-1",
            "binary_name": "pgbouncer"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-6665.json"
Ubuntu:26.04:LTS
pgbouncer

Package

Name
pgbouncer
Purl
pkg:deb/ubuntu/pgbouncer?arch=source&distro=resolute

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.24.1-1
1.25.0-2
1.25.1-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "1.25.1-1",
            "binary_name": "pgbouncer"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-6665.json"