Uploaded image for project: 'Picard'
  1. Picard
  2. PICARD-2775

Disable Qt WebP plugin for Windows and macOS binary builds to mitigate libwebp vulnerability (CVE-2023-4863)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 2.10.0
    • 2.9.2, 2.10.0rc1
    • Cover Art
    • None

      Impact

      An issue in the libwebp library has been recently reported and assigned the CVE id CVE-2023-4863. When a malicious WebP image is passed to the library then it can cause a buffer overflow.

      Binary distributions of Picard for Windows and macOS are affected by this, as they bundle the Qt imageformat plugin for webp.

      Patches

      Qt has issued a patch. Building the webp imageformat plugin with a patched libwebp would solve the issue. This is currently complicated as we distribute the binary build from https://pypi.org/project/PyQt5-Qt5/ , which currently has not yet been updated to address the issue.

      Workarounds

      • Removing the webp imageformat plugin from the distribution package will disable webp support and avoid the security issue
      • User can also manually delete the qwebp.dll or qwebp.so file from Qt5/plugins/imageformats/ in the installed application

      References

            outsidecontext Philipp Wolfer
            outsidecontext Philipp Wolfer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package
                2.10.0