Home

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.

PUBLISHED Reserved 2026-05-05 | Published 2026-05-05 | Updated 2026-05-05 | Assigner VulDB




LOW: 2.1CVSS:4.0/AV:A/AC:H/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P
LOW: 2.6CVSS:3.1/AV:A/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N/E:P/RL:X/RC:R
LOW: 2.6CVSS:3.0/AV:A/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N/E:P/RL:X/RC:R
1.4AV:A/AC:H/Au:S/C:N/I:P/A:N/E:POC/RL:ND/RC:UR

Problem types

Use of Weak Hash

Risky Cryptographic Algorithm

Product status

0.3.1.0
affected

0.3.1.1
affected

0.3.1.2
affected

0.3.1.3
affected

Timeline

2026-05-05:Advisory disclosed
2026-05-05:VulDB entry created
2026-05-05:VulDB entry last update

Credits

Dem00 (VulDB User) reporter

VulDB CNA Team coordinator

References

github.com/chatchat-space/Langchain-Chatchat/issues/5462 exploit

vuldb.com/vuln/361124 (VDB-361124 | chatchat-space Langchain-Chatchat Vision Chat Paste Image dialogue.py PIL.Image.tobytes weak hash) vdb-entry technical-description

vuldb.com/vuln/361124/cti (VDB-361124 | CTI Indicators (IOB, IOC, TTP, IOA)) signature permissions-required

vuldb.com/submit/807794 (Submit #807794 | chatchat-space Langchain-Chatchat 0.3.1.3 Weak Hash / CWE-328) third-party-advisory

github.com/chatchat-space/Langchain-Chatchat/issues/5462 issue-tracking

github.com/...hain-Chatchat/Vuln-1-tobytes-Hash-Collision.md exploit

github.com/chatchat-space/Langchain-Chatchat/ product

cve.org (CVE-2026-7845)

nvd.nist.gov (CVE-2026-7845)

Download JSON