chatchat-space Langchain-Chatchat Vision Chat Paste Image dialogue.py PIL.Image.tobytes weak hash
Summary
| CVE | CVE-2026-7845 |
|---|---|
| State | PUBLISHED |
| Assigner | VulDB |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-05-05 16:16:19 UTC |
| Updated | 2026-05-05 20:16:41 UTC |
| 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. |
Risk And Classification
Primary CVSS: v4.0 1.2 LOW from [email protected]
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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Problem Types: CWE-327 | CWE-328 | CWE-328 Use of Weak Hash | CWE-327 Risky Cryptographic Algorithm
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 4.0 | [email protected] | Secondary | 1.2 | LOW | 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/C... |
| 4.0 | CNA | DECLARED | 2.1 | LOW | 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 |
| 3.1 | [email protected] | Secondary | 2.6 | LOW | CVSS:3.1/AV:A/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N |
| 3.1 | CNA | DECLARED | 2.6 | LOW | 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 | CNA | DECLARED | 2.6 | LOW | 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 | [email protected] | Secondary | 1.4 | AV:A/AC:H/Au:S/C:N/I:P/A:N | |
| 2.0 | CNA | DECLARED | 1.4 | AV:A/AC:H/Au:S/C:N/I:P/A:N/E:POC/RL:ND/RC:UR |
CVSS v4.0 Breakdown
Attack Vector
AdjacentAttack Complexity
HighAttack Requirements
NonePrivileges Required
LowUser Interaction
NoneConfidentiality
NoneIntegrity
LowAvailability
NoneSub Conf.
NoneSub Integrity
NoneSub Availability
NoneCVSS: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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
CVSS v3.1 Breakdown
Attack Vector
AdjacentAttack Complexity
HighPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
LowAvailability
NoneCVSS:3.1/AV:A/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N
CVSS v3.0 Breakdown
Attack Vector
AdjacentAttack Complexity
HighPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
LowAvailability
NoneCVSS:3.0/AV:A/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N/E:P/RL:X/RC:R
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Chatchat-space | Langchain-Chatchat | affected 0.3.1.0 | Not specified |
| CNA | Chatchat-space | Langchain-Chatchat | affected 0.3.1.1 | Not specified |
| CNA | Chatchat-space | Langchain-Chatchat | affected 0.3.1.2 | Not specified |
| CNA | Chatchat-space | Langchain-Chatchat | affected 0.3.1.3 | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| vuldb.com/vuln/361124/cti | [email protected] | vuldb.com | |
| github.com/3em0/cve_repo/blob/main/Langchain-Chatchat/Vuln-1-tobytes-Has... | [email protected] | github.com | |
| github.com/chatchat-space/Langchain-Chatchat | [email protected] | github.com | |
| vuldb.com/submit/807794 | [email protected] | vuldb.com | |
| vuldb.com/vuln/361124 | [email protected] | vuldb.com | |
| github.com/chatchat-space/Langchain-Chatchat/issues/5462 | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: Dem00 (VulDB User) (en)
CNA: VulDB CNA Team (en)
Additional Advisory Data
| Source | Time | Event |
|---|---|---|
| CNA | 2026-05-05T00:00:00.000Z | Advisory disclosed |
| CNA | 2026-05-05T02:00:00.000Z | VulDB entry created |
| CNA | 2026-05-05T12:26:13.000Z | VulDB entry last update |
There are currently no legacy QID mappings associated with this CVE.