Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

chatterbot

Latest version: v1.2.19

Overview

Last scanned
27 Nov 2026
Published
27 Nov 2026
PyPI package Publisher: gunthercox, robot
14,522 Stars
4,407 Forks
4 Versions
3.7K Downloads
Python Repo language

Scan summary

chatterbot was last scanned on 27 Nov 2026 at version 1.2.19. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 4 versions; the latest 2 were published within 3 days (25–27 Nov 2026).
  • Findings: No rules fired in version 1.2.19.
  • Downloads: 3,688 downloads.

Versions

4 versions published
Versions and the rules that fired in each
VersionPublishedStatus
1.2.19 LATEST 27 Nov 2026 No rules fired
1.2.18 25 Nov 2026 No rules fired
1.2.17 20 Nov 2026 No rules fired
1.2.16 18 Nov 2026 Not shown

No rules fired in 1.2.19

Findings

Findings for v1.2.19. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 1.2.19; other versions have their own rules, not their own score.

Known vulnerabilities

2 CVEs · last 19 Jun 2026

0 CRITICAL 1 HIGH 1 MEDIUM 0 LOW

Versions

  • ≥ 1.2.14
  • ≥ 1.2.11, < 1.2.14 1 MEDIUM
  • < 1.2.11 1 HIGH 1 MEDIUM

Vulnerabilities

  • GHSA-WVRH-2F4M-924V Medium 19 Jun 2026 ChatterBot: Symlink-Following Arbitrary Write via UbuntuCorpusTrainer Fixed in 1.2.14
  • CVE-2026-23842 High 19 Jan 2026 ChatterBot Vulnerable to Denial of Service via Database Connection Pool Exhaustion Fixed in 1.2.11

README

The publisher’s own README, as collected from the registry.

ChatterBot

ChatterBot is a machine-learning based conversational dialog engine built in Python which makes it possible to generate responses based on collections of known conversations. The language independent design of ChatterBot allows it to be trained to speak any language.

Package Version Python 3.12 Coverage Status Follow on Bluesky

An example of typical input would be something like this:

user: Good morning! How are you doing?\ bot: I am doing very well, thank you for asking.\ user: You're welcome.\ bot: Do you like hats?

How it works

An untrained instance of ChatterBot starts off with no knowledge of how to communicate. Each time a user enters a statement, the library saves the text that they entered and the text that the statement was in response to. As ChatterBot receives more input the number of responses that it can reply to, and the accuracy of each response in relation to the input statement increases. The program selects the closest matching response by searching for the closest matching known statement that matches the input, it then returns the most likely response to that statement based on how frequently each response is issued by the people the bot communicates with.

Documentation

View the documentation for ChatterBot.

Installation

This package can be installed from PyPi by running:

pip install chatterbot

Basic Usage

from chatterbot import ChatBot
from chatterbot.trainers import ChatterBotCorpusTrainer

chatbot = ChatBot('Ron Obvious')

# Create a new trainer for the chatbot
trainer = ChatterBotCorpusTrainer(chatbot)

# Train the chatbot based on the english corpus
trainer.train("chatterbot.corpus.english")

# Get a response to an input statement
chatbot.get_response("Hello, how are you today?")

Training data

ChatterBot comes with a data utility module that can be used to train chat bots. At the moment there is training data for over a dozen languages in this module. Contributions of additional training data or training data in other languages would be greatly appreciated. Take a look at the data files in the chatterbot-corpus package if you are interested in contributing.

from chatterbot.trainers import ChatterBotCorpusTrainer

# Create a new trainer for the chatbot
trainer = ChatterBotCorpusTrainer(chatbot)

# Train based on the english corpus
trainer.train("chatterbot.corpus.english")

# Train based on english greetings corpus
trainer.train("chatterbot.corpus.english.greetings")

# Train based on the english conversations corpus
trainer.train("chatterbot.corpus.english.conversations")

Corpus contributions are welcome! Please make a pull request.

Examples

For examples, see the examples section of the documentation.

History

See release notes for changes https://github.com/gunthercox/ChatterBot/releases

Contributing

Contributions are welcomed, to help ensure a smooth process please start with the contributing guidelines in our documentation: https://docs.chatterbot.us/contributing/

Sponsors

ChatterBot is sponsored by:

License

ChatterBot is licensed under the BSD 3-clause license.

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • pypi-releases chatterbot

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Vulnerability Insights

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?

CVE

Java4Shell (CVE-2026-114938): Easy to Crash, Hard to Exploit — Less Than 0.12% of JVMs Estimated at Risk of RCE

Copy of Template Design OX Blog (3)
Research

Ruby2Shell: Ruby Memory Corruption Flaws Expose Applications to Remote Code Execution, But is it an Actual Risk?

Frame 2085668439 (1)
Group 1261154229