CVE-2026-19888 (GCVE-0-2026-19888)
Vulnerability from cvelistv5
Published
2026-09-23 16:04
Modified
2026-09-23 16:46
CWE
  • CWE-476 - NULL Pointer Dereference
Summary
Missing validation of a mandatory attribute in the SCRAM client-final-message parser in PgBouncer through 1.25.2 allows an unauthenticated remote attacker to crash the process. A malformed message can make the parser report success while leaving a required value unset, which is then dereferenced as a NULL pointer. The crash occurs before any credential is verified, so no valid account is required. Because PgBouncer serves all clients from a single process, this terminates every pooled connection.
Impacted products
Vendor Product Version
n/a PgBouncer Version: 0   ≤ 1.25.2
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2026-19888",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "yes"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-09-23T16:33:38.167752Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-09-23T16:46:13.585Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "PgBouncer",
          "vendor": "n/a",
          "versions": [
            {
              "lessThanOrEqual": "1.25.2",
              "status": "affected",
              "version": "0",
              "versionType": "semver"
            }
          ]
        }
      ],
      "configurations": [
        {
          "lang": "en",
          "value": "auth_type is set to scram-sha-256 (non-default configuration), or auth_type is set to md5 (default configuration) and a user has a SCRAM secret stored, which causes PgBouncer to upgrade that login to SCRAM"
        }
      ],
      "credits": [
        {
          "lang": "en",
          "type": "finder",
          "value": "Thanks to @mble for finding and reporting this issue."
        },
        {
          "lang": "en",
          "type": "finder",
          "value": "Independently reported by @thesecguy45."
        },
        {
          "lang": "en",
          "type": "finder",
          "value": "Independently reported by @umutbasal."
        },
        {
          "lang": "en",
          "type": "finder",
          "value": "Independently reported by @jackds-security."
        },
        {
          "lang": "en",
          "type": "finder",
          "value": "Independently reported by @palak-paneer."
        },
        {
          "lang": "en",
          "type": "finder",
          "value": "Independently reported by @shakirov-vm."
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "Missing validation of a mandatory attribute in the SCRAM client-final-message parser in PgBouncer through 1.25.2 allows an unauthenticated remote attacker to crash the process. A malformed message can make the parser report success while leaving a required value unset, which is then dereferenced as a NULL pointer. The crash occurs before any credential is verified, so no valid account is required. Because PgBouncer serves all clients from a single process, this terminates every pooled connection."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.5,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
            "version": "3.1"
          },
          "format": "CVSS"
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-476",
              "description": "NULL Pointer Dereference",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-09-23T16:04:48.392Z",
        "orgId": "f86ef6dc-4d3a-42ad-8f28-e6d5547a5007",
        "shortName": "PostgreSQL"
      },
      "references": [
        {
          "url": "https://www.pgbouncer.org/changelog.html"
        }
      ],
      "title": "NULL pointer dereference in SCRAM client-final-message parsing in PgBouncer",
      "workarounds": [
        {
          "lang": "en",
          "value": "Restrict network access to the PgBouncer listener to trusted clients. No configuration change avoids the issue for deployments that must accept SCRAM authentication from untrusted networks, because the crash occurs before any credential is verified and PgBouncer performs a mock SCRAM exchange even for users that do not exist."
        }
      ]
    }
  },
  "cveMetadata": {
    "assignerOrgId": "f86ef6dc-4d3a-42ad-8f28-e6d5547a5007",
    "assignerShortName": "PostgreSQL",
    "cveId": "CVE-2026-19888",
    "datePublished": "2026-09-23T16:04:48.392Z",
    "dateReserved": "2026-08-14T16:55:37.365Z",
    "dateUpdated": "2026-09-23T16:46:13.585Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2026-19888\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"yes\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2026-09-23T16:33:38.167752Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2026-09-23T16:36:44.516Z\"}}], \"cna\": {\"title\": \"NULL pointer dereference in SCRAM client-final-message parsing in PgBouncer\", \"credits\": [{\"lang\": \"en\", \"type\": \"finder\", \"value\": \"Thanks to @mble for finding and reporting this issue.\"}, {\"lang\": \"en\", \"type\": \"finder\", \"value\": \"Independently reported by @thesecguy45.\"}, {\"lang\": \"en\", \"type\": \"finder\", \"value\": \"Independently reported by @umutbasal.\"}, {\"lang\": \"en\", \"type\": \"finder\", \"value\": \"Independently reported by @jackds-security.\"}, {\"lang\": \"en\", \"type\": \"finder\", \"value\": \"Independently reported by @palak-paneer.\"}, {\"lang\": \"en\", \"type\": \"finder\", \"value\": \"Independently reported by @shakirov-vm.\"}], \"metrics\": [{\"format\": \"CVSS\", \"cvssV3_1\": {\"version\": \"3.1\", \"baseScore\": 7.5, \"baseSeverity\": \"HIGH\", \"vectorString\": \"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H\"}}], \"affected\": [{\"vendor\": \"n/a\", \"product\": \"PgBouncer\", \"versions\": [{\"status\": \"affected\", \"version\": \"0\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"1.25.2\"}], \"defaultStatus\": \"unaffected\"}], \"references\": [{\"url\": \"https://www.pgbouncer.org/changelog.html\"}], \"workarounds\": [{\"lang\": \"en\", \"value\": \"Restrict network access to the PgBouncer listener to trusted clients. No configuration change avoids the issue for deployments that must accept SCRAM authentication from untrusted networks, because the crash occurs before any credential is verified and PgBouncer performs a mock SCRAM exchange even for users that do not exist.\"}], \"descriptions\": [{\"lang\": \"en\", \"value\": \"Missing validation of a mandatory attribute in the SCRAM client-final-message parser in PgBouncer through 1.25.2 allows an unauthenticated remote attacker to crash the process. A malformed message can make the parser report success while leaving a required value unset, which is then dereferenced as a NULL pointer. The crash occurs before any credential is verified, so no valid account is required. Because PgBouncer serves all clients from a single process, this terminates every pooled connection.\"}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-476\", \"description\": \"NULL Pointer Dereference\"}]}], \"configurations\": [{\"lang\": \"en\", \"value\": \"auth_type is set to scram-sha-256 (non-default configuration), or auth_type is set to md5 (default configuration) and a user has a SCRAM secret stored, which causes PgBouncer to upgrade that login to SCRAM\"}], \"providerMetadata\": {\"orgId\": \"f86ef6dc-4d3a-42ad-8f28-e6d5547a5007\", \"shortName\": \"PostgreSQL\", \"dateUpdated\": \"2026-09-23T16:04:48.392Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2026-19888\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2026-09-23T16:46:13.585Z\", \"dateReserved\": \"2026-08-14T16:55:37.365Z\", \"assignerOrgId\": \"f86ef6dc-4d3a-42ad-8f28-e6d5547a5007\", \"datePublished\": \"2026-09-23T16:04:48.392Z\", \"assignerShortName\": \"PostgreSQL\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…