More information about this security flaw is available in the following bug: https://bugzilla.redhat.com/show_bug.cgi?id=2366317 Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.
I see no inftrees.c nor zlib bundled in the sources of pcl in Fedora 42.
%prep has: # Just to make it obvious we're not using any of these ... rm -fr surface/src/3rdparty/opennurbs That folder includes the bundled zlib copy.