Ip051 — Draco point-cloud `num_points` count-driven bomb

§12.15 import-format parser robustness (sub-class: draco-codec)

P2 — spec deviation (no data loss)

crash

Sources

Description

In the point-cloud (kd-tree attribute) path, the header carries a `num_points` count (uint32, little-endian, at offset 11) that drives attribute-buffer sizing. A count that disagrees with the encoded attribute payload — here an implausibly large value — must be cross-checked against the attribute geometry before decode.

Reproducer recipe

Encode the 4-point base point cloud; set the `num_points` uint32 at offset 11 to `0xFFFFFFFF`. All other bytes untouched.

Expected kernel behavior

Cross-check the declared point count against the attribute payload size before allocating/decoding; reject an inconsistent count with a diagnostic.

Notes

DracoPy 2.0.0 result observed: `FileTypeException: Input mesh is not draco encoded`. Decode returns immediately with a generic reject — no OOM/hang; the error string does not confirm the point-count bound specifically fired, only that no allocation from the unvalidated count occurs. This is the point-cloud codec path, distinct from the mesh count-bomb Ip046. Synonyms: "point-count/level mismatch", "kd-tree attribute count bomb", "unbounded num_points". Provenance tier: bytes-only.

Expected validation

Provenance tier

bytes-only — defect not fully embodied in fixture bytes.

Byte assertions

Cross-references

Ip046

Live oracle output

No live oracle data — run _run_corpus to populate.

Fixture content

Show fixture bytes (with defect highlighting)
1DRACOÿÿÿÿ	@êX—ßAÊ€ÿ?•†")N°€@ÿº>>-G>ƒÜï8
c/?