{"id":"OESA-2026-3254","summary":"python3 security update","details":"Python combines remarkable power with very clear syntax. It has modules, classes, exceptions, very high level dynamic data types, and dynamic typing. There are interfaces to many system calls and libraries, as well as to various windowing systems. New built-in modules are easily written in C or C++ (or other languages, depending on the chosen implementation). Python is also usable as an extension language for applications written in other languages that need easy-to-use scripting or automation interfaces.\r\n\r\nSecurity Fix(es):\n\n`Element.findall()` and fully-consumed `Element.iterfind()` exhibit `O(n^2)` time complexity when using XPath index predicates (e.g. `[1]`, `[last()]`, `[last()-N]`) on XML documents with many same-tag siblings. `Element.find()` is only affected when the first match is near the end  of the sibling list, such as with `[last()]` or `[last()-N]`;  `.//item[1]` short-circuits after the first match.(CVE-2026-6879)\n\n`xml.parsers.expat` and `xml.etree.ElementTree` use insufficient entropy for Expat hash-flooding protection, which allows a crafted XML document to trigger hash flooding. Fully mitigating this vulnerability requires both updating libexpat to 2.8.0 or later and applying this patch.(CVE-2026-7210)","modified":"2026-08-07T03:00:52.840625857Z","published":"2026-08-07T02:42:13Z","upstream":["CVE-2026-6879","CVE-2026-7210"],"database_specific":{"severity":"Medium"},"references":[{"type":"ADVISORY","url":"https://www.openeuler.org/zh/security/security-bulletins/detail/?id=openEuler-SA-2026-3254"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-6879"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-7210"}],"affected":[{"package":{"name":"python3","ecosystem":"openEuler:24.03-LTS-SP3","purl":"pkg:rpm/openEuler/python3&distro=openEuler-24.03-LTS-SP3"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.11.6-40.oe2403sp3"}]}],"ecosystem_specific":{"src":["python3-3.11.6-40.oe2403sp3.src.rpm"],"x86_64":["python3-3.11.6-40.oe2403sp3.x86_64.rpm","python3-debug-3.11.6-40.oe2403sp3.x86_64.rpm","python3-debuginfo-3.11.6-40.oe2403sp3.x86_64.rpm","python3-debugsource-3.11.6-40.oe2403sp3.x86_64.rpm","python3-devel-3.11.6-40.oe2403sp3.x86_64.rpm","python3-tkinter-3.11.6-40.oe2403sp3.x86_64.rpm","python3-unversioned-command-3.11.6-40.oe2403sp3.x86_64.rpm"],"aarch64":["python3-3.11.6-40.oe2403sp3.aarch64.rpm","python3-debug-3.11.6-40.oe2403sp3.aarch64.rpm","python3-debuginfo-3.11.6-40.oe2403sp3.aarch64.rpm","python3-debugsource-3.11.6-40.oe2403sp3.aarch64.rpm","python3-devel-3.11.6-40.oe2403sp3.aarch64.rpm","python3-tkinter-3.11.6-40.oe2403sp3.aarch64.rpm","python3-unversioned-command-3.11.6-40.oe2403sp3.aarch64.rpm"],"noarch":["python3-help-3.11.6-40.oe2403sp3.noarch.rpm"]},"database_specific":{"source":"https://repo.openeuler.org/security/data/osv/OESA-2026-3254.json"}}],"schema_version":"1.8.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X"}]}