Description
GNOME libgxps through 0.3.2 contains a heap out-of-bounds read in path_geometry_start_element() that allows attackers to read past allocations via crafted PolyBezierSegment or PolyQuadraticBezierSegment Points attributes. Attackers can supply a point count not divisible by three or two in a crafted XPS document to crash consumers like Evince and render adjacent heap memory into output.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| GNOME | libgxps | ≤ 0.3.2 | — |
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 | libgxps | No fix yet | — |
| Debian 13 | libgxps | No fix yet | — |
| Debian 12 | libgxps | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | libgxps | No fix yet | — |
| Ubuntu 26.04 LTS | libgxps | No fix yet | — |
| Ubuntu 24.04 LTS | libgxps | No fix yet | — |
| Ubuntu 22.04 LTS | libgxps | No fix yet | — |
| Ubuntu 20.04 LTS | libgxps | No fix yet | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | libgxps | No fix yet | — |
| Ubuntu 16.04 LTS | libgxps | No fix yet | — |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | libgxps | No fix yet | — |
References
- https://hackmd.io/@haind-pwn/libgxps-poly-segment-points-arity-oob-read technical-description
- https://gitlab.gnome.org/GNOME/libgxps/-/blob/f5027ed09c767e8a02e652fbc77dcea79e19e10d/libgxps/gxps-path.c#L776-L785 technical-description
- https://gitlab.gnome.org/GNOME/libgxps/-/blob/f5027ed09c767e8a02e652fbc77dcea79e19e10d/libgxps/gxps-path.c#L832-L848 technical-description
- https://gitlab.gnome.org/GNOME/libgxps product
- VulnCheck Advisory: GNOME libgxps through 0.3.2 Heap Out-of-Bounds Read via path_geometry_start_element third-party-advisory