Ad035 — IGES-style 80-column padding sensitivity (shared translator code paths)

§12.11 (sub-class: framing / OOB-read)

P2 — spec deviation (no data loss)

crash adversarial

Sources

Description

IGES Directory-Entry uses fixed 80-column records; record with non-space padding or off-by-one length crashes when directory parser indexes column 73.80 unconditionally. Relevant because translators commonly share code paths with STEP.

Reproducer recipe

IGES file whose terminator section reports record count one greater than physically present.

Expected kernel behavior

Heal and accept: bound all column indexes against actual line length. Must not crash on column-out-of-range.

Notes

Validation observed: silent-empty rather than the cited crash. The structural attack pattern (e.g., billion-laughs / cyclic-reference / very-large-string) is demonstrated; production-scale exploitation requires inflating the size factor as described. Kernel-mishandling-by-silent-acceptance is itself a defect signal at fixture scale.

Expected validation

occt=empty/empty gmsh=empty ifc=schema_n/a

Byte assertions

Tier-3 assertions

Live oracle output

No live oracle data — run _run_corpus to populate.

Fixture content

Show fixture bytes (with defect highlighting)
1ISO-10303-21;
2/* Ad035: IGES-style 80-column padding sensitivity via shared translator code paths; oversized-line attack pattern in STEP data section probes fixed-column-index path; GEOMETRIC_CURVE_SET IS model entity — OCC yields empty */
3HEADER;
4FILE_DESCRIPTION(('Ad035'),'2;1');
5FILE_NAME('Ad035.stp','2026-06-17T00:00:00',(''),(''),'cad-research-suite','','');
6FILE_SCHEMA(('AUTOMOTIVE_DESIGN { 1 0 10303 214 3 1 1 }'));
7ENDSEC;
8DATA;
9#1=CARTESIAN_POINT('',(0.0,0.0,0.0));
10#2=GEOMETRIC_CURVE_SET('',(#1));
11#3=CARTESIAN_POINT('XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',(1.0,2.0,3.0));
12#4=CARTESIAN_POINT('YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY99999999',(4.0,5.0,6.0));
13ENDSEC;
14END-ISO-10303-21;