{"cve":"CVE-2026-7845","nvd":{"published":"2026-05-05T16:16:19.383","modified":"2026-07-24T08:10:00.150","status":"Deferred","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.","cvss_v4":{"vector":"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","score":1.2},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:A/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N","score":2.6},"cwes":["CWE-327","CWE-328"],"references":["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","https://vuldb.com/submit/807794","https://vuldb.com/vuln/361124"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:33:55.586217763+00:00"},"epss":{"cve":"CVE-2026-7845","score":0.0014,"percentile":0.03316,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-wmvv-fhm6-w34x","url":"https://osv.dev/vulnerability/GHSA-wmvv-fhm6-w34x","summary":"Langchain-Chatchat Uses a Broken or Risky Cryptographic Algorithm","modified":"2026-07-13T16:43:39.540370414Z","packages":[{"ecosystem":"PyPI","name":"langchain-chatchat","purl":"pkg:pypi/langchain-chatchat","ranges":["<=0.3.1.3"],"fixed":[]}]},{"id":"PYSEC-2026-2558","url":"https://osv.dev/vulnerability/PYSEC-2026-2558","summary":"Langchain-Chatchat Uses a Broken or Risky Cryptographic Algorithm","modified":"2026-07-13T16:31:48.738234847Z","packages":[{"ecosystem":"PyPI","name":"langchain-chatchat","purl":"pkg:pypi/langchain-chatchat","ranges":["<=0.3.1.3"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}