§12.11 Adversarial / parser robustness

Adversarial / parser-robustness fixtures: malicious or boundary-case inputs intended to expose memory or performance defects.

95 entries

IDTitleProvenanceExpected validation
Ad001Heap buffer overflow on overlong `'…'` string literalbytes-sufficientocct=reject/reject gmsh=reject ifc=schema_n/a
Ad002Stack overflow via deeply nested aggregate parenthesesbytes-sufficientocct=empty/empty gmsh=empty ifc=schema_n/a
Ad003Negative / zero `B_SPLINE` degree or empty knot/multiplicity lists drive `malloc` size confusionbytes-sufficientocct=shape(1)/shape(1) gmsh=shape(2) ifc=schema_n/a
Ad004Cyclic complex-entity reference graph causes infinite recursionbytes-sufficientocct=empty/empty gmsh=empty ifc=schema_n/a
Ad005Dangling forward reference to undefined `#NNN`bytes-sufficientocct=empty/empty gmsh=empty ifc=schema_n/a
Ad014Float literal with extreme exponent (`1E999999`) propagates as inf/NaNbytes-sufficientocct=empty/empty gmsh=empty ifc=schema_n/a
Ad015Empty aggregate where schema requires at least one elementbytes-sufficientocct=signal(11)/signal(11) gmsh=signal(11) ifc=schema_n/a
Ad026Self-referencing complex-entity instance during constructionbytes-sufficientocct=empty/empty gmsh=empty ifc=schema_n/a
Ad027STEP "zip bomb": 10⁷ tiny instances exhaust memorybytes-onlyocct=empty/empty gmsh=empty ifc=schema_n/a
Ad030Type-confusion via mis-typed reference (CARTESIAN_POINT used as DIRECTION)bytes-sufficientocct=empty/empty gmsh=empty ifc=schema_n/a
Ad031Malformed `FILE_DESCRIPTION` (missing `implementation_level` argument) triggers use-after-free in deferred header diagnosticbytes-sufficientocct=empty/empty gmsh=empty ifc=schema_n/a
Ad032Schema-EXPRESS rule recursion bombbytes-sufficientocct=empty/empty gmsh=empty ifc=schema_n/a
Ad033Translator OOB write copying parsed string into packed C structbytes-sufficientocct=empty/empty gmsh=empty ifc=schema_n/a
Ad035IGES-style 80-column padding sensitivity (shared translator code paths)bytes-sufficientocct=empty/empty gmsh=empty ifc=schema_n/a
Ad038File concatenation produces conflicting IDs and dual end-markersbytes-onlyocct=empty/empty gmsh=empty ifc=schema_n/a
Ad042Reference to entity-of-wrong-type in attribute slotbytes-sufficientocct=empty/empty gmsh=empty ifc=schema_n/a
Ad043STEP read raises uncaught exception on null / invalid entity referencebytes-sufficientocct=empty/empty gmsh=empty ifc=schema_n/a
Ad044`EDGE_CURVE.same_sense` boolean read uninitialisedbytes-sufficientocct=empty/empty gmsh=empty ifc=schema_n/a
Ad045Healing pipeline raises exception on real input with `EDGE_CURVE` vertices off the `LINE` by sub-confusion offset ("must not throw")bytes-sufficientocct=empty/empty gmsh=empty ifc=schema_n/a
Ad046STEP writer crashes on `ADVANCED_FACE` `EDGE_CURVE` with no `SURFACE_CURVE` / pcurve plus empty `APPLIED_GROUP_ASSIGNMENT`runtime-onlyocct=empty/empty gmsh=empty ifc=schema_n/a
Ad047`ADVANCED_FACE` `same_sense=.F.` inverts surface normal: negative or invalid face area after orientation fixbytes-sufficientocct=empty/empty gmsh=empty ifc=schema_n/a
Ad049Real literal lacks decimal point or has Fortran `D` exponentbytes-sufficientocct=empty/empty gmsh=empty ifc=schema_n/a
Ad050Empty `EDGE_LOOP` / empty wire / empty entity iterator crashes readerbytes-sufficientocct=signal(11)/signal(11) gmsh=signal(11) ifc=schema_n/a
Ad051Reference to non-existent entity number (negative or out-of-range)bytes-sufficientocct=empty/empty gmsh=empty ifc=schema_n/a
Ad052STEP file referencing itself as external file (infinite loop)runtime-onlyocct=empty/empty gmsh=empty ifc=schema_n/a
Ad053Cyclic / reference-to-reference chain of `SHAPE_REPRESENTATION_RELATIONSHIP`bytes-sufficientocct=shape(1)/shape(1) gmsh=shape(1) ifc=schema_n/a
Ad054Mutual-cycle `NEXT_ASSEMBLY_USAGE_OCCURRENCE` chain hangs reader's `Transfer` phase foreverbytes-sufficientocct=shape(1)/shape(1) gmsh=shape(1) ifc=schema_n/a
Ad055Stack overflow when meshing TBB pool from STEP importbytes-sufficientocct=shape(1)/shape(1) gmsh=shape(1296) ifc=schema_n/a
Ad056General-transform constructor throws on extreme non-uniform face stretchbytes-onlyocct=empty/empty gmsh=empty ifc=schema_n/a
Ad057Memory leak / unbounded RSS after STEP assembly read (typed-value / BOOLEAN-enum table allocations not freed)bytes-sufficientocct=empty/empty gmsh=empty ifc=schema_n/a
Ad059Mismatched weight / pole counts in BSpline (writer-emitted)bytes-sufficientocct=empty/empty gmsh=empty ifc=schema_n/a
Ad064Underscore inside string truncated by name-parsing consumerbytes-sufficientocct=shape(1)/shape(1) gmsh=shape(9) ifc=schema_n/a
Ad077Zero-length aggregates trigger `count-1` underflow / 4 GB loop walk (signed-integer attribute used as unsigned)bytes-sufficientocct=shape(1)/shape(1) gmsh=shape(9) ifc=schema_n/a
Ad078`NEXT_ASSEMBLY_USAGE_OCCURRENCE` child as PRODUCT_DEFINITION_SHAPE (mis-typed select)bytes-sufficientocct=empty/empty gmsh=empty ifc=schema_n/a
Ad080Two `DATA` sections with colliding `#NNN` id space in one file (token-boundary attack)bytes-sufficientocct=empty/empty gmsh=empty ifc=schema_n/a
Ad081Empty `SHAPE_REPRESENTATION.items` plus dangling `PRODUCT_DEFINITION_SHAPE` triggers out-of-range abort in root-transfer (Rhino-6 emit)bytes-sufficientocct=empty/empty gmsh=empty ifc=schema_n/a
Ad082Late-bound forward reference (`FACE_OUTER_BOUND` → `EDGE_LOOP` → `ORIENTED_EDGE` defined later) trips binary BREP indexed-map lookupbytes-sufficientocct=shape(1)/shape(1) gmsh=shape(1) ifc=schema_n/a
Ad083Multiple `PRODUCT`s share the same name; only `NEXT_ASSEMBLY_USAGE_OCCURRENCE` id disambiguates (assembly reader flat-load label collision)bytes-sufficientocct=empty/empty gmsh=empty ifc=schema_n/a
Ad084`XCAFDoc_ShapeTool::FindSubShape` crash building XCAF treebytes-sufficientocct=shape(1)/shape(1) gmsh=shape(9) ifc=schema_n/a
Ad085Composite-curve-segment self-cyclic referencebytes-sufficientocct=empty/empty gmsh=empty ifc=schema_n/a
Ad086Translator silently masks segfault-class faults as "transfer failed" on type-confused / overflow attribute referencesruntime-onlyocct=shape(1)/shape(1) gmsh=shape(1) ifc=schema_n/a
Ad087STEP reader crashes on file with unresolved entity referencebytes-sufficientocct=empty/empty gmsh=empty ifc=schema_n/a
Ad088Crash on reading STEP with malformed parameter valuesbytes-sufficientocct=shape(1)/shape(1) gmsh=shape(1) ifc=schema_n/a
Ad089Reader broken parsing on missing last parameterbytes-sufficientocct=shape(1)/shape(1) gmsh=shape(1) ifc=schema_n/a
Ad090Lower-case `End-ISO-10303-21` token rejectedbytes-sufficientocct=empty/empty gmsh=empty ifc=schema_n/a
Ad091Crash on STEP file from non-C locale (decimal separator)bytes-sufficientocct=shape(1)/shape(1) gmsh=shape(1) ifc=schema_n/a
Ad092Crash reading large STEP file: exception during transferbytes-sufficientocct=shape(1)/shape(1) gmsh=shape(1) ifc=schema_n/a
Ad093Empty / null input file path causes crashruntime-onlyocct=shape(1)/shape(1) gmsh=shape(1) ifc=schema_n/a
Ad094Shell translator dereferences null on empty face listbytes-sufficientocct=empty/empty gmsh=empty ifc=schema_n/a
Ad095STEP file from Pro/Engineer crashes (vendor-attribution)bytes-onlyocct=empty/empty gmsh=empty ifc=schema_n/a
Ad096Crash on AP242 file: access violation reading entitybytes-sufficientocct=empty/empty gmsh=empty ifc=schema_n/a
Ad097Comment string inside STEP file breaks parserbytes-sufficientocct=reject/reject gmsh=reject ifc=reject
Ad098Infinite recursion during ShapeFix after Boolean cutruntime-onlyocct=empty/empty gmsh=empty ifc=schema_n/a
Ad099Self-intersection healing of a wire with self-tangent loop pcurve never terminatesbytes-onlyocct=empty/empty gmsh=empty ifc=schema_n/a
Ad100Memory leak reading STEP file into TDocStd_Documentcross-file-stateocct=shape(1)/shape(1) gmsh=shape(1) ifc=schema_n/a
Ad101Wire edge-curve healing reads past end of edge list after edge removal (open EDGE_LOOP / non-closed 3-edge wire)bytes-sufficientocct=empty/empty gmsh=empty ifc=schema_n/a
Ad102Crash transferring HLR-created shapes via STEP writerbytes-sufficientocct=empty/empty gmsh=empty ifc=schema_n/a
Ad103Coincident VERTEX_POINTs at identical CARTESIAN_POINT coordinates trigger vertex-merge healing throws on already-absorbed vertexruntime-onlyocct=shape(1)/shape(1) gmsh=shape(1) ifc=schema_n/a
Ad104STEP-XML wrapper carries a DTD with external-entity reference (XXE)cross-file-stateocct=empty/empty gmsh=empty ifc=schema_n/a
Ad105`.stpz` / `.stpx` archive container claims gigabytes of uncompressed datacross-file-stateocct=shape(1)/shape(1) gmsh=shape(1) ifc=schema_n/a
Ad106`EXTERNAL_FILE` URI resolves through a symlink (TOCTOU race)cross-file-stateocct=empty/empty gmsh=empty ifc=schema_n/a
Ad107STEP-XML wrapper carries a billion-laughs entity-expansion bombcross-file-stateocct=empty/empty gmsh=empty ifc=schema_n/a
Ad108STEP-XML DOCTYPE references an external DTD over the networkcross-file-stateocct=empty/empty gmsh=empty ifc=schema_n/a
Ad109STEP-XML parameter-entity injection exfiltrates local file via out-of-band DTDcross-file-stateocct=empty/empty gmsh=empty ifc=schema_n/a
Ad110`.stpz` gzip wrapper expands ratio 1:10000 into multi-gigabyte bodycross-file-stateocct=shape(1)/shape(1) gmsh=shape(1) ifc=schema_n/a
Ad111ZIP bomb inside a 3MF / IFCZIP container that wraps a STEP bodycross-file-stateocct=shape(1)/shape(1) gmsh=shape(1) ifc=schema_n/a
Ad112Nested gzip-of-gzip-of-..stpz triggers N-level recursive decompressioncross-file-stateocct=shape(1)/shape(1) gmsh=shape(1) ifc=schema_n/a
Ad113Symlink swap between read of `.input.stp` and read of `.stp` (sibling-pair TOCTOU)cross-file-stateocct=empty/empty gmsh=empty ifc=schema_n/a
Ad114STEP fixture path is a symlink to `/etc/passwd` or other privileged filecross-file-stateocct=empty/empty gmsh=empty ifc=schema_n/a
Ad115Directory-entry race between `stat()` and `open()` on STEP fixture pathcross-file-stateocct=empty/empty gmsh=empty ifc=schema_n/a
Ad116Non-ASCII (Cyrillic / multi-byte) filename or path causes STEP import to failbytes-sufficientocct=shape(1)/shape(1) gmsh=shape(9) ifc=schema_n/a
Ad117STEP reader crashes on minimal file with malformed `STYLED_ITEM`bytes-sufficientocct=shape(1)/shape(1) gmsh=shape(9) ifc=schema_n/a
Ad118Forward-compat: STEP files written by an older OCC version no longer open in a newer buildbytes-sufficientocct=empty/empty gmsh=empty ifc=schema_n/a
Ad119"Unknown ENTITY type" warning is not a hard failure (presentation subgraph silently dropped, BRL-CAD step-g)bytes-sufficientocct=empty/empty gmsh=empty ifc=schema_n/a
Ad120SURFACE_OF_REVOLUTION on 3-point-arc profile crashes consumer on importbytes-sufficientocct=shape(1)/shape(1) gmsh=reject ifc=schema_n/a
Ad121Corrupted STEP export: CARTESIAN_POINT with mismatched coord countbytes-sufficientocct=shape(1)/shape(1) gmsh=shape(9) ifc=schema_n/a
Ad122Damaged STEP export: writer reuses entity-ID slotsbytes-sufficientocct=shape(1)/shape(1) gmsh=shape(9) ifc=schema_n/a
Ad123Step Export: crash on PCURVE processing (dangling surface ref)bytes-sufficientocct=shape(1)/shape(1) gmsh=shape(9) ifc=schema_n/a
Ad124Segfault from malformed step-ids (non-numeric forward-ref payload)bytes-sufficientocct=shape(1)/shape(1) gmsh=shape(9) ifc=schema_n/a
Ad125Segfault on malformed STEP-IDs: negative ID after atoi() parsebytes-sufficientocct=shape(1)/shape(1) gmsh=shape(9) ifc=schema_n/a
Ad126`add()` with explicit STEP ID causes segfault on auto-ID collisionbytes-sufficientocct=shape(1)/shape(1) gmsh=shape(9) ifc=schema_n/a
Ad127Corrupted STEP with missing references kills Python process (OSD::SetSignal)bytes-sufficientocct=shape(1)/shape(1) gmsh=shape(9) ifc=schema_n/a
Ad128ORIENTED_EDGE mutual circular reference causes stack overflowbytes-sufficientocct=shape(1)/shape(1) gmsh=shape(9) ifc=schema_n/a
Ad129Negative-determinant CARTESIAN_TRANSFORMATION_OPERATOR_3D in MAPPED_ITEMbytes-sufficientocct=shape(1)/shape(1) gmsh=shape(9) ifc=schema_n/a
Ad130`PRESENTATION_LAYER_ASSIGNMENT` with null (`$`) item in `assigned_items` setbytes-sufficientocct=shape(1)/shape(1) gmsh=shape(54) ifc=schema_n/a
Ad131OCCT PR #448: malformed `FILE_SCHEMA` with literal `.` between schema name and version triple (every OCCT-written AP242 file in the wild)bytes-sufficientocct=shape(1)/shape(1) gmsh=shape(54) ifc=schema_n/a
Ad132OCCT #383/#407: NIST AP242 Ed.3 datum-axis reader confuses indices vs values → `gp_Dir::CrossCross` zero-norm exceptionbytes-sufficientocct=shape(1)/shape(1) gmsh=shape(54) ifc=schema_n/a
Ad133OCCT #1327 / FreeCAD #30266: OCCT 8.0 STEP writer regression drops curved-surface entities on re-exportwriter-sideocct=shape(1)/shape(1) gmsh=shape(9) ifc=schema_n/a
Ad134`DIRECTION` with an empty `direction_ratios` list used as the axis of the transferred shape's `TOROIDAL_SURFACE`bytes-sufficientocct=signal(11)/signal(11) gmsh=signal(11) ifc=schema_n/a
Ad135Degenerate AXIS2_PLACEMENT_3D: axis parallel to ref_direction (x-axis undefined)bytes-sufficientocct=shape(1)/shape(1) gmsh=shape(9) ifc=schema_n/a
Ad136Duplicate entity id: `#30` defined twice in DATAbytes-sufficientocct=shape(1)/shape(1) gmsh=shape(9) ifc=schema_n/a
Ad137COMPOSITE_CURVE with one numerically degenerate segment (non-monotonic B-spline knots): segment-dropped-not-whole-curve-aborted catch sitebytes-sufficientocct=shape(1)/shape(1) gmsh=shape(1) ifc=schema_n/a
Ad138Curve element of a curve set whose construction throws is logged and skipped; the rest of the set still translatesbytes-sufficientocct=shape(1)/shape(1) gmsh=shape(3) ifc=schema_n/a
Ad139VECTOR with null (`$`) orientation on a live edge → signal(11) constructing the directionbytes-sufficientocct=signal(11)/signal(11) gmsh=signal(11) ifc=schema_n/a
Ad140ADVANCED_FACE with a null (`$`) element in its mandatory bounds list → signal(11)bytes-sufficientocct=signal(11)/signal(11) gmsh=signal(11) ifc=schema_n/a