Servers and applications
GHSA-36h2-7775-g5c5
Crafted animated WebP hangs the PDF export
- Severity
- Medium
- Published
- 2 Dec 2026
- Last changed
- 2 Dec 2026
- Added to UpHeron
- 2 Dec 2026
- Weakness
- Infinite loop (CWE-835)
- Sources
- Project advisories (GitHub)
Description
Affected: 17.9.6. Older versions not tested. The same code is on dev.
In app/models/exports/pdf/common/attachments.rb, extract_first_webp_frame walks the chunks in a while loop. For an ANMF frame of an unknown type, such as ALPH, "next unless webp_type..." restarts the loop without moving pos, so the loop never ends.
Suggested fix: return instead of next.
A user who can attach a file could keep a PDF export from finishing. Limit of my test: I called the function directly. I did not run a full upload and export, and I did not measure the effect on the worker.
I used AI assistance to find and write up this report.
Workarounds
This was fixed as part of the 18.0 release: https://community.openproject.org/projects/OP/work_packages/OP-20721
Affected software
| Software | Affected versions |
|---|---|
OpenProjectServers and applications · github:opf/openproject |
|
About OpenProject
web-based project management system
- Total downloads
- 30M+OpenProject
- Docker Hub pulls
- 6,539,922Docker Hub, 29 Nov 2026
- GitHub stars
- 17,836GitHub, 29 Nov 2026
- Forks
- 3,855GitHub, 29 Nov 2026
- Latest release
- v17.8.3GitHub, 29 Nov 2026
- Released
- 19 Nov 2026GitHub
- License
- GNU General Public License, version 3.0Wikidata
- Written in
- RubyWikidata
- First published on GitHub
- 28 Nov 2012GitHub
Website Source code Docker image
Vulnerabilities in OpenProject
- In our list
- 119
- Published in the last 12 months
- 109
- Critical, last 12 months
- 13
- High, last 12 months
- 16
- Known exploited
- 0
- CVE-2026-136632OpenProject 17.2.0 before 17.5.2, 17.6.1, 17.7.3, 17.8.2, 17.9.7 Arbitrary Method InvocationHigh 7.2 25 Nov 2026
- GHSA-cm9j-c5pc-q325Activity-details cache replays phase-journal details to users lacking view_project_phasesLow 3.1 19 Nov 2026
- GHSA-xvh8-793v-rp59PATCH /api/v3/meeting_outcomes/:id can move another user's outcome out of a meeting the caller may only view: the contract checks manage_outcomes on the new agenda item onlyMedium 19 Nov 2026
- GHSA-27qw-695p-p8ggMissing authorization (CWE-862/CWE-639) in meeting agenda items new renders foreign meeting section titlesMedium 19 Nov 2026
- GHSA-gp67-gx74-36wgMissing authorization (CWE-862/CWE-639) in meeting agenda items cancel_new renders foreign meeting section titlesMedium 19 Nov 2026
- GHSA-hg98-84jc-26pxOpenProject invitation mails render the message as the inviter, leaking a private work package's subjectMedium 4.3 19 Nov 2026
References
- GitHub Advisory Database https://github.com/advisories/GHSA-36h2-7775-g5c5
- github.com https://github.com/opf/openproject/security/advisories/GHSA-36h2-7775-g5c5