Dave alerted me of your query and I immediately knew what text to draw upon to help you out.
The explanation and illustration below come from the "Photographer's Mate 2 & 3", Bureau of Naval Personnel, Rate Training Manual, NAVPERS 10355-A, 1971 Edition. This was my first introduction to photography when attending high/middle school and it is still my primary reference.
Curvilinear distortion in a lens causes straight lines in the subject to be reproduced as curved lines in the image. When curvilinear distortion is present in a lens, it is particularly prominent in that portion of the image formed near the margins of the field of the lens. Hence, curvilinear distortion may be defined as a lens' inability to produce the same enlargement in the image formed by the edges of the lens as in that part formed by the center of the lens.
When considering the case of a simple, single element, lens, uncorrected for spherical aberration, it will form an undistorted image.
However, if an aperture or stop is placed on the optical axis to reduce spherical aberration, curvilinear distortion is the result. When the aperture or stop is placed in front of the lens, on the side facing the scene, negative distortion manifests itself by causing straight lines in the subject to appear bowed outward in the image, Barrel distortion, see (A) below. If the aperture or stop is placed behind the lens positive distortion manifests itself by causing the subject's straight lines to curve inward toward the center of the image, Pincushion distortion, see (B) below.
This is a photo "Scan" of the book illustration which is why there are introduced distortions,
But you can see where curvilinear distortions originate.
The obvious correction for curvilinear distortion is a multi-element lens which has the aperture and spherical aberration stops placed between lens elements.
Since curvilinear distortion is greatest at the margins of the image circle, one easy method to mitigate the effect is to use a lens with a larger image circle or crop the image to the center region of the frame, in both instances, curvilinear distortion is aperture independent.
If you need a mathematical basis for understanding and possibly compensating for curvilinear distortion, I recommend
Lens Design Fundamentals by Rudolf Kingslake & R. Barry Johnson, specifically Chapter 11.