CVE
CVE-2021-45958
publishedPackage status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Alpine Linux | edge | py3-ujson | Fixed | 5.2.0-r0 | Package fix record |
| Debian | stretch | ujson | Advisory build | 1.35-1+deb9u1 | DLA-2929-1 |
| SUSE / openSUSE | SLE-15-SP3 | python3-ujsonx86_64 | Advisory build | 1.35-150100.3.8.1 | SUSE-SU-2023:2134-1 |
| Ubuntu | bionic | python-ujson | Advisory build | 1.35-2ubuntu0.1~esm1 | USN-6629-1 |
| Alpine Linux | v3.16 | py3-ujson | Fixed | 5.2.0-r0 | Package fix record |
| Alpine Linux | v3.17 | py3-ujson | Fixed | 5.2.0-r0 | Package fix record |
| Alpine Linux | v3.18 | py3-ujson | Fixed | 5.2.0-r0 | Package fix record |
Show 51 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.19 | py3-ujson | Fixed | 5.2.0-r0 | Package fix record |
| Alpine Linux | v3.20 | py3-ujson | Fixed | 5.2.0-r0 | Package fix record |
| Alpine Linux | v3.21 | py3-ujson | Fixed | 5.2.0-r0 | Package fix record |
| Alpine Linux | v3.22 | py3-ujson | Fixed | 5.2.0-r0 | Package fix record |
| Alpine Linux | v3.23 | py3-ujson | Fixed | 5.2.0-r0 | Package fix record |
| Alpine Linux | v3.24 | py3-ujson | Fixed | 5.2.0-r0 | Package fix record |
| SUSE / openSUSE | SLE-15-SP4 | python2-ujsonaarch64 | Advisory build | 1.35-150100.3.8.1 | SUSE-SU-2023:2134-1 |
| SUSE / openSUSE | SLE-15-SP4 | python2-ujsonppc64le | Advisory build | 1.35-150100.3.8.1 | SUSE-SU-2023:2134-1 |
| SUSE / openSUSE | SLE-15-SP4 | python2-ujsons390x | Advisory build | 1.35-150100.3.8.1 | SUSE-SU-2023:2134-1 |
| SUSE / openSUSE | SLE-15-SP4 | python2-ujsonx86_64 | Advisory build | 1.35-150100.3.8.1 | SUSE-SU-2023:2134-1 |
| SUSE / openSUSE | SLE-15-SP4 | python3-ujsonaarch64 | Advisory build | 1.35-150100.3.8.1 | SUSE-SU-2023:2134-1 |
| SUSE / openSUSE | SLE-15-SP4 | python3-ujsonppc64le | Advisory build | 1.35-150100.3.8.1 | SUSE-SU-2023:2134-1 |
| SUSE / openSUSE | SLE-15-SP4 | python3-ujsons390x | Advisory build | 1.35-150100.3.8.1 | SUSE-SU-2023:2134-1 |
| SUSE / openSUSE | SLE-15-SP4 | python3-ujsonx86_64 | Advisory build | 1.35-150100.3.8.1 | SUSE-SU-2023:2134-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | python3-ujsonaarch64 | Advisory build | 1.35-150100.3.8.1 | SUSE-SU-2023:2134-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | python3-ujsonppc64le | Advisory build | 1.35-150100.3.8.1 | SUSE-SU-2023:2134-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | python3-ujsons390x | Advisory build | 1.35-150100.3.8.1 | SUSE-SU-2023:2134-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | python3-ujsonx86_64 | Advisory build | 1.35-150100.3.8.1 | SUSE-SU-2023:2134-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-ujsonaarch64 | Advisory build | 5.3.0-1.1 | OPENSUSE-SU-2024:12106-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-ujsonppc64le | Advisory build | 5.3.0-1.1 | OPENSUSE-SU-2024:12106-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-ujsons390x | Advisory build | 5.3.0-1.1 | OPENSUSE-SU-2024:12106-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-ujsonx86_64 | Advisory build | 5.3.0-1.1 | OPENSUSE-SU-2024:12106-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-ujsonaarch64 | Advisory build | 5.10.0-1.5 | OPENSUSE-SU-2025:15107-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-ujsonppc64le | Advisory build | 5.10.0-1.5 | OPENSUSE-SU-2025:15107-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-ujsons390x | Advisory build | 5.10.0-1.5 | OPENSUSE-SU-2025:15107-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-ujsonx86_64 | Advisory build | 5.10.0-1.5 | OPENSUSE-SU-2025:15107-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-ujsonaarch64 | Advisory build | 5.10.0-1.5 | OPENSUSE-SU-2025:15107-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-ujsonppc64le | Advisory build | 5.10.0-1.5 | OPENSUSE-SU-2025:15107-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-ujsons390x | Advisory build | 5.10.0-1.5 | OPENSUSE-SU-2025:15107-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-ujsonx86_64 | Advisory build | 5.10.0-1.5 | OPENSUSE-SU-2025:15107-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-ujsonaarch64 | Advisory build | 5.10.0-1.5 | OPENSUSE-SU-2025:15107-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-ujsonppc64le | Advisory build | 5.10.0-1.5 | OPENSUSE-SU-2025:15107-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-ujsons390x | Advisory build | 5.10.0-1.5 | OPENSUSE-SU-2025:15107-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-ujsonx86_64 | Advisory build | 5.10.0-1.5 | OPENSUSE-SU-2025:15107-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python38-ujsonaarch64 | Advisory build | 5.3.0-1.1 | OPENSUSE-SU-2024:12106-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python38-ujsonppc64le | Advisory build | 5.3.0-1.1 | OPENSUSE-SU-2024:12106-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python38-ujsons390x | Advisory build | 5.3.0-1.1 | OPENSUSE-SU-2024:12106-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python38-ujsonx86_64 | Advisory build | 5.3.0-1.1 | OPENSUSE-SU-2024:12106-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python39-ujsonaarch64 | Advisory build | 5.3.0-1.1 | OPENSUSE-SU-2024:12106-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python39-ujsonppc64le | Advisory build | 5.3.0-1.1 | OPENSUSE-SU-2024:12106-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python39-ujsons390x | Advisory build | 5.3.0-1.1 | OPENSUSE-SU-2024:12106-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python39-ujsonx86_64 | Advisory build | 5.3.0-1.1 | OPENSUSE-SU-2024:12106-1 |
| Ubuntu | bionic | python3-ujson | Advisory build | 1.35-2ubuntu0.1~esm1 | USN-6629-1 |
| Ubuntu | bionic | ujson | Advisory build | 1.35-2ubuntu0.1~esm1 | USN-6629-1 |
| Ubuntu | focal | python3-ujson | Advisory build | 1.35-4ubuntu0.1 | USN-6629-2 |
| Ubuntu | focal | ujson | Advisory build | 1.35-4ubuntu0.1 | USN-6629-2 |
| Ubuntu | jammy | python3-ujson | Advisory build | 5.1.0-1ubuntu0.1~esm1 | USN-6629-1 |
| Ubuntu | jammy | ujson | Advisory build | 5.1.0-1ubuntu0.1~esm1 | USN-6629-1 |
| Ubuntu | xenial | python-ujson | Advisory build | 1.33-1ubuntu0.1~esm2 | USN-6629-1 |
| Ubuntu | xenial | python3-ujson | Advisory build | 1.33-1ubuntu0.1~esm2 | USN-6629-1 |
| Ubuntu | xenial | ujson | Advisory build | 1.33-1ubuntu0.1~esm2 | USN-6629-1 |
Description
UltraJSON (aka ujson) through 5.1.0 has a stack-based buffer overflow in Buffer_AppendIndentUnchecked (called from encode). Exploitation can, for example, use a large amount of indentation.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
10- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=36009
- https://github.com/google/oss-fuzz-vulns/blob/main/vulns/ujson/OSV-2021-955.yaml
- https://github.com/ultrajson/ultrajson/issues/501
- https://github.com/ultrajson/ultrajson/issues/502#issuecomment-1031747284
- https://github.com/ultrajson/ultrajson/pull/504
- [debian-lts-announce] 20220226 [SECURITY] [DLA 2929-1] ujson security update https://lists.debian.org/debian-lts-announce/2022/02/msg00023.html
- FEDORA-2022-dbf6e00ba8 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CN7W3GOXALINKFUUE7ICQIC2EF5HNKUQ/
- FEDORA-2022-33e816bc37 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NAU5N4A7EUK2AMUCOLYDD5ARXAJYZBD2/
- FEDORA-2022-d1452fd421 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/O6JUWQTJLA2CMG4CJN7DCUVSOXLZIIXL/
- FEDORA-2022-569b6b45e2 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ULX35TSWLBBIMEH44MUORPXYYRZKEDC6/
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 3330d264a5b4ca7e5ecb0c280acaa61942aaae2f45fc44ba9ecc87a4bfd388ec
- Ingested
- 23 Sep 2026, 07:56:57 UTC
- Source record
- Official CVE record