Description
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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| diegonehab | rply | ≤ 1.1.4 | — |
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 | python-rply | No fix yet | — |
| Debian 13 | python-rply | No fix yet | — |
| Debian 12 | python-rply | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | rply | No fix yet | — |
| Ubuntu 26.04 LTS | rply | No fix yet | — |
References
- https://github.com/diegonehab/rply/issues/10 issue-tracking
- https://github.com/diegonehab/rply/blob/75639e3f12755ca64559d45a4a0bcffc52e04ef8/rply.c#L1228-L1251 technical-description
- https://github.com/diegonehab/rply/blob/75639e3f12755ca64559d45a4a0bcffc52e04ef8/rply.c#L821-L848 technical-description
- https://hackmd.io/@haindpwn/rply-property-list-type-confusion third-party-advisory
- VulnCheck Advisory: RPly through 1.1.4 Out-of-Bounds Function Pointer Index via PLY Header third-party-advisory