ADVISORIES

Vulnerability

CVE-2021-28965

The REXML gem before 3.2.5 in Ruby before 2.6.7, 2.7.x before 2.7.3, and 3.x before 3.0.1 does not properly address XML round-trip issues. An incorrect document can be produced after parsing and serializing.

41 advisories report this vulnerability, across 13 ecosystems.

Advisories

  • ALAS2-2024-2637

    Amazon Linux 2 2017.12 - ALAS2-2024-2637: medium priority package update for ruby

    Medium CVE-2021-28965CVE-2024-27282 Amazon Linux Updated 18 September 2024
  • ALPINE-CVE-2021-28965

    The REXML gem before 3.2.5 in Ruby before 2.6.7, 2.7.x before 2.7.3, and 3.x before 3.0.1 does not properly address XML round-trip issues. An incorrect document can be produced after parsing and serializing.

    CVE-2021-28965 Alpine Updated 17 November 2026
  • ALPINE-EDGE-CVE-2021-28965
    CVE-2021-28965 Alpine Updated 18 November 2026
  • ALSA-2021:2584

    Moderate: ruby:2.7 security, bug fix, and enhancement update

    CVE-2020-25613CVE-2021-28965 AlmaLinux Updated 2 November 2026
  • ALSA-2021:2587

    Moderate: ruby:2.5 security, bug fix, and enhancement update

    CVE-2019-15845CVE-2019-16201CVE-2019-16254CVE-2019-16255 AlmaLinux Updated 2 November 2026
  • ALSA-2021:2588

    Moderate: ruby:2.6 security, bug fix, and enhancement update

    CVE-2019-15845CVE-2019-16201CVE-2019-16254CVE-2019-16255 AlmaLinux Updated 2 November 2026
  • AZL-6860

    CVE-2021-28965 affecting package ruby for versions less than 2.7.4-1

    CVE-2021-28965 Azure Linux Updated 21 April 2026
  • DEBIAN-CVE-2021-28965

    The REXML gem before 3.2.5 in Ruby before 2.6.7, 2.7.x before 2.7.3, and 3.x before 3.0.1 does not properly address XML round-trip issues. An incorrect document can be produced after parsing and serializing.

    CVE-2021-28965 Debian Updated 24 November 2026
  • DSA-5066-1

    ruby2.5 - security update

    CVE-2021-28965CVE-2021-31799CVE-2021-31810CVE-2021-32066 Debian Updated 20 November 2026
  • ELSA-2021-2584

    ELSA-2021-2584: ruby:2.7 security, bug fix, and enhancement update (MODERATE)

    Moderate CVE-2020-25613CVE-2021-28965 Oracle Linux Updated 7 July 2021
  • ELSA-2021-2587

    ELSA-2021-2587: ruby:2.5 security, bug fix, and enhancement update (MODERATE)

    Moderate CVE-2019-15845CVE-2019-16201CVE-2019-16254CVE-2019-16255 Oracle Linux Updated 2 July 2021
  • ELSA-2021-2588

    ELSA-2021-2588: ruby:2.6 security, bug fix, and enhancement update (MODERATE)

    Moderate CVE-2019-15845CVE-2019-16201CVE-2019-16254CVE-2019-16255 Oracle Linux Updated 7 July 2021
  • GHSA-8cr8-4vfw-mr7h

    REXML round-trip instability

    High CVE-2021-28965 RubyGems Updated 27 January 2025
  • OESA-2021-1259

    ruby security update

    High CVE-2021-28965 openEuler Updated 18 August 2026
  • RHSA-2021:2104

    Red Hat Security Advisory: rh-ruby25-ruby security, bug fix, and enhancement update

    CVE-2019-15845CVE-2019-16201CVE-2019-16254CVE-2019-16255 Red Hat Updated 13 November 2026
  • RHSA-2021:2229

    Red Hat Security Advisory: rh-ruby27-ruby security, bug fix, and enhancement update

    CVE-2020-25613CVE-2021-28965 Red Hat Updated 13 November 2026
  • RHSA-2021:2230

    Red Hat Security Advisory: rh-ruby26-ruby security, bug fix, and enhancement update

    CVE-2019-15845CVE-2019-16201CVE-2019-16254CVE-2019-16255 Red Hat Updated 23 November 2026
  • RHSA-2021:2584

    Red Hat Security Advisory: ruby:2.7 security, bug fix, and enhancement update

    CVE-2020-25613CVE-2021-28965 Red Hat Updated 13 November 2026
  • RHSA-2021:2587

    Red Hat Security Advisory: ruby:2.5 security, bug fix, and enhancement update

    CVE-2019-15845CVE-2019-16201CVE-2019-16254CVE-2019-16255 Red Hat Updated 13 November 2026
  • RHSA-2021:2588

    Red Hat Security Advisory: ruby:2.6 security, bug fix, and enhancement update

    CVE-2019-15845CVE-2019-16201CVE-2019-16254CVE-2019-16255 Red Hat Updated 23 November 2026
  • RHSA-2022:0581

    Red Hat Security Advisory: ruby:2.6 security update

    CVE-2019-15845CVE-2019-16201CVE-2019-16254CVE-2019-16255 Red Hat Updated 23 November 2026
  • RHSA-2022:0582

    Red Hat Security Advisory: ruby:2.6 security update

    CVE-2019-15845CVE-2019-16201CVE-2019-16254CVE-2019-16255 Red Hat Updated 23 November 2026
  • RHSA-2026:7305

    Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update

    CVE-2008-1891CVE-2008-2662CVE-2008-2663CVE-2008-2664 Red Hat Updated 23 November 2026
  • RHSA-2026:7307

    Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update

    CVE-2008-1891CVE-2008-2662CVE-2008-2663CVE-2008-2664 Red Hat Updated 23 November 2026
  • RHSA-2026:8838

    Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update

    CVE-2008-1891CVE-2008-2662CVE-2008-2663CVE-2008-2664 Red Hat Updated 23 November 2026
  • RHVEX-CVE-2021-28965

    ruby: XML round-trip vulnerability in REXML

    Moderate CVE-2021-28965 Red Hat Updated 7 November 2026
  • RLSA-2021:2584

    Moderate: ruby:2.7 security, bug fix, and enhancement update

    CVE-2020-25613CVE-2021-28965 Rocky Linux Updated 4 February 2026
  • RLSA-2021:2587

    Moderate: ruby:2.5 security, bug fix, and enhancement update

    CVE-2019-15845CVE-2019-16201CVE-2019-16254CVE-2019-16255 Rocky Linux Updated 4 February 2026
  • RLSA-2021:2588

    Moderate: ruby:2.6 security, bug fix, and enhancement update

    CVE-2019-15845CVE-2019-16201CVE-2019-16254CVE-2019-16255 Rocky Linux Updated 5 February 2026
  • SUSE-SU-2021:1280-1

    Security update for ruby2.5

    CVE-2021-28965 SUSE Updated 4 February 2026
  • SUSEVEX-CVE-2021-28965

    The REXML gem before 3.2.5 in Ruby before 2.6.7, 2.7.x before 2.7.3, and 3.x before 3.0.1 does not properly address XML round-trip issues. An incorrect document can be produced after parsing and serializing.

    Moderate CVE-2021-28965 SUSE Updated 22 October 2026
  • UBUNTU-CVE-2021-28965

    The REXML gem before 3.2.5 in Ruby before 2.6.7, 2.7.x before 2.7.3, and 3.x before 3.0.1 does not properly address XML round-trip issues. An incorrect document can be produced after parsing and serializing.

    CVE-2021-28965 Ubuntu Updated 22 April 2026
  • USN-4922-1

    ruby2.3, ruby2.5, ruby2.7 vulnerability

    CVE-2021-28965 Ubuntu Updated 22 April 2026
  • openSUSE-SU-2021:0607-1

    Security update for ruby2.5

    CVE-2021-28965 openSUSE Updated 4 February 2026
  • openSUSE-SU-2024:11310-1

    libruby2_7-2_7-2.7.3-3.2 on GA media

    CVE-2020-10663CVE-2020-10933CVE-2020-25613CVE-2021-28965 openSUSE Updated 4 February 2026
  • openSUSE-SU-2024:11311-1

    libruby3_0-3_0-3.0.1-3.2 on GA media

    CVE-2020-10663CVE-2020-10933CVE-2021-28965 openSUSE Updated 4 February 2026
  • openSUSE-SU-2024:11786-1

    libruby3_1-3_1-3.1.0-1.1 on GA media

    CVE-2020-10663CVE-2020-10933CVE-2021-28965CVE-2021-31799 openSUSE Updated 4 February 2026
  • openSUSE-SU-2024:12712-1

    libruby3_2-3_2-3.2.1-1.1 on GA media

    CVE-2020-10663CVE-2020-10933CVE-2021-28965CVE-2021-31799 openSUSE Updated 4 February 2026
  • openSUSE-SU-2024:13623-1

    libruby3_3-3_3-3.3.0-1.2 on GA media

    CVE-2020-10663CVE-2020-10933CVE-2021-28965CVE-2021-31799 openSUSE Updated 4 February 2026
  • openSUSE-SU-2025:14621-1

    libruby3_4-3_4-3.4.1-1.1 on GA media

    CVE-2020-10663CVE-2020-10933CVE-2021-28965CVE-2021-31799 openSUSE Updated 4 February 2026
  • openSUSE-SU-2025:15819-1

    libruby4_0-4_0-4.0.0~preview2-1.1 on GA media

    CVE-2020-10663CVE-2020-10933CVE-2021-28965CVE-2021-31799 openSUSE Updated 4 February 2026

References