OESA-2025-2288

Source
https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2025-2288
Import Source
https://repo.openeuler.org/security/data/osv/OESA-2025-2288.json
JSON Data
https://api.test.osv.dev/v1/vulns/OESA-2025-2288
Upstream
Published
2025-09-12T14:26:19Z
Modified
2025-09-12T20:34:04.850199Z
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.

Security Fix(es):

There is an issue in CPython when using bytes.decode("unicode_escape", error="ignore|replace"). If you are not using the "unicode_escape" encoding or an error handler your usage is not affected. To work-around this issue you may stop using the error= handler and instead wrap the bytes.decode() call in a try-except catching the DecodeError.(CVE-2025-4516)

Database specific
{
    "severity": "Medium"
}
References

Affected packages

openEuler:22.03-LTS-SP3 / python3

Package

Name
python3
Purl
pkg:rpm/openEuler/python3&distro=openEuler-22.03-LTS-SP3

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.9.9-40.oe2203sp3

Ecosystem specific

{
    "aarch64": [
        "python3-3.9.9-40.oe2203sp3.aarch64.rpm",
        "python3-debug-3.9.9-40.oe2203sp3.aarch64.rpm",
        "python3-debuginfo-3.9.9-40.oe2203sp3.aarch64.rpm",
        "python3-debugsource-3.9.9-40.oe2203sp3.aarch64.rpm",
        "python3-devel-3.9.9-40.oe2203sp3.aarch64.rpm",
        "python3-unversioned-command-3.9.9-40.oe2203sp3.aarch64.rpm"
    ],
    "x86_64": [
        "python3-3.9.9-40.oe2203sp3.x86_64.rpm",
        "python3-debug-3.9.9-40.oe2203sp3.x86_64.rpm",
        "python3-debuginfo-3.9.9-40.oe2203sp3.x86_64.rpm",
        "python3-debugsource-3.9.9-40.oe2203sp3.x86_64.rpm",
        "python3-devel-3.9.9-40.oe2203sp3.x86_64.rpm",
        "python3-unversioned-command-3.9.9-40.oe2203sp3.x86_64.rpm"
    ],
    "noarch": [
        "python3-help-3.9.9-40.oe2203sp3.noarch.rpm"
    ],
    "src": [
        "python3-3.9.9-40.oe2203sp3.src.rpm"
    ]
}