CVE-2026-7845
CVE-2026-7845 · chatchat-space Langchain-Chatchat Vision Chat Paste Image dialogue.py PIL.Image.tobytes weak hash
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 2.1 · Low · EPSS 0.1%
- Published
- Updated
Stack: python
Affected products and versions
langchain-chatchat
- Versions
- 0.3.1.0: Affected
- 0.3.1.1: Affected
- 0.3.1.2: Affected
- 0.3.1.3: Affected
No fix published
langchain-chatchat PyPI
- Versions
- 0.3.0
- 0.3.0.20240506
- 0.3.0.20240606
- 0.3.0.20240610
- 0.3.0.20240610.1
- 0.3.0.20240611
- 0.3.0.20240612
- 0.3.0.20240612.1
- 0.3.0.20240612.2
- 0.3.0.20240612.3
- 0.3.0.20240612.4
- 0.3.0.20240616
- 0.3.0.20240618
- 0.3.0.20240619
- 0.3.0.20240621
- 0.3.0.20240621.3
- 0.3.0.20240625
- 0.3.0.20240625.1
- 0.3.1
- 0.3.1.1
- 0.3.1.2
- 0.3.1.3
- Affected ranges
- ECOSYSTEM: ≤ 0.3.1.3
No fix published
Original sources
- https://vuldb.com/vuln/361124
- https://vuldb.com/vuln/361124/cti
- https://vuldb.com/submit/807794
- https://github.com/chatchat-space/Langchain-Chatchat/issues/5462
- https://github.com/3em0/cve_repo/blob/main/Langchain-Chatchat/Vuln-1-tobytes-Hash-Collision.md
- https://github.com/chatchat-space/Langchain-Chatchat/
- https://nvd.nist.gov/vuln/detail/CVE-2026-7845