<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-09-03T19:55:19</oval:timestamp>
</generator>
<definitions>
<definition id="oval:com.oracle.elsa:def:2026615860" version="501" class="patch">
<metadata>
<title>
ELSA-2026-61586-0:  tar security, bug fix, and enhancement update (MODERATE)
</title>
<affected family="unix">
<platform>Oracle Linux 10</platform>

</affected>
<reference source="elsa" ref_id="ELSA-2026-61586-0" ref_url="https://linux.oracle.com/errata/ELSA-2026-61586-0.html"/>
<reference source="CVE" ref_id="CVE-2026-18477" ref_url="https://linux.oracle.com/cve/CVE-2026-18477.html"/>
<reference source="CVE" ref_id="CVE-2026-18508" ref_url="https://linux.oracle.com/cve/CVE-2026-18508.html"/>
<reference source="CVE" ref_id="CVE-2026-5704" ref_url="https://linux.oracle.com/cve/CVE-2026-5704.html"/>

<description>
[2:1.35-13]
- Backport upstream patches for CVE-2026-18477, fixes a bug
  where incremental restore with cyclic renames between backups
  may create a temporary directory at an archive-controlled path
  outside the extraction tree.
  The fix for CVE-2025-45582 already prevents exploiting
  this problem, so it is more a correctness and hardening change.

[2:1.35-12]
- Backport upstream fix for CVE-2026-5704 (file injection hidden from -t)
- Fix --one-top-level with absolute path (broken by the CVE-2025-45582 fix)
  Also fixes CVE-2026-18508 (escape from --one-top-level via hardlinks).
- Upstream fix for build with libacl 2.4.0
</description>
<!--
 ~~~~~~~~~~~~~~~~~~~~   advisory details   ~~~~~~~~~~~~~~~~~~~ 
-->
<advisory>
<severity>MODERATE</severity>
<rights>Copyright 2026 Oracle, Inc.</rights>
<issued date="2026-09-01"/>
<cve cvss3="4.4/CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N" href="https://linux.oracle.com/cve/CVE-2026-18477.html" public="20260803">CVE-2026-18477</cve>
<cve cvss3="4.4/CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N" href="https://linux.oracle.com/cve/CVE-2026-18508.html" public="20260803">CVE-2026-18508</cve>
<cve cvss3="5.0/CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N" href="https://linux.oracle.com/cve/CVE-2026-5704.html" public="20260406">CVE-2026-5704</cve>

<affected_cpe_list>
<cpe>cpe:/o:oracle:linux:10:2:baseos_patch</cpe>
<cpe>cpe:/o:oracle:linux:10::baseos_latest</cpe>
</affected_cpe_list>
</advisory>
</metadata>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:2026615860001" comment="Oracle Linux 10 is installed"/>
<criteria operator="OR">
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:2026615860002" comment="Oracle Linux arch is aarch64"/>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:2026615860003" comment="tar is earlier than 2:1.35-13.el10_2"/>
<criterion test_ref="oval:com.oracle.elsa:tst:2026615860004" comment="tar is signed with the Oracle Linux 10 key"/>
</criteria>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:2026615860005" comment="Oracle Linux arch is x86_64"/>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:2026615860003" comment="tar is earlier than 2:1.35-13.el10_2"/>
<criterion test_ref="oval:com.oracle.elsa:tst:2026615860004" comment="tar is signed with the Oracle Linux 10 key"/>
</criteria>
</criteria>
</criteria>
</criteria>

</definition>
</definitions>
<!--
 ~~~~~~~~~~~~~~~~~~~~~   rpminfo tests   ~~~~~~~~~~~~~~~~~~~~~ 
-->
<tests>
<rpminfo_test id="oval:com.oracle.elsa:tst:2026615860001"  version="501" comment="Oracle Linux 10 is installed" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:2026615860001" />
<state state_ref="oval:com.oracle.elsa:ste:2026615860002" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:2026615860002"  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:2026615860001" />
<state state_ref="oval:com.oracle.elsa:ste:2026615860003" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:2026615860003"  version="501" comment="tar is earlier than 2:1.35-13.el10_2" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:2026615860002" />
<state state_ref="oval:com.oracle.elsa:ste:2026615860004" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:2026615860004"  version="501" comment="tar is signed with the Oracle Linux 10 key" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:2026615860002" />
<state state_ref="oval:com.oracle.elsa:ste:2026615860001" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:2026615860005"  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:2026615860001" />
<state state_ref="oval:com.oracle.elsa:ste:2026615860005" />
</rpminfo_test>

</tests>
<!--
 ~~~~~~~~~~~~~~~~~~~~   rpminfo objects   ~~~~~~~~~~~~~~~~~~~~ 
-->
<objects>
<rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:obj:2026615860002" version="501">
<name>tar</name>
</rpminfo_object>
<rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:obj:2026615860001" version="501">
<name>oraclelinux-release</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:2026615860001" 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:2026615860002" version="501">
<version operation="pattern match">^10</version>
</rpminfo_state>
<rpminfo_state xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:ste:2026615860003" 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:2026615860004" version="501">
<evr datatype="evr_string" operation="less than">2:1.35-13.el10_2</evr>
</rpminfo_state>
<rpminfo_state xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:ste:2026615860005" version="501">
<arch operation="pattern match">x86_64</arch>
</rpminfo_state>

</states>
</oval_definitions>
