Description
Roundcube Webmail before 1.6.20 and 1.7.x before 1.7.5 allows the ImageMagick resource limits to be bypassed during thumbnail generation. When rcube_image falls back to GD, the available-memory check was applied only on Windows, so on other platforms a crafted image with large dimensions was processed by GD without any resource limit and could exhaust server memory. Upstream fixed this in the commit “Fix ImageMagick resource limits bypass by GD fallback during thumbnail generation”, which applies the memory check on all platforms.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Roundcube | Webmail | 1.6.0 – < 1.6.20, 1.7.0 – < 1.7.5 | 1.6.20 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | roundcube | 1.6.20+dfsg-1 | — |
| Debian 13 | roundcube | 1.6.20+dfsg-0+deb13u1 | — |
| Debian 12 | roundcube | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | roundcube +1 | No fix yet | — |
Show 7 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 26.04 LTS | roundcube +1 | No fix yet | — |
| Ubuntu Pro 24.04 LTS | roundcube +1 | No fix yet | — |
| Ubuntu Pro 22.04 LTS | roundcube +1 | No fix yet | — |
| Ubuntu Pro 20.04 LTS | roundcube +1 | No fix yet | — |
| Ubuntu Pro 18.04 LTS | roundcube +1 | No fix yet | — |
| Ubuntu Pro 16.04 LTS | roundcube +1 | No fix yet | — |
| Ubuntu Pro 14.04 LTS | imagemagick | No fix yet | — |
Advisories 1
- WID-SEC-2026-4043 Roundcube Webmail: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 5, 2026
References
- https://bugs.debian.org/1151279 issue-tracking third-party-advisory
- https://github.com/roundcube/roundcubemail/commit/d28a5703294e971a577e3c4f7bfc33362e3f04cf patch
- https://roundcube.net/news/2026/10/19/security-updates-1.6.20-and-1.7.5 vendor-advisory release-notes
- https://github.com/roundcube/roundcubemail/releases/tag/1.7.5 release-notes patch
- https://github.com/roundcube/roundcubemail/releases/tag/1.6.20 release-notes patch
- https://github.com/roundcube/roundcubemail/commit/0bea81121efd96f07432a837f391dbdd0dffa33f patch