# CVE-2021-3537: Nokogiri Implements libxml2 version vulnerable to null pointer dereferencing

- Severity: Medium 5.9 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 3.15%, higher than 88% of CVEs (2026-12-01)
- Published: 2021-05-14T19:50:10.000Z
- Modified: 2026-10-14T10:17:45.043Z
- Also known as: GHSA-286v-pcf5-25rc
- Weaknesses: CWE-476
- Assigned by: redhat

## Description

A vulnerability found in libxml2 in versions before 2.9.11 shows that it did not propagate errors while parsing XML mixed content, causing a NULL dereference. If an untrusted XML document was parsed in recovery mode and post-validated, the flaw could be used to crash the application. The highest threat from this vulnerability is to system availability.

(As written by CVE List.)

## Affected

- libxml2: libxml2 2.9.11
- nokogiri (RubyGems): before 1.11.4
- xmlsoft libxml2: before 2.9.11
- redhat jboss_core_services: no versions given
- redhat enterprise_linux: 6.0; 7.0; 8.0
- debian debian_linux: 9.0
- fedoraproject fedora: 33; 34
- netapp active_iq_unified_manager: no versions given
- netapp clustered_data_ontap: no versions given
- netapp clustered_data_ontap_antivirus_connector: no versions given
- netapp manageability_software_development_kit: no versions given
- netapp ontap_select_deploy_administration_utility: no versions given
- netapp snapdrive: no versions given
- netapp hci_h410c_firmware: no versions given
- oracle communications_cloud_native_core_network_function_cloud_native_environment: 1.10.0
- oracle enterprise_manager_base_platform: 13.4.0.0; 13.5.0.0
- oracle enterprise_manager_ops_center: 12.4.0.0
- oracle mysql_workbench: up to 8.0.26
- oracle openjdk: 8
- oracle peoplesoft_enterprise_peopletools: 8.58
- oracle real_user_experience_insight: 13.4.1.0; 13.5.1.0

## Every score

- GitHub: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:N/A:P`

## References

- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QVM4UJ3376I6ZVOYMHBNX4GY3NIV52WV/> (vendor-advisory)
- <https://lists.debian.org/debian-lts-announce/2021/05/msg00008.html> (mailing-list, third-party-advisory, web)
- <https://bugzilla.redhat.com/show_bug.cgi?id=1956522> (issue-tracking, patch, third-party-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BZOMV5J4PMZAORVT64BKLV6YIZAFDGX6/> (vendor-advisory)
- <https://security.gentoo.org/glsa/202107-05> (third-party-advisory, vendor-advisory, web)
- <https://security.netapp.com/advisory/ntap-20210625-0002/> (third-party-advisory)
- <https://www.oracle.com/security-alerts/cpuoct2021.html> (patch, third-party-advisory, web)
- <https://www.oracle.com/security-alerts/cpuapr2022.html> (patch, third-party-advisory, web)
- <https://www.oracle.com/security-alerts/cpujul2022.html> (not-applicable, web)
- <https://cert-portal.siemens.com/productcert/html/ssa-398330.html>
- <https://nvd.nist.gov/vuln/detail/CVE-2021-3537> (advisory)
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/nokogiri/CVE-2021-3537.yml> (web)
- <https://github.com/sparklemotion/nokogiri> (package)
- <https://github.com/sparklemotion/nokogiri/blob/2edbbef95f1dc12c1ddc5ebda71b9159026245fe/CHANGELOG.md?plain=1#L722> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BZOMV5J4PMZAORVT64BKLV6YIZAFDGX6> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QVM4UJ3376I6ZVOYMHBNX4GY3NIV52WV> (web)
- <https://nokogiri.org/CHANGELOG.html#1114-2021-05-14> (web)
- <https://security.netapp.com/advisory/ntap-20210625-0002> (web)

## Sources

- CVE List: [CVE-2021-3537](https://www.cve.org/CVERecord?id=CVE-2021-3537), CVE Terms of Use, modified 2026-10-14
- GitHub Advisory Database: [GHSA-286v-pcf5-25rc](https://github.com/advisories/GHSA-286v-pcf5-25rc), CC-BY-4.0, modified 2024-02-20
- NVD: [CVE-2021-3537](https://nvd.nist.gov/vuln/detail/CVE-2021-3537), Public domain, modified 2026-10-14

---

Page: https://cve.day/CVE-2021-3537 · Whole record: https://cve.day/CVE-2021-3537.json · Rebuilt by cve.day 2026-11-25T22:58:01.430Z
