CVE-2021-4048 json
An out-of-bounds read flaw was found in the CLARRV, DLARRV, SLARRV, and ZLARRV functions in lapack...
published 2021-12-08 4 y ago modified 2026-09-08 2 mo ago also BIT-openblas-2021-4048 , EUVD-2021-33945 , JLSEC-2025-6
- cvss
- 9.1
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.8%
- EPSS 2.8% chance of exploitation in 30 days, percentile 86%
- public exploits
- 0
- none known
Summary
An out-of-bounds read flaw was found in the CLARRV, DLARRV, SLARRV, and ZLARRV functions in lapack through version 3.10.0, as also used in OpenBLAS before version 0.3.18. Specially crafted inputs passed to these functions could cause an application using lapack to crash or possibly disclose portions of its memory.
Patch / fix
- bitnami openblas 0.3.18
- julia LAPACK32_jll 3.10.1+0
- julia LAPACK_jll 3.10.1+0
- julia MadNLP 0.2.0
- julia MadNLPHSL 0.4.0
- julia OpenBLAS32_jll 0.3.20+0
- julia OpenBLAS_jll 0.3.20+0
- julia libjulia_jll 1.8.0+1
- openblas_project openblas 0.3.18
- lapack Debian 14, Debian 13, Debian 12 3.10.0-2
- openblas Debian 14, Debian 13, Debian 12 0.3.18+ds-1
debian advisories DEBIAN-CVE-2021-4048
- openblas RHEL 8 0.3.15-4.el8
- openblas-Rblas RHEL 8 0.3.15-4.el8
- openblas-openmp RHEL 8 0.3.15-4.el8
- openblas-threads RHEL 8 0.3.15-4.el8
- openblas-openmp64 RHEL 8 0.3.15-4.el8
- openblas-serial64 RHEL 8 0.3.15-4.el8
- openblas-openmp64_ RHEL 8 0.3.15-4.el8
- openblas-serial64_ RHEL 8 0.3.15-4.el8
red hat advisories RHSA-2022:7639
- lapack SLE Real Time 15 SP2, SLE Module for Development Tools 15 SP3, SLE Module for Basesystem 15 SP3 3.5.0-4.6.1
- lapack SLES for SAP 12 SP5, SLES 12 SP5, SLE Software Development Kit 12 SP5 3.5.0-3.9.1
suse advisories SUSE-SU-2022:0915-1SUSE-SU-2022:0913-1
- lapack openSUSE Leap 15.3 3.5.0-4.6.1
- lapack-man openSUSE Leap 15.3 3.5.0-4.6.1
opensuse advisories openSUSE-SU-2022:0915-1
- openblas AlmaLinux 8 0.3.15-4.el8
- openblas-Rblas AlmaLinux 8 0.3.15-4.el8
- openblas-openmp AlmaLinux 8 0.3.15-4.el8
- openblas-threads AlmaLinux 8 0.3.15-4.el8
- openblas-openmp64 AlmaLinux 8 0.3.15-4.el8
- openblas-serial64 AlmaLinux 8 0.3.15-4.el8
- openblas-openmp64_ AlmaLinux 8 0.3.15-4.el8
- openblas-serial64_ AlmaLinux 8 0.3.15-4.el8
almalinux advisories ALSA-2022:7639
- openblas Rocky Linux 8 0.3.15-4.el8
rocky linux advisories RLSA-2022:7639
- lapack CBL-Mariner 2.0 3.10.0-6
- openblas CBL-Mariner 2.0 0.3.21-1
azure linux advisories AZL-6609AZL-7315
Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT
- github.com/Reference-LAPACK/lapack@38f3eee commit
- github.com/xianyi/OpenBLAS@337b651 commit
- github.com/xianyi/OpenBLAS@2be5ee3 commit
- github.com/xianyi/OpenBLAS@fe497ef commit
- github.com/xianyi/OpenBLAS@ddb0ff5 commit
- github.com/Reference-LAPACK/lapack#625 pull request
- github.com/JuliaLang/julia/issues/42415 advisory
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2021-4048 updated cvss 5.9
lapack: Out-of-bounds read in *larrv
-
Red Hat Ceph Storage 2 ceph, librbd1, librgw2, ceph-mds, ceph-mon, ceph-osd, +12 more Red Hat Ceph Storage 3 ceph, librbd1, librgw2, ceph-mds, ceph-mgr, ceph-mon, +15 more Red Hat Ceph Storage 4 ceph, librbd1, librgw2, rbd-nbd, ceph-mds, ceph-mgr, +27 moreaffected: no fix planned “Will not fix”
-
Red Hat Ceph Storage 5 ceph, cephadm, librbd1, librgw2, rbd-nbd, ceph-mds, +33 more Red Hat Enterprise Linux 6 blas, lapack Red Hat Enterprise Linux 7 blas, blas64, lapack, lapack64affected: no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 8 blas, blas64, lapack, lapack64 Red Hat Enterprise Linux 9 blas, blas64, lapack, blas64_, lapack64, lapack64_affected: no fix planned “Will not fix”
-
Red Hat Openshift Container Storage 4 ocs4/cephcsi-rhel8, ocs4/rook-ceph-rhel8-operatoraffected: no fix available
-
Red Hat CodeReady Linux Builder (v. 8) openblas-Rblas 0.3.15-4.el8, openblas-openmp 0.3.15-4.el8, openblas-openmp64 0.3.15-4.el8, openblas-serial64 0.3.15-4.el8, openblas-openmp64_ 0.3.15-4.el8, openblas-serial64_ 0.3.15-4.el8, +2 more Red Hat Enterprise Linux AppStream (v. 8) openblas 0.3.15-4.el8, openblas-threads 0.3.15-4.el8fixed: vendor fix RHSA-2022:7639
-
Red Hat RHODF 4.14 for RHEL 9 odf4/cephcsi-rhel9 v4.14.0-29, odf4/rook-ceph-rhel9-operator v4.14.0-71fixed: vendor fix RHSA-2023:6832
-
Red Hat Enterprise Linux 9 openblas, openblas-openmp, openblas-serial, openblas-threads, openblas-openmp64, openblas-serial64, +4 more Red Hat RHODF 4.14 for RHEL 9 odf4/mcg-cli-rhel9 v4.14.0-44, odf4/mcg-core-rhel9 v4.14.0-63, odf4/odf-console-rhel9 v4.14.0-77, odf4/mcg-rhel9-operator v4.14.0-43, odf4/ocs-rhel9-operator v4.14.0-67, odf4/odf-rhel9-operator v4.14.0-18, +18 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.76% chance of exploitation in the next 30 days, higher than 86% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H |
| NVD | 2.0 | 6.4 | AV:N/AC:L/Au:N/C:P/I:N/A:P |
| OSV | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| bitnami | openblas | <0.3.18 |
0.3.18 |
| julia | LAPACK32_jll | <3.10.1+0 |
3.10.1+0 |
| julia | LAPACK_jll | <3.10.1+0 |
3.10.1+0 |
| julia | MadNLP | <0.2.0 |
0.2.0 |
| julia | MadNLPHSL | <0.4.0 |
0.4.0 |
| julia | MadNLPPardiso | all versions |
no fix listed |
| julia | OpenBLAS32_jll | <0.3.20+0 |
0.3.20+0 |
| julia | OpenBLASHighCoreCount_jll | all versions |
no fix listed |
| julia | OpenBLAS_jll | <0.3.20+0 |
0.3.20+0 |
| julia | libjulia_jll | <1.8.0+1 |
1.8.0+1 |
Affected products
- n/a lapack
Classification
- Weakness
-
- CWE-125 Out-of-bounds Read
References
-
github.com
/Reference-LAPACK/lapack/pull/625
issue-tracking, patch, third-party-advisory, advisory, web
-
github.com
/Reference-LAPACK/lapack/commit/38f3eeee3108b18158409ca2a100e6fe03754781
patch, third-party-advisory, advisory, web
-
github.com
/xianyi/OpenBLAS/commit/337b65133df174796794871b3988cd03426e6d41
patch, third-party-advisory, advisory, web
-
github.com
/xianyi/OpenBLAS/commit/2be5ee3cca97a597f2ee2118808a2d5eacea050c
patch, third-party-advisory, advisory, web
-
github.com
/xianyi/OpenBLAS/commit/fe497efa0510466fd93578aaf9da1ad8ed4edbe7
patch, third-party-advisory, advisory, web
-
github.com
/xianyi/OpenBLAS/commit/ddb0ff5353637bb5f5ad060c9620e334c143e3d7
patch, third-party-advisory, advisory, web
-
github.com
/JuliaLang/julia/issues/42415
issue-tracking, patch, third-party-advisory, advisory, web
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/DROZM4M2QRKSD6FBO4BHSV2QMIRJQPHT/
vendor-advisory, web
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/6QFEVOCUG2UXMVMFMTU4ONJVDEHY2LW2/
vendor-advisory, web
-
nvd.nist.gov
/vuln/detail/CVE-2021-4048
web
Sources
- CVE List CVE-2021-4048
- NVD CVE-2021-4048
- OSV BIT-openblas-2021-4048
- OSV JLSEC-2025-6
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.