# CVE-2026-121564: Silent loss of messages when merging overlapping chat exports in whatstk

- Severity: Low 1.8 (CVSS:4.0, scored by Secur0) `CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.34%, higher than 29% of CVEs (2026-12-01)
- Published: 2026-11-03T15:24:43.300Z
- Modified: 2026-11-03T18:17:57.797Z
- Weaknesses: CWE-1023
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Secur0

## Description

Incomplete Comparison with Missing Factors (CWE-1023) in merge_chats() (whatstk/utils/chat_merge.py), reached from BaseChat.merge(), in whatstk from 0.3.0 before 0.9.0 allows a party that supplies the chat exports to cause messages to be absent from the merged output with no indication that anything was removed, because the merge keeps whole the chat whose first message is oldest and appends from the other only the messages that are strictly newer than the last message of the first. Every message of the second chat that falls inside the date range already covered by the first is therefore discarded. The two chats are compared on their date ranges and not on the identity of the individual messages, so a message held by only one of the two exports is dropped whenever its date falls inside the range of the other, and both branches of _merge_two_chats() behave this way. The merged result is returned without a warning and without a count of what was removed. This results in a merged chat that omits messages the inputs contain, in a library whose documented uses include forensic review and the generation of training data.

(As written by CVE List.)

## Affected

- whatstk: from 0.3.0 before 0.9.0

## References

- <https://github.com/lucasrodes/whatstk/pull/185> (patch)
- <https://github.com/lucasrodes/whatstk/commit/01d66d8> (patch)
- <https://github.com/lucasrodes/whatstk/releases/tag/v0.9.0> (release-notes)
- <https://secur0.com/en/cna/cve-list/cve-2026-121564-whatstk-merge-message-loss> (technical-description, third-party-advisory)

## Sources

- CVE List: [CVE-2026-121564](https://www.cve.org/CVERecord?id=CVE-2026-121564), CVE Terms of Use, modified 2026-11-03
- NVD: [CVE-2026-121564](https://nvd.nist.gov/vuln/detail/CVE-2026-121564), Public domain, modified 2026-11-03

---

Page: https://cve.day/CVE-2026-121564 · Whole record: https://cve.day/CVE-2026-121564.json · Rebuilt by cve.day 2026-11-25T22:59:48.516Z
