[okular] [Bug 499471] New: File bloat and data leakage

quazgar bugzilla_noreply at kde.org
Mon Feb 3 17:35:21 GMT 2025


https://bugs.kde.org/show_bug.cgi?id=499471

            Bug ID: 499471
           Summary: File bloat and data leakage
    Classification: Applications
           Product: okular
           Version: 22.12.3
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: PDF backend
          Assignee: okular-devel at kde.org
          Reporter: quazgar at posteo.de
  Target Milestone: ---

Created attachment 177933
  --> https://bugs.kde.org/attachment.cgi?id=177933&action=edit
A PDF document with a form, only default content, created with LibreOffice.

SUMMARY

Saving PDF files with forms a) increases the file size, potentially a lot and
b) leaks history information.

When PDF files with filled forms are stored, every single keystroke in those
forms is saved. So for example, when I enter the text "test1234", there will be
PDF commands for all of: "t", "te", "tes", .... "test123", "test1234".

Especially for larger texts, this can significantly increase file size, memory
and CPU usage and make some documents even unprintable (if the printer cannot
handle these commands).

STEPS TO REPRODUCE
1. Open the attached
2. 
3. 

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: 
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list