Description
The QSharedMemory class in Qt 5.0.0, 4.8.x before 4.8.5, 4.7.x before 4.7.6, and other versions including 4.4.0 uses weak permissions (world-readable and world-writable) for shared memory segments, which allows local users to read sensitive information or modify critical program data, as demonstrated by reading a pixmap being sent to an X server.
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 6.0 | qt4-x11 | 4:4.6.3-4+squeeze3 | DLA-210-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 6 | qt +10 | 1:4.6.2-26.el6_4 | RHSA-2013:0669 |
Advisories 2
- RHSA-2013:0669 Red Hat Security Advisory: qt security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- DLA-210-1 qt4-x11 - security update Debian Security (DSA / DLA) · Mar 9, 2026
References
- openSUSE-SU-2013:0404 vendor-advisory
- RHSA-2013:0669 vendor-advisory
- openSUSE-SU-2013:0403 vendor-advisory
- [qt-announce] 20130205 [Announce] [CVE-2013-0254] Qt Project Security Advisory: System V shared memory segments created world-writeable mailing-list
- openSUSE-SU-2013:0411 vendor-advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=907425