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.
Problem types
Product status
0.3.1.1
0.3.1.2
0.3.1.3
Timeline
| 2026-05-05: | Advisory disclosed |
| 2026-05-05: | VulDB entry created |
| 2026-05-05: | VulDB entry last update |
Credits
Dem00 (VulDB User)
VulDB CNA Team
References
github.com/chatchat-space/Langchain-Chatchat/issues/5462
vuldb.com/vuln/361124 (VDB-361124 | chatchat-space Langchain-Chatchat Vision Chat Paste Image dialogue.py PIL.Image.tobytes weak hash)
vuldb.com/vuln/361124/cti (VDB-361124 | CTI Indicators (IOB, IOC, TTP, IOA))
vuldb.com/submit/807794 (Submit #807794 | chatchat-space Langchain-Chatchat 0.3.1.3 Weak Hash / CWE-328)
github.com/chatchat-space/Langchain-Chatchat/issues/5462
github.com/...hain-Chatchat/Vuln-1-tobytes-Hash-Collision.md
github.com/chatchat-space/Langchain-Chatchat/