The vulnerability lies in the OverlappingFieldsCanBeMerged validation rule, specifically within the collectConflictsWithin method. The vulnerability description explicitly mentions that this function performs O(n²) pairwise comparisons. By analyzing the patch commits between the vulnerable version (v15.31.4) and the patched version (v15.31.5), I identified commit b5e7c995b6e8b2c49149d1492a0a997da626491c. This commit modifies src/Validator/Rules/OverlappingFieldsCanBeMerged.php by introducing a deduplicateFields method and calling it at the beginning of collectConflictsWithin. This directly confirms that collectConflictsWithin was the location of the quadratic complexity issue. Before the patch, the function would perform a nested loop over all fields, and the fix was to reduce the number of items to be iterated over by deduplicating them first. Therefore, GraphQL\Validator\Rules\OverlappingFieldsCanBeMerged::collectConflictsWithin is the vulnerable function that would appear in a runtime profile during exploitation.