<oval_definitions xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5" xmlns:oval="http://oval.mitre.org/XMLSchema/oval-common-5" xmlns:oval-def="http://oval.mitre.org/XMLSchema/oval-definitions-5" xmlns:unix-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix" xmlns:red-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" xmlns:ind-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://oval.mitre.org/XMLSchema/oval-common-5 oval-common-schema.xsd http://oval.mitre.org/XMLSchema/oval-definitions-5 oval-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-definitions-5#unix unix-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-definitions-5#linux linux-definitions-schema.xsd">
<generator>
<oval:product_name>Oracle Errata System</oval:product_name>
<oval:product_version>Oracle Linux</oval:product_version>
<oval:schema_version>5.11</oval:schema_version>
<oval:timestamp>2026-06-23T10:14:00</oval:timestamp>
</generator>
<definitions>
<definition id="oval:com.oracle.elsa:def:202619224" version="501" class="patch">
<metadata>
<title>
ELSA-2026-19224:  vim security update (IMPORTANT)
</title>
<affected family="unix">
<platform>Oracle Linux 9</platform>

</affected>
<reference source="elsa" ref_id="ELSA-2026-19224" ref_url="https://linux.oracle.com/errata/ELSA-2026-19224.html"/>
<reference source="CVE" ref_id="CVE-2026-34982" ref_url="https://linux.oracle.com/cve/CVE-2026-34982.html"/>

<description>
[2:8.2.2637-26.0.1.el9_8.4]
- Remove upstream references [Orabug: 31197557]

[2:8.2.2637-26.4]
- Resolves: RHEL-164966 vim: arbitrary command execution via modeline sandbox bypass

[2:8.2.2637-26.3]
- Related: RHEL-159630 rebuild to build with exception target

[2:8.2.2637-26.2]
- remove -O0 from flags

[2:8.2.2637-26.1]
- RHEL-159630 CVE-2026-33412 vim: Vim: Arbitrary code execution via command injection in glob() function

[2:8.2.2637-26]
- RHEL-155438 CVE-2026-28417 vim: Vim: Arbitrary code execution via OS command injection in the netrw plugin
- RHEL-155423 CVE-2026-28421 vim: Vim: Denial of service and information disclosure via crafted swap file

[2:8.2.2637-25]
- RHEL-147941 CVE-2026-25749 vim: Heap Overflow in Vim

[2:8.2.2637-24]
- RHEL-143726 sudo not able to spawn 'vi' command when NOEXEC is used to prevent escaping to shell
</description>
<!--
 ~~~~~~~~~~~~~~~~~~~~   advisory details   ~~~~~~~~~~~~~~~~~~~ 
-->
<advisory>
<severity>IMPORTANT</severity>
<rights>Copyright 2026 Oracle, Inc.</rights>
<issued date="2026-06-12"/>
<cve cvss3="8.2/CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N" href="https://linux.oracle.com/cve/CVE-2026-34982.html" public="20260406">CVE-2026-34982</cve>

<affected_cpe_list>
<cpe>cpe:/a:oracle:linux:9::appstream</cpe>
<cpe>cpe:/o:oracle:linux:9:8:baseos_base</cpe>
<cpe>cpe:/o:oracle:linux:9::baseos_latest</cpe>
</affected_cpe_list>
</advisory>
</metadata>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202619224001" comment="Oracle Linux 9 is installed"/>
<criteria operator="OR">
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202619224002" comment="Oracle Linux arch is aarch64"/>
<criteria operator="OR">
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202619224003" comment="vim-X11 is earlier than 2:8.2.2637-26.0.1.el9_8.4"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202619224004" comment="vim-X11 is signed with the Oracle Linux 9 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202619224005" comment="vim-common is earlier than 2:8.2.2637-26.0.1.el9_8.4"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202619224006" comment="vim-common is signed with the Oracle Linux 9 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202619224007" comment="vim-enhanced is earlier than 2:8.2.2637-26.0.1.el9_8.4"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202619224008" comment="vim-enhanced is signed with the Oracle Linux 9 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202619224009" comment="vim-filesystem is earlier than 2:8.2.2637-26.0.1.el9_8.4"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202619224010" comment="vim-filesystem is signed with the Oracle Linux 9 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202619224011" comment="vim-minimal is earlier than 2:8.2.2637-26.0.1.el9_8.4"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202619224012" comment="vim-minimal is signed with the Oracle Linux 9 key"/>
</criteria>
</criteria>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202619224013" comment="Oracle Linux arch is x86_64"/>
<criteria operator="OR">
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202619224003" comment="vim-X11 is earlier than 2:8.2.2637-26.0.1.el9_8.4"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202619224004" comment="vim-X11 is signed with the Oracle Linux 9 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202619224005" comment="vim-common is earlier than 2:8.2.2637-26.0.1.el9_8.4"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202619224006" comment="vim-common is signed with the Oracle Linux 9 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202619224007" comment="vim-enhanced is earlier than 2:8.2.2637-26.0.1.el9_8.4"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202619224008" comment="vim-enhanced is signed with the Oracle Linux 9 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202619224009" comment="vim-filesystem is earlier than 2:8.2.2637-26.0.1.el9_8.4"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202619224010" comment="vim-filesystem is signed with the Oracle Linux 9 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202619224011" comment="vim-minimal is earlier than 2:8.2.2637-26.0.1.el9_8.4"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202619224012" comment="vim-minimal is signed with the Oracle Linux 9 key"/>
</criteria>
</criteria>
</criteria>
</criteria>
</criteria>

</definition>
</definitions>
<!--
 ~~~~~~~~~~~~~~~~~~~~~   rpminfo tests   ~~~~~~~~~~~~~~~~~~~~~ 
-->
<tests>
<rpminfo_test id="oval:com.oracle.elsa:tst:202619224001"  version="501" comment="Oracle Linux 9 is installed" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202619224001" />
<state state_ref="oval:com.oracle.elsa:ste:202619224002" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202619224002"  version="501" comment="Oracle Linux arch is aarch64" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202619224001" />
<state state_ref="oval:com.oracle.elsa:ste:202619224003" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202619224003"  version="501" comment="vim-X11 is earlier than 2:8.2.2637-26.0.1.el9_8.4" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202619224002" />
<state state_ref="oval:com.oracle.elsa:ste:202619224004" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202619224004"  version="501" comment="vim-X11 is signed with the Oracle Linux 9 key" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202619224002" />
<state state_ref="oval:com.oracle.elsa:ste:202619224001" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202619224005"  version="501" comment="vim-common is earlier than 2:8.2.2637-26.0.1.el9_8.4" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202619224003" />
<state state_ref="oval:com.oracle.elsa:ste:202619224004" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202619224006"  version="501" comment="vim-common is signed with the Oracle Linux 9 key" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202619224003" />
<state state_ref="oval:com.oracle.elsa:ste:202619224001" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202619224007"  version="501" comment="vim-enhanced is earlier than 2:8.2.2637-26.0.1.el9_8.4" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202619224004" />
<state state_ref="oval:com.oracle.elsa:ste:202619224004" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202619224008"  version="501" comment="vim-enhanced is signed with the Oracle Linux 9 key" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202619224004" />
<state state_ref="oval:com.oracle.elsa:ste:202619224001" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202619224009"  version="501" comment="vim-filesystem is earlier than 2:8.2.2637-26.0.1.el9_8.4" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202619224005" />
<state state_ref="oval:com.oracle.elsa:ste:202619224004" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202619224010"  version="501" comment="vim-filesystem is signed with the Oracle Linux 9 key" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202619224005" />
<state state_ref="oval:com.oracle.elsa:ste:202619224001" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202619224011"  version="501" comment="vim-minimal is earlier than 2:8.2.2637-26.0.1.el9_8.4" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202619224006" />
<state state_ref="oval:com.oracle.elsa:ste:202619224004" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202619224012"  version="501" comment="vim-minimal is signed with the Oracle Linux 9 key" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202619224006" />
<state state_ref="oval:com.oracle.elsa:ste:202619224001" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202619224013"  version="501" comment="Oracle Linux arch is x86_64" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202619224001" />
<state state_ref="oval:com.oracle.elsa:ste:202619224005" />
</rpminfo_test>

</tests>
<!--
 ~~~~~~~~~~~~~~~~~~~~   rpminfo objects   ~~~~~~~~~~~~~~~~~~~~ 
-->
<objects>
<rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:obj:202619224006" version="501">
<name>vim-minimal</name>
</rpminfo_object>
<rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:obj:202619224003" version="501">
<name>vim-common</name>
</rpminfo_object>
<rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:obj:202619224001" version="501">
<name>oraclelinux-release</name>
</rpminfo_object>
<rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:obj:202619224005" version="501">
<name>vim-filesystem</name>
</rpminfo_object>
<rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:obj:202619224002" version="501">
<name>vim-X11</name>
</rpminfo_object>
<rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:obj:202619224004" version="501">
<name>vim-enhanced</name>
</rpminfo_object>
</objects>
<states>
<!--
 ~~~~~~~~~~~~~~~~~~~~   rpminfo states   ~~~~~~~~~~~~~~~~~~~~~ 
-->
<rpminfo_state xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:ste:202619224001" version="501">
<signature_keyid operation="equals">bc4d06a08d8b756f</signature_keyid>
</rpminfo_state>
<rpminfo_state xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:ste:202619224002" version="501">
<version operation="pattern match">^9</version>
</rpminfo_state>
<rpminfo_state xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:ste:202619224003" version="501">
<arch operation="pattern match">aarch64</arch>
</rpminfo_state>
<rpminfo_state xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:ste:202619224004" version="501">
<evr datatype="evr_string" operation="less than">2:8.2.2637-26.0.1.el9_8.4</evr>
</rpminfo_state>
<rpminfo_state xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:ste:202619224005" version="501">
<arch operation="pattern match">x86_64</arch>
</rpminfo_state>

</states>
</oval_definitions>
