Closed Bug 1892876 Opened 2 years ago Closed 1 year ago

Attachments are shown in wrong email if selecting other email A while large email B is decrypting

Categories

(MailNews Core :: Security: OpenPGP, defect, P1)

Thunderbird 115
defect

Tracking

(thunderbird_esr140 affected)

RESOLVED DUPLICATE of bug 1976378
Tracking Status
thunderbird_esr140 --- affected

People

(Reporter: michaelspohn, Assigned: KaiE)

References

Details

Attachments

(1 obsolete file)

Steps to reproduce:

When I klick on a PGP encrypted email (email A) with four JPG attachments, it takes a while to decode on an older notebook with a 4th gen i7 CPU. I then klicked on a different email B while the decryption process was still running (The message content and attachments have not yet been displayed in the overview.)

Actual results:

When I click on the encrypted email A with attachments and then click on another email B while the decryption process is still running, the attachments of the encrypted email A are displayed as attachments in the second email B. It does not matter if email B has attachments or not.

The attachments of email A can be opened as if they were attached to email B.
When forwarding the email B, only original attachments of the email B get forwarded.
When you klick on another email C (or when you wait for the end of the decryption process after klicking on email A) and then klick on email B again, the attachments are not longer displayed as attachments of email B.

Expected results:

When I klick on the encrypted email A with attachments and then klick on another email B while the decryption process is still running, the attachments of that encrypted email A should not be displayed as attachments in the email B.

Can you reproduce on beta?

Component: Untriaged → Security: OpenPGP
Product: Thunderbird → MailNews Core
See Also: → CVE-2024-1936

This behavior occurs on current stable Mozilla Thunderbird (User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:115.0) Gecko/20100101 Thunderbird/115.10.1) only if the encrypted message with attachment is not fully loaded and decrypted in "Message Pane".

Doesn't occur when the encrypted message is fully loaded and decrypted.

Even if the described behavior was reproduced and after that the encrypted message was fully loaded and decrypted, the other messages are loaded normally.

There were no errors in Error Console.

I didn't have time to test on other versions of Mozilla Thunderbird.

I can reproduce on beta 136.

Status: UNCONFIRMED → NEW
Ever confirmed: true

I think this bug isn't limited to encrypted emails.

It might also happen for plain text emails with large attachments.

Assignee: nobody → kaie
Status: NEW → ASSIGNED
Severity: -- → S2
Priority: -- → P1
See Also: → 1975865
See Also: → 1976378

Magnus mentions a fix from bug 1976378 might fix this bug here as well.
Let's wait for that work to complete.

Depends on: 1976378
See Also: 1976378 →

I can still reproduce this bug on TB 140.0

But when applying attachment 9499375 [details] from bug 1976378 the bug is fixed in my local build.

Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Duplicate of bug: 1976378
Resolution: --- → DUPLICATE
Attachment #9469761 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: