CVE-2026-7845
LOW 1.2CVSS 4.0Langchain-Chatchat Uses a Broken or Risky Cryptographic Algorithm
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
- 5 May 2026
- Last modified
- 24 Jul 2026
- Assigned by
- cna@vuldb.com
- NVD status
- Deferred
- Weakness
- CWE-327
- Also known as
- GHSA-wmvv-fhm6-w34xPYSEC-2026-2558
- Sources
- NVDJSONOSV GHSA-wmvv-fhm6-w34xJSONOSV PYSEC-2026-2558JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | cna@vuldb.com (Secondary) | CVSS 4.0 | LOW 1.2 | 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 |
| OSV | GitHub | CVSS 4.0 | 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 | |
| OSV | PyPA | CVSS 4.0 | 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 | |
| NVD | cna@vuldb.com (Secondary) | CVSS 3.1 | LOW 2.6 | CVSS:3.1/AV:A/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | LOW 2.6 | CVSS:3.1/AV:A/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N |
| OSV | PyPA | CVSS 3.1 | LOW 2.6 | CVSS:3.1/AV:A/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N |
| NVD | cna@vuldb.com (Secondary) | CVSS 2.0 | LOW 1.4 | AV:A/AC:H/Au:S/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | langchain-chatchat | <= 0.3.1.3 |
References
- https://github.com/3em0/cve_repo/blob/main/Langchain-Chatchat/Vuln-1-tobytes-Hash-Collision.md · WEB
- https://github.com/chatchat-space/Langchain-Chatchat/ · PACKAGE
- https://github.com/chatchat-space/Langchain-Chatchat/issues/5462 · WEB
- https://vuldb.com/submit/807794 · WEB
- https://vuldb.com/vuln/361124 · WEB
- https://vuldb.com/vuln/361124/cti · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-7845 · ADVISORY
- https://pypi.org/project/langchain-chatchat · PACKAGE
- https://github.com/advisories/GHSA-wmvv-fhm6-w34x · ADVISORY
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 5 May 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 13 Jul 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 5 May 2026)