CVE-2026-7845
published low CVSS 4.0 · 2.1chatchat-space Langchain-Chatchat Vision Chat Paste Image dialogue.py PIL.Image.tobytes weak hash
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| chatchat-space | — | Langchain-Chatchat0.3.1.0 · 0.3.1.1 · 0.3.1.2 · 0.3.1.3 | Affected | Not stated | VulDB |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 2.1 / 10
- Severity
- low
- Provider
- VulDB · cna
- Vector string
- CVSS: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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 2.6 | low | VulDB · cna | CVSS:3.1/AV:A/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N/E:P/RL:X/RC:R | — |
| 3.0 | 2.6 | low | VulDB · cna | CVSS:3.0/AV:A/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N/E:P/RL:X/RC:R | — |
| 2.0 | 1.4 | low | VulDB · cna | AV:A/AC:H/Au:S/C:N/I:P/A:N/E:POC/RL:ND/RC:UR | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| chatchat-space | Langchain-Chatchat | 0.3.1.0 (affected)0.3.1.1 (affected)0.3.1.2 (affected)0.3.1.3 (affected) | VulDB · cna |
Weaknesses
2- CWE-328 Use of Weak Hash
- CWE-327 Risky Cryptographic Algorithm
References
6- https://github.com/3em0/cve_repo/blob/main/Langchain-Chatchat/Vuln-1-tobytes-Hash-Collision.md
- https://github.com/chatchat-space/Langchain-Chatchat/
- https://github.com/chatchat-space/Langchain-Chatchat/issues/5462
- Submit #807794 | chatchat-space Langchain-Chatchat 0.3.1.3 Weak Hash / CWE-328 https://vuldb.com/submit/807794
- VDB-361124 | chatchat-space Langchain-Chatchat Vision Chat Paste Image dialogue.py PIL.Image.tobytes weak hash https://vuldb.com/vuln/361124
- VDB-361124 | CTI Indicators (IOB, IOC, TTP, IOA) https://vuldb.com/vuln/361124/cti
Provider assertions
2VulDB · cna
chatchat-space Langchain-Chatchat Vision Chat Paste Image dialogue.py PIL.Image.tobytes weak hash
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 02adeffad5ed1fbd9e04e1e839189b9ff15f6b3c75968d36201a8571675959b1
- Ingested
- 23 Sep 2026, 09:34:17 UTC
- Source record
- Official CVE record