CVE catalog

CVE-2021-34141

numpy: CVE-2021-34141

[CVE catalog]

Severity
Medium · CVSS 5.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Published
Source
[NVD] · [CVE record]
EPSS
1.68% · Oct 25, 2026

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."

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiannumpysid1:2.4.6+ds-5vulnerable
Debiannumpyforky1:2.4.6+ds-5vulnerable
Debiannumpytrixie1:2.2.4+ds-1vulnerable
Debiannumpybookworm1:1.24.2-1+deb12u1vulnerable
CpenumpyNot reported1.22.0fixed
Cpecommunications_cloud_native_core_policyNot reportedNot reportedunknown
Ubuntunumpy20.041:1.17.3-0ubuntu2vulnerable
Ubuntunumpy20.041:1.17.4-3ubuntu1vulnerable
Ubuntunumpy20.041:1.17.4-3ubuntu2vulnerable
Ubuntunumpy20.041:1.17.4-5ubuntu2vulnerable
Ubuntunumpy20.041:1.17.4-5ubuntu3vulnerable
Ubuntunumpy20.041:1.17.4-5ubuntu3.1fixed
Ubuntunumpy22.041:1.19.5-1ubuntu2vulnerable
Ubuntunumpy22.041:1.19.5-1ubuntu3vulnerable
Ubuntunumpy22.041:1.20.2-1ubuntu1vulnerable
Ubuntunumpy22.041:1.21.4-2vulnerable
Ubuntunumpy22.041:1.21.5-1vulnerable
Ubuntunumpy22.041:1.21.5-1build2vulnerable
Ubuntunumpy22.041:1.21.5-1ubuntu22.04.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiannumpysourcesid(unfixed)unimportantNot reportedNot reported
Debiannumpysourceforky(unfixed)unimportantNot reportedNot reported
Debiannumpysourcetrixie(unfixed)unimportantNot reportedNot reported
Debiannumpysourcebookworm(unfixed)unimportantNot reportedNot reported
CpenumpycpeNot reported1.22.0Not reportedNVD-CVE-2021-34141Not reported
Ubuntunumpydeb20.041:1.17.4-5ubuntu3.1Not reportedUBUNTU-CVE-2021-34141Not reported
Ubuntunumpydeb22.041:1.21.5-1ubuntu22.04.1Not reportedUBUNTU-CVE-2021-34141Not reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [python3-numpy]Affected

    Source package: [numpy]

    Details (2)
    • 1:1.24.2-1+deb12u1 · amd64 · bookworm

      Affected

      dsa · numpy · debian · bookworm; dsa · numpy · debian · 12

    • 1:1.24.2-1+deb12u1 · arm64 · bookworm

      Affected

      dsa · numpy · debian · bookworm; dsa · numpy · debian · 12

[Debian 13 (Trixie)]

  • [python3-numpy]Affected

    Source package: [numpy]

    Details (2)
    • 1:2.2.4+ds-1 · amd64 · trixie

      Affected

      dsa · numpy · debian · 13

    • 1:2.2.4+ds-1 · arm64 · trixie

      Affected

      dsa · numpy · debian · 13

  • Source package: [numpy]

    Details (2)
    • 1:2.2.4+ds-1 · amd64 · trixie

      Affected

      dsa · numpy · debian · 13

    • 1:2.2.4+ds-1 · arm64 · trixie

      Affected

      dsa · numpy · debian · 13

  • Source package: [numpy]

    Details (2)
    • 1:2.2.4+ds-1 · all · trixie

      Affected

      dsa · numpy · debian · 13

    • 1:2.2.4+ds-1 · all · trixie

      Affected

      dsa · numpy · debian · 13

Observed:

References