CVE-2026-23842

ChatterBot has Denial of Service via Database Connection Pool Exhaustion

Published Jan 19, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Description
ChatterBot is a machine learning, conversational dialog engine for creating chat bots. ChatterBot versions up to 1.2.10 are vulnerable to a denial-of-service condition caused by improper database session and connection pool management. Concurrent invocations of the get_response() method can exhaust the underlying SQLAlchemy connection pool, resulting in persistent service unavailability and requiring a manual restart to recover. Version 1.2.11 fixes the issue.

Analysis

AI-generated

Technical impact

The vulnerability in ChatterBot versions up to 1.2.10 arises from improper handling of SQLAlchemy database sessions and the underlying connection pool. Concurrent calls to the get_response() method can exhaust the pool, causing the bot to become unavailable until a manual restart is performed. This is a resource exhaustion flaw (CWE-400) that results in denial of service, disrupting availability for legitimate users.

Affected Systems

The affected product is ChatterBot, a conversation engine developed by gunthercox. Versions up to 1.2.10 are vulnerable; the issue was fixed in version 1.2.11. No other dependent libraries or platforms are specifically mentioned.

Risk and Exploitability

The CVSS score of 7.5 indicates a medium‑high severity level, though the EPSS score of less than 1% suggests a low likelihood of exploitation. The vulnerability is not listed in the CISA KEV catalog. Attackers can trigger the denial of service by sending a high volume of requests to the bot’s get_response() endpoint, typically over a network interface that exposes the bot. In practice, the attack vector would be remote, leveraging the bot’s public API or webhooks, assuming the bot is accessible over the internet. Without a publicly documented exploit, a successful attack would require an active user session or the ability to invoke the get_response() method repeatedly.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to ChatterBot version 1.2.11 or later, which includes the connection pool fix.
  • If an upgrade is not immediately possible, implement request throttling or concurrency limits on the get_response() method to prevent exhausting the database pool.
  • Continuously monitor the database connection pool usage and perform a graceful restart of the service if the pool becomes saturated.

Generated by OpenCVE AI on April 18, 2026 at 05:03 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-v4w8-49pv-mf72 ChatterBot Vulnerable to Denial of Service via Database Connection Pool Exhaustion
History
Type Values Removed Values Added
First Time appeared Chatterbot
Chatterbot chatterbot
CPEs cpe:2.3:a:chatterbot:chatterbot:*:*:*:*:*:*:*:*
Vendors & Products Chatterbot
Chatterbot chatterbot
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Gunthercox
Gunthercox chatterbot
Vendors & Products Gunthercox
Gunthercox chatterbot
Type Values Removed Values Added
Description ChatterBot is a machine learning, conversational dialog engine for creating chat bots. ChatterBot versions up to 1.2.10 are vulnerable to a denial-of-service condition caused by improper database session and connection pool management. Concurrent invocations of the get_response() method can exhaust the underlying SQLAlchemy connection pool, resulting in persistent service unavailability and requiring a manual restart to recover. Version 1.2.11 fixes the issue.
Title ChatterBot has Denial of Service via Database Connection Pool Exhaustion
Weaknesses CWE-400
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

Weaknesses
  • CWE-400

    Uncontrolled Resource Consumption

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jan 20, 2026, 8:05 PM
Reserved
Jan 16, 2026, 3:46 PM
Status
Analyzed
Published
Jan 19, 2026, 7:16 PM
Modified
Jun 17, 2026, 10:22 AM