Description (CNA)
RPly through 1.1.4 contains an improper array index validation vulnerability in ply_read_header_property() that accepts list as a list property's length or value type. Attackers can supply a crafted PLY file that makes ply_read_list_property() call an out-of-bounds handler, crashing ASCII parsing or corrupting memory in binary parsing.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| diegonehab / rply | affected 0 through 1.1.4 |
CWE
CWE-129
References
- https://github.com/diegonehab/rply/issues/10
- https://github.com/diegonehab/rply/blob/75639e3f12755ca64559d45a4a0bcffc52e04ef8/rply.c#L1228-L1251
- https://github.com/diegonehab/rply/blob/75639e3f12755ca64559d45a4a0bcffc52e04ef8/rply.c#L821-L848
- https://hackmd.io/@haindpwn/rply-property-list-type-confusion
- https://www.vulncheck.com/advisories/rply-through-1.1.4-out-of-bounds-function-pointer-index-via-ply-header