Logo
-

Byte Open Security

(ByteOS Network)

Log In

Sign Up

ByteOS

Security
Vulnerability Details
Registries
Custom Views
Weaknesses
Attack Patterns
Filters & Tools
Vulnerability Details :

CVE-2026-7845

Summary
Assigner-VulDB
Assigner Org ID-1af790b2-7ee1-4545-860a-a788eba489b5
Published At-05 May, 2026 | 15:45
Updated At-05 May, 2026 | 19:23
Rejected At-
Credits

chatchat-space Langchain-Chatchat Vision Chat Paste Image dialogue.py PIL.Image.tobytes weak hash

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.

Vendors
-
Not available
Products
-
Metrics (CVSS)
VersionBase scoreBase severityVector
Weaknesses
Attack Patterns
Solution/Workaround
References
HyperlinkResource Type
EPSS History
Score
Latest Score
-
N/A
No data available for selected date range
Percentile
Latest Percentile
-
N/A
No data available for selected date range
Stakeholder-Specific Vulnerability Categorization (SSVC)
▼Common Vulnerabilities and Exposures (CVE)
cve.org
Assigner:VulDB
Assigner Org ID:1af790b2-7ee1-4545-860a-a788eba489b5
Published At:05 May, 2026 | 15:45
Updated At:05 May, 2026 | 19:23
Rejected At:
▼CVE Numbering Authority (CNA)
chatchat-space Langchain-Chatchat Vision Chat Paste Image dialogue.py PIL.Image.tobytes weak hash

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.

Affected Products
Vendor
chatchat-space
Product
Langchain-Chatchat
Modules
  • Vision Chat Paste Image Handler
Versions
Affected
  • 0.3.1.0
  • 0.3.1.1
  • 0.3.1.2
  • 0.3.1.3
Problem Types
TypeCWE IDDescription
CWECWE-328Use of Weak Hash
CWECWE-327Risky Cryptographic Algorithm
Type: CWE
CWE ID: CWE-328
Description: Use of Weak Hash
Type: CWE
CWE ID: CWE-327
Description: Risky Cryptographic Algorithm
Metrics
VersionBase scoreBase severityVector
4.02.1LOW
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.12.6LOW
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.02.6LOW
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.01.4N/A
AV:A/AC:H/Au:S/C:N/I:P/A:N/E:POC/RL:ND/RC:UR
Version: 4.0
Base score: 2.1
Base severity: LOW
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
Version: 3.1
Base score: 2.6
Base severity: LOW
Vector:
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
Version: 3.0
Base score: 2.6
Base severity: LOW
Vector:
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
Version: 2.0
Base score: 1.4
Base severity: N/A
Vector:
AV:A/AC:H/Au:S/C:N/I:P/A:N/E:POC/RL:ND/RC:UR
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

reporter
Dem00 (VulDB User)
coordinator
VulDB CNA Team
Timeline
EventDate
Advisory disclosed2026-05-05 00:00:00
VulDB entry created2026-05-05 02:00:00
VulDB entry last update2026-05-05 12:26:13
Event: Advisory disclosed
Date: 2026-05-05 00:00:00
Event: VulDB entry created
Date: 2026-05-05 02:00:00
Event: VulDB entry last update
Date: 2026-05-05 12:26:13
Replaced By

Rejected Reason

References
HyperlinkResource
https://vuldb.com/vuln/361124
vdb-entry
technical-description
https://vuldb.com/vuln/361124/cti
signature
permissions-required
https://vuldb.com/submit/807794
third-party-advisory
https://github.com/chatchat-space/Langchain-Chatchat/issues/5462
issue-tracking
https://github.com/3em0/cve_repo/blob/main/Langchain-Chatchat/Vuln-1-tobytes-Hash-Collision.md
exploit
https://github.com/chatchat-space/Langchain-Chatchat/
product
Hyperlink: https://vuldb.com/vuln/361124
Resource:
vdb-entry
technical-description
Hyperlink: https://vuldb.com/vuln/361124/cti
Resource:
signature
permissions-required
Hyperlink: https://vuldb.com/submit/807794
Resource:
third-party-advisory
Hyperlink: https://github.com/chatchat-space/Langchain-Chatchat/issues/5462
Resource:
issue-tracking
Hyperlink: https://github.com/3em0/cve_repo/blob/main/Langchain-Chatchat/Vuln-1-tobytes-Hash-Collision.md
Resource:
exploit
Hyperlink: https://github.com/chatchat-space/Langchain-Chatchat/
Resource:
product
▼Authorized Data Publishers (ADP)
CISA ADP Vulnrichment
Affected Products
Metrics
VersionBase scoreBase severityVector
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
https://github.com/chatchat-space/Langchain-Chatchat/issues/5462
exploit
Hyperlink: https://github.com/chatchat-space/Langchain-Chatchat/issues/5462
Resource:
exploit
Information is not available yet
▼National Vulnerability Database (NVD)
nvd.nist.gov
Source:cna@vuldb.com
Published At:05 May, 2026 | 16:16
Updated At:05 May, 2026 | 20:16

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.

CISA Catalog
Date AddedDue DateVulnerability NameRequired Action
N/A
Date Added: N/A
Due Date: N/A
Vulnerability Name: N/A
Required Action: N/A
Metrics
TypeVersionBase scoreBase severityVector
Secondary4.01.2LOW
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
Secondary3.12.6LOW
CVSS:3.1/AV:A/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N
Secondary2.01.4LOW
AV:A/AC:H/Au:S/C:N/I:P/A:N
Type: Secondary
Version: 4.0
Base score: 1.2
Base severity: LOW
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/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
Type: Secondary
Version: 3.1
Base score: 2.6
Base severity: LOW
Vector:
CVSS:3.1/AV:A/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N
Type: Secondary
Version: 2.0
Base score: 1.4
Base severity: LOW
Vector:
AV:A/AC:H/Au:S/C:N/I:P/A:N
CPE Matches

Weaknesses
CWE IDTypeSource
CWE-327Secondarycna@vuldb.com
CWE-328Secondarycna@vuldb.com
CWE ID: CWE-327
Type: Secondary
Source: cna@vuldb.com
CWE ID: CWE-328
Type: Secondary
Source: cna@vuldb.com
Evaluator Description

Evaluator Impact

Evaluator Solution

Vendor Statements

References
HyperlinkSourceResource
https://github.com/3em0/cve_repo/blob/main/Langchain-Chatchat/Vuln-1-tobytes-Hash-Collision.mdcna@vuldb.com
N/A
https://github.com/chatchat-space/Langchain-Chatchat/cna@vuldb.com
N/A
https://github.com/chatchat-space/Langchain-Chatchat/issues/5462cna@vuldb.com
N/A
https://vuldb.com/submit/807794cna@vuldb.com
N/A
https://vuldb.com/vuln/361124cna@vuldb.com
N/A
https://vuldb.com/vuln/361124/cticna@vuldb.com
N/A
https://github.com/chatchat-space/Langchain-Chatchat/issues/5462134c704f-9b21-4f2e-91b3-4a467353bcc0
N/A
Hyperlink: https://github.com/3em0/cve_repo/blob/main/Langchain-Chatchat/Vuln-1-tobytes-Hash-Collision.md
Source: cna@vuldb.com
Resource: N/A
Hyperlink: https://github.com/chatchat-space/Langchain-Chatchat/
Source: cna@vuldb.com
Resource: N/A
Hyperlink: https://github.com/chatchat-space/Langchain-Chatchat/issues/5462
Source: cna@vuldb.com
Resource: N/A
Hyperlink: https://vuldb.com/submit/807794
Source: cna@vuldb.com
Resource: N/A
Hyperlink: https://vuldb.com/vuln/361124
Source: cna@vuldb.com
Resource: N/A
Hyperlink: https://vuldb.com/vuln/361124/cti
Source: cna@vuldb.com
Resource: N/A
Hyperlink: https://github.com/chatchat-space/Langchain-Chatchat/issues/5462
Source: 134c704f-9b21-4f2e-91b3-4a467353bcc0
Resource: N/A

Change History

0
Information is not available yet

Similar CVEs

1Records found

CVE-2026-7846
Matching Score-8
Assigner-VulDB
ShareView Details
Matching Score-8
Assigner-VulDB
CVSS Score-2.1||LOW
EPSS-0.02% / 6.61%
||
7 Day CHG+0.01%
Published-05 May, 2026 | 16:00
Updated-05 May, 2026 | 19:06
Rejected-Not Available
Known To Be Used In Ransomware Campaigns?-Not Available
KEV Added-Not Available
KEV Action Due Date-Not Available
chatchat-space Langchain-Chatchat OpenAI-Compatible File Upload API openai_routes.py files toctou

A vulnerability has been found in chatchat-space Langchain-Chatchat up to 0.3.1.3. Impacted is the function files of the file libs/chatchat-server/chatchat/server/api_server/openai_routes.py of the component OpenAI-Compatible File Upload API. Such manipulation of the argument file.filename leads to time-of-check time-of-use. Access to the local network is required for this attack to succeed. The attack requires a high level of complexity. The exploitability is considered difficult. The exploit has been disclosed to the public and may be used. The project was informed of the problem early through an issue report but has not responded yet.

Action-Not Available
Vendor-chatchat-space
Product-Langchain-Chatchat
CWE ID-CWE-362
Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
CWE ID-CWE-367
Time-of-check Time-of-use (TOCTOU) Race Condition
Details not found