libxslt version 1.1.34-9.el9_5.2 fails on realloc with segmentation fault when processing oscap xml files

Solution Verified - Updated -

Issue

  • The oscap commands fail with segmentation fault when generating HTML report using the latest libxslt package.

    # oscap xccdf eval --profile xccdf_org.ssgproject.content_profile_cis --report /tmp/report.html /usr/share/xml/scap/ssg/content/ssg-rhel9-ds.xml
    --- Starting Evaluation ---
    
    
    realloc failed !
    Segmentation fault (core dumped)
    
    # wget -O - https://www.redhat.com/security/data/oval/v2/RHEL9/rhel-9.oval.xml.bz2 | bzip2 --decompress > rhel-9.oval.xml
    # oscap oval eval --report vulnerability.html rhel-9.oval.xml
    
    realloc failed !
    Segmentation fault (core dumped)
    

Environment

  • Red Hat Enterprise Linux 9
  • libxslt-1.1.34-9.el9_5.2.x86_64

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content