cve.bz

CVE-2026-6668 Year 2038 problem, Y2K38, Y2038, Epochalypse

7.5 highEPSS 0.6%

High (7.5). EPSS 0.6% estimated probability of exploitation activity in the next 30 days.

On this page
Integer overflow in the packet buffer growth logic in PgBouncer through 1.25.2 allows an unauthenticated remote attacker to cause a denial of service. Sufficiently large input makes the buffer size computation overflow, leaving the growth loop unable to terminate. Because PgBouncer serves all clients from a single process, this saturates a CPU core and stalls every pooled connection until the process is killed. Both unauthenticated and authenticated code paths can reach the overflow.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.6% (unchanged from 0.6% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 48th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2026-09-23. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-190 Integer Overflow or Wraparound (Year 2038 problem, Y2K38, Y2038, Epochalypse)
CWE-835 Loop with Unreachable Exit Condition (Infinite Loop)
Published
Modified
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-6668 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-6668?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-6668?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-6668 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13pgbouncerno fix listedDEBIAN-CVE-2026-6668
Debian14pgbouncer1.26.0-1DEBIAN-CVE-2026-6668
Ubuntu16.04:LTS, 18.04:LTS, 20.04:LTS and 4 morepgbouncerno fix listedUBUNTU-CVE-2026-6668
Red Hathummingbird:1pgbouncer0:1.26.0-0.1.hum1RHSA-2026:70698
Azure Linux3pgbouncer1.26.0-1AZL-103433

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This vulnerability is rated as Important severity because unauthenticated remote attackers can induce an infinite execution loop, exhausting CPU resources and completely halting connection pooling for all clients. In typical Red Hat deployments, PgBouncer operates as an intermediary connection pooler directly accessible by client applications, leaving its listener exposed to network traffic prior to authentication. Because PgBouncer handles client sessions within a single event loop process, stalling this execution thread disrupts database availability across the entire instance without requiring credentials.

Red Hat's mitigation

To mitigate this issue, restrict network access to the PgBouncer service to only trusted clients or the local host. This can be achieved by configuring firewall rules to limit incoming connections to the PgBouncer port. Ensure that any changes to network configurations are applied and services are reloaded or restarted as necessary, which may temporarily disrupt existing connections.

ProductPackageStateAdvisory
Red Hat Hardened Imagespgbouncer-main-1.26.0-0.1.hum1Fixed 2026-09-23RHSA-2026:70698

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-6668.

Attack patterns (CAPEC)

  • CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON