CVE-2021-3516
Rocky Linux vulnerability analysis and mitigation

Overview

A use-after-free vulnerability was discovered in libxml2's xmllint tool in versions before 2.9.11. The vulnerability was assigned CVE-2021-3516 and was disclosed in April 2021. The flaw affects the xmllint utility when processing XML files, specifically when used with the --html and --push options together (Red Hat Bugzilla).

Technical details

The vulnerability occurs when xmlCtxtUseOptions() is called on a htmlParserCtxtPtr instead of using htmlCtxtUseOptions(). This implementation error can lead to a use-after-free condition when processing specially crafted files. The vulnerability has been assigned a CVSS v3.1 base score of 7.8 (High) with the vector string CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H (NVD).

Impact

The vulnerability can lead to disclosure of sensitive information, addition or modification of data, or Denial of Service (DoS) when an attacker submits a specially crafted file to be processed by xmllint. The greatest impact of this flaw affects confidentiality, integrity, and availability of the system (NetApp Security).

Mitigation and workarounds

The vulnerability was fixed in libxml2 version 2.9.11. As a temporary workaround, users can mitigate the risk by avoiding the use of xmllint with the --html and --push options together. Multiple vendors have released patches for their affected products, including Red Hat, Debian, Ubuntu, and Oracle (Gentoo Security, NetApp Security).

Additional resources


SourceThis report was generated using AI

Related Rocky Linux vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-13020HIGH8.8
  • NixOSNixOS
  • MozillaFirefox-branding-upstream
NoYesNov 11, 2025
CVE-2025-59088HIGH8.6
  • Rocky LinuxRocky Linux
  • python3-kdcproxy
NoYesNov 12, 2025
CVE-2025-13019HIGH8.1
  • NixOSNixOS
  • firefox-x11
NoYesNov 11, 2025
CVE-2025-59089MEDIUM5.9
  • Rocky LinuxRocky Linux
  • idm:DL1::bind-dyndb-ldap
NoYesNov 12, 2025
CVE-2025-40185N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-debug-modules-partner
NoYesNov 12, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management