Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| GNOME / libgxps | affected 0 through 0.3.2 |
CWE
CWE-125
References
- https://hackmd.io/@haind-pwn/libgxps-poly-segment-points-arity-oob-read
- https://gitlab.gnome.org/GNOME/libgxps/-/blob/f5027ed09c767e8a02e652fbc77dcea79e19e10d/libgxps/gxps-path.c#L776-L785
- https://gitlab.gnome.org/GNOME/libgxps/-/blob/f5027ed09c767e8a02e652fbc77dcea79e19e10d/libgxps/gxps-path.c#L832-L848
- https://gitlab.gnome.org/GNOME/libgxps
- https://www.vulncheck.com/advisories/gnome-libgxps-through-0.3.2-heap-out-of-bounds-read-via-path-geometry-start-element
ADP enrichment
No English description supplied.
No references supplied.