Closed Bug 1782186 Opened 3 years ago Closed 3 years ago

Opening an encrypted pdf: the encryption dictionary's `StrF` and `StmF` are swapped

Categories

(Firefox :: PDF Viewer, defect, P1)

Firefox 102
defect

Tracking

()

RESOLVED FIXED
105 Branch

People

(Reporter: battlechicken74, Assigned: calixte)

References

Details

Attachments

(2 files)

Attached file egy kor.pdf

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Firefox/102.0

Steps to reproduce:

Tried to open a pdf file.

  • open attached file
  • password is 'Hello'
  • observe that the screen is empty

now, if you exchange the 2 variables in the pdf (with notepad++ for example)
/StmF /StdCF -> /StmF /Identity
/StrF /Identity -> /StrF /StdCF
then it works. -- a circle appears as intended
All other pdf reader apps that i tried work. (acrobat, sumatra)

Actual results:

Didn't open

Expected results:

Should have opened

The Bugbug bot thinks this bug should belong to the 'Firefox::PDF Viewer' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → PDF Viewer

I can reproduce the issue in Firefox nightly on Windows 11.
It works correctly in either Acrobat or Foxit or Preview, but impossible to just open it in Edge.

Severity: -- → S3
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P3
Assignee: nobody → cdenizet
Status: NEW → ASSIGNED
Priority: P3 → P1
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 105 Branch
No longer depends on: 2039544
No longer depends on: 2039755
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: