# CVE-2021-34141: python3-numpy: An incomplete string comparison in the numpy.core component in NumPy before 1.22.0 allows attackers to trigger slight...

CVE-2021-34141 is fixed in python3-numpy on 1 platform, first by python3-numpy 1:1.17.4-5ubuntu3.1, released December 17, 2021. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2021-34141
- Priority: Routine
- CVSS: n/a (Medium)
- EPSS: 0.0168
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Dec 17, 2021

## Description

An incomplete string comparison in the numpy.core component in NumPy before 1.22.0 allows attackers to trigger slightly incorrect copying by constructing specific string objects. NOTE: the vendor states that this reported code behavior is "completely harmless."

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | python3-numpy Ubuntu 20.04 LTS (focal) | 1:1.17.4-5ubuntu3.1 | [python3-numpy 1:1.17.4-5ubuntu3.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-python3-numpy-1-1.17.4-5ubuntu3.1.md) | Dec 17, 2021 |
| Linux | python3-numpy Ubuntu 22.04.1 LTS (jammy) | 1:1.21.5-1ubuntu22.04.1 | [python3-numpy 1:1.21.5-1ubuntu22.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-python3-numpy-1-1.21.5-1ubuntu22.04.1.md) | Dec 17, 2021 |

---

Data as of 2026-11-08T19:12:23Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
