CVE-2026-7845

LOW

chatchat-space Langchain-Chatchat Vision Chat Paste Image dialogue.py PIL.Image.tobytes weak hash

Title source: cna
STIX 2.1

Description

A flaw has been found in chatchat-space Langchain-Chatchat up to 0.3.1.3. This issue affects the function PIL.Image.tobytes of the file libs/chatchat-server/chatchat/webui_pages/dialogue/dialogue.py of the component Vision Chat Paste Image Handler. This manipulation of the argument paste_image.image_data causes use of weak hash. The attacker needs to be present on the local network. The attack is considered to have high complexity. The exploitability is assessed as difficult. The exploit has been published and may be used. The project was informed of the problem early through an issue report but has not responded yet.

References (6)

Core 6
Core References
Vdb Entry, Technical Description vdb-entry technical-description
VDB-361124 | chatchat-space Langchain-Chatchat Vision Chat Paste Image dialogue.py PIL.Image.tobytes weak hash
https://vuldb.com/vuln/361124
Signature, Permissions Required signature permissions-required
VDB-361124 | CTI Indicators (IOB, IOC, TTP, IOA)
https://vuldb.com/vuln/361124/cti
Third Party Advisory third-party-advisory
Submit #807794 | chatchat-space Langchain-Chatchat 0.3.1.3 Weak Hash / CWE-328
https://vuldb.com/submit/807794

Scores

CVSS v3 2.6
EPSS 0.0001
EPSS Percentile 1.9%
Attack Vector ADJACENT_NETWORK
CVSS:3.1/AV:A/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N

CISA SSVC

Vulnrichment
Exploitation poc
Automatable no
Technical Impact partial

Details

CWE
CWE-327 CWE-328
Status published
Products (5)
chatchat-space/Langchain-Chatchat 0.3.1.0
chatchat-space/Langchain-Chatchat 0.3.1.1
chatchat-space/Langchain-Chatchat 0.3.1.2
chatchat-space/Langchain-Chatchat 0.3.1.3
pypi/langchain-chatchat 0 - 0.3.1.3PyPI
Published May 05, 2026
Tracked Since May 05, 2026