SB2026090544 - openEuler 20.03 LTS SP4 update for python-ujson



SB2026090544 - openEuler 20.03 LTS SP4 update for python-ujson

Published: September 5, 2026

Security Bulletin ID SB2026090544
CSH Severity
High
Patch available
YES
Number of vulnerabilities 5
Exploitation vector Remote access
Highest impact Code execution

Breakdown by Severity

High 20% Medium 80%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 5 vulnerabilities.


1) Stack-based buffer overflow (CVE-ID: CVE-2021-45958)

CWE-ID: CWE-121 - Stack-based buffer overflow

CVSSv4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]


The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to a boundary error in Buffer_AppendIndentUnchecked. A remote unauthenticated attacker can trigger stack-based buffer overflow and cause a denial of service condition on the target system.


2) Input validation error (CVE-ID: CVE-2022-31116)

CWE-ID: CWE-20 - Improper input validation

CVSSv4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N]


The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to an error when decoding untrusted input. A remote attacker can pass specially crafted input to the application and perform a denial of service (DoS) attack.


3) Double Free (CVE-ID: CVE-2022-31117)

CWE-ID: CWE-415 - Double Free

CVSSv4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]


The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error when decoding untrusted input. A remote attacker can pass specially crafted data to the application, trigger double free error and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


4) Memory leak (CVE-ID: CVE-2026-44660)

CWE-ID: CWE-401 - Missing release of memory after effective lifetime

CVSSv4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]


The vulnerability allows a remote attacker to cause a denial of service.

The vulnerability exists due to missing release of memory after effective lifetime in the objToJSONFile() function when handling write failures in ujson.dump() to a file-like object. A remote attacker can trigger repeated failed write operations to cause a denial of service.

Each failed write leaks the full size of the serialized JSON payload.


5) Input validation error (CVE-ID: CVE-2026-54911)

CWE-ID: CWE-20 - Improper input validation

CVSSv4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N]


The vulnerability allows a remote attacker to bypass input validation and alter serialized data integrity.

The vulnerability exists due to improper input validation in ujson.dumps(), ujson.dump(), and ujson.encode() when processing malformed or truncated UTF-8 byte sequences with reject_bytes=False. A remote attacker can supply crafted byte sequences to bypass input validation and alter serialized data integrity.

The issue occurs only when the reject_bytes=False option is used.


Remediation

Install update from vendor's website.