<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-07-01T10:35:17</oval:timestamp>
</generator>
<definitions>
<definition id="oval:com.oracle.elsa:def:202618958" version="501" class="patch">
<metadata>
<title>
ELSA-2026-18958:  python3.12 security update (MODERATE)
</title>
<affected family="unix">
<platform>Oracle Linux 9</platform>

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

<description>
[3.12.13-3.0.1]
- Remove upstream URL reference

[3.12.13-3]
- Depend on sqlite-libs with (de)serialize API
Resolves: RHEL-180474
</description>
<!--
 ~~~~~~~~~~~~~~~~~~~~   advisory details   ~~~~~~~~~~~~~~~~~~~ 
-->
<advisory>
<severity>MODERATE</severity>
<rights>Copyright 2026 Oracle, Inc.</rights>
<issued date="2026-06-29"/>
<cve cvss3="4.5/CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:N/I:H/A:N" href="https://linux.oracle.com/cve/CVE-2026-0865.html" public="20260120">CVE-2026-0865</cve>

<affected_cpe_list>
<cpe>cpe:/a:oracle:linux:9::appstream</cpe>
<cpe>cpe:/a:oracle:linux:9::codeready_builder</cpe>
</affected_cpe_list>
</advisory>
</metadata>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202618958001" comment="Oracle Linux 9 is installed"/>
<criteria operator="OR">
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202618958002" comment="Oracle Linux arch is aarch64"/>
<criteria operator="OR">
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202618958003" comment="python3.12 is earlier than 0:3.12.13-3.0.1.el9_8"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202618958004" comment="python3.12 is signed with the Oracle Linux 9 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202618958005" comment="python3.12-debug is earlier than 0:3.12.13-3.0.1.el9_8"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202618958006" comment="python3.12-debug is signed with the Oracle Linux 9 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202618958007" comment="python3.12-devel is earlier than 0:3.12.13-3.0.1.el9_8"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202618958008" comment="python3.12-devel is signed with the Oracle Linux 9 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202618958009" comment="python3.12-idle is earlier than 0:3.12.13-3.0.1.el9_8"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202618958010" comment="python3.12-idle is signed with the Oracle Linux 9 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202618958011" comment="python3.12-libs is earlier than 0:3.12.13-3.0.1.el9_8"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202618958012" comment="python3.12-libs is signed with the Oracle Linux 9 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202618958013" comment="python3.12-test is earlier than 0:3.12.13-3.0.1.el9_8"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202618958014" comment="python3.12-test is signed with the Oracle Linux 9 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202618958015" comment="python3.12-tkinter is earlier than 0:3.12.13-3.0.1.el9_8"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202618958016" comment="python3.12-tkinter is signed with the Oracle Linux 9 key"/>
</criteria>
</criteria>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202618958017" comment="Oracle Linux arch is x86_64"/>
<criteria operator="OR">
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202618958003" comment="python3.12 is earlier than 0:3.12.13-3.0.1.el9_8"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202618958004" comment="python3.12 is signed with the Oracle Linux 9 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202618958005" comment="python3.12-debug is earlier than 0:3.12.13-3.0.1.el9_8"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202618958006" comment="python3.12-debug is signed with the Oracle Linux 9 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202618958007" comment="python3.12-devel is earlier than 0:3.12.13-3.0.1.el9_8"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202618958008" comment="python3.12-devel is signed with the Oracle Linux 9 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202618958009" comment="python3.12-idle is earlier than 0:3.12.13-3.0.1.el9_8"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202618958010" comment="python3.12-idle is signed with the Oracle Linux 9 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202618958011" comment="python3.12-libs is earlier than 0:3.12.13-3.0.1.el9_8"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202618958012" comment="python3.12-libs is signed with the Oracle Linux 9 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202618958013" comment="python3.12-test is earlier than 0:3.12.13-3.0.1.el9_8"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202618958014" comment="python3.12-test is signed with the Oracle Linux 9 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202618958015" comment="python3.12-tkinter is earlier than 0:3.12.13-3.0.1.el9_8"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202618958016" comment="python3.12-tkinter 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:202618958001"  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:202618958001" />
<state state_ref="oval:com.oracle.elsa:ste:202618958002" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202618958002"  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:202618958001" />
<state state_ref="oval:com.oracle.elsa:ste:202618958003" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202618958003"  version="501" comment="python3.12 is earlier than 0:3.12.13-3.0.1.el9_8" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202618958002" />
<state state_ref="oval:com.oracle.elsa:ste:202618958004" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202618958004"  version="501" comment="python3.12 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:202618958002" />
<state state_ref="oval:com.oracle.elsa:ste:202618958001" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202618958005"  version="501" comment="python3.12-debug is earlier than 0:3.12.13-3.0.1.el9_8" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202618958003" />
<state state_ref="oval:com.oracle.elsa:ste:202618958004" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202618958006"  version="501" comment="python3.12-debug 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:202618958003" />
<state state_ref="oval:com.oracle.elsa:ste:202618958001" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202618958007"  version="501" comment="python3.12-devel is earlier than 0:3.12.13-3.0.1.el9_8" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202618958004" />
<state state_ref="oval:com.oracle.elsa:ste:202618958004" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202618958008"  version="501" comment="python3.12-devel 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:202618958004" />
<state state_ref="oval:com.oracle.elsa:ste:202618958001" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202618958009"  version="501" comment="python3.12-idle is earlier than 0:3.12.13-3.0.1.el9_8" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202618958005" />
<state state_ref="oval:com.oracle.elsa:ste:202618958004" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202618958010"  version="501" comment="python3.12-idle 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:202618958005" />
<state state_ref="oval:com.oracle.elsa:ste:202618958001" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202618958011"  version="501" comment="python3.12-libs is earlier than 0:3.12.13-3.0.1.el9_8" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202618958006" />
<state state_ref="oval:com.oracle.elsa:ste:202618958004" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202618958012"  version="501" comment="python3.12-libs 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:202618958006" />
<state state_ref="oval:com.oracle.elsa:ste:202618958001" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202618958013"  version="501" comment="python3.12-test is earlier than 0:3.12.13-3.0.1.el9_8" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202618958007" />
<state state_ref="oval:com.oracle.elsa:ste:202618958004" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202618958014"  version="501" comment="python3.12-test 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:202618958007" />
<state state_ref="oval:com.oracle.elsa:ste:202618958001" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202618958015"  version="501" comment="python3.12-tkinter is earlier than 0:3.12.13-3.0.1.el9_8" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202618958008" />
<state state_ref="oval:com.oracle.elsa:ste:202618958004" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202618958016"  version="501" comment="python3.12-tkinter 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:202618958008" />
<state state_ref="oval:com.oracle.elsa:ste:202618958001" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202618958017"  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:202618958001" />
<state state_ref="oval:com.oracle.elsa:ste:202618958005" />
</rpminfo_test>

</tests>
<!--
 ~~~~~~~~~~~~~~~~~~~~   rpminfo objects   ~~~~~~~~~~~~~~~~~~~~ 
-->
<objects>
<rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:obj:202618958002" version="501">
<name>python3.12</name>
</rpminfo_object>
<rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:obj:202618958007" version="501">
<name>python3.12-test</name>
</rpminfo_object>
<rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:obj:202618958001" 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:202618958006" version="501">
<name>python3.12-libs</name>
</rpminfo_object>
<rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:obj:202618958004" version="501">
<name>python3.12-devel</name>
</rpminfo_object>
<rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:obj:202618958008" version="501">
<name>python3.12-tkinter</name>
</rpminfo_object>
<rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:obj:202618958005" version="501">
<name>python3.12-idle</name>
</rpminfo_object>
<rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:obj:202618958003" version="501">
<name>python3.12-debug</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:202618958001" 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:202618958002" 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:202618958003" 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:202618958004" version="501">
<evr datatype="evr_string" operation="less than">0:3.12.13-3.0.1.el9_8</evr>
</rpminfo_state>
<rpminfo_state xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:ste:202618958005" version="501">
<arch operation="pattern match">x86_64</arch>
</rpminfo_state>

</states>
</oval_definitions>
