Home / lapack / lapack / CVE-2021-4048
CVE-2021-4048: is it exploited, and which versions of lapack are affected and fixed?
CVE-2021-4048 is an out-of-bounds read vulnerability in lapack. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 11:38 UTC). Affected: lapack lapack through version 3.10.0 (CVE record by redhat). Fixed in 0.3.18 (NVD). Severity: Critical (9.1, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 11:38 UTC, CVE record November 19, 2026, 07:15 UTC and NVD November 19, 2026, 07:52 UTC.
What is CVE-2021-4048?
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.
From the CVE record by redhat, last updated August 3, 2024, 17:16 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| lapack | lapack through version 3.10.0 |
As the CVE record by redhat states it, last updated August 3, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| lapack project | lapack | through 3.10.0 | application |
| openblas project | openblas | before 0.3.18 | application |
| julialang | julia | through 1.6.3 | application |
| julialang | julia | 1.7.0 | application |
| redhat | ceph storage | 2.0 | application |
| redhat | ceph storage | 3.0 | application |
| redhat | ceph storage | 4.0 | application |
| redhat | ceph storage | 5.0 | application |
| redhat | openshift container storage | 4.0 | application |
| redhat | openshift data foundation | 4.0 | application |
| redhat | enterprise linux | 8.0 | operating system |
| fedoraproject | fedora | 34 | operating system |
| fedoraproject | fedora | 35 | operating system |
NVD analysis (status Modified), last modified June 17, 2026, 04:18 UTC.
How severe is CVE-2021-4048?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H | NVD |
| Medium 6.4 | CVSS 2.0 | AV:N/AC:L/Au:N/C:P/I:N/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2021-4048 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 2.82% probability of exploitation activity in the next 30 days, percentile 86.9 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-125 Out-of-bounds Read
Where are the vendor advisories and references?
- https://github.com/Reference-LAPACK/lapack/pull/625 x_refsource_MISC
- https://github.com/Reference-LAPACK/lapack/commit/38f3eeee3108b18158409ca2a100e6fe03754781 x_refsource_MISC
- https://github.com/JuliaLang/julia/issues/42415 x_refsource_MISC
- https://github.com/xianyi/OpenBLAS/commit/337b65133df174796794871b3988cd03426e6d41 x_refsource_MISC
- https://github.com/xianyi/OpenBLAS/commit/2be5ee3cca97a597f2ee2118808a2d5eacea050c x_refsource_MISC
- https://github.com/xianyi/OpenBLAS/commit/fe497efa0510466fd93578aaf9da1ad8ed4edbe7 x_refsource_MISC
- https://github.com/xianyi/OpenBLAS/commit/ddb0ff5353637bb5f5ad060c9620e334c143e3d7 x_refsource_MISC
- FEDORA-2021-0d4b58060d vendor-advisory, x_refsource_FEDORA
- FEDORA-2021-aec9d01057 vendor-advisory, x_refsource_FEDORA
When was it published, and where is the official record?
- Reserved
- December 2, 2021
- Published
- December 8, 2021, 21:24 UTC
- CVE record updated
- August 3, 2024, 17:16 UTC by redhat
- NVD
- Modified, last modified June 17, 2026, 04:18 UTC
- Last checked
- CVE list November 19, 2026, 07:15 UTC; NVD November 19, 2026, 07:52 UTC; KEV December 3, 2026, 11:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
Questions about CVE-2021-4048
Is CVE-2021-4048 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 11:38 UTC. FIRST's EPSS gives it a 2.82% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of lapack are affected by CVE-2021-4048?
lapack lapack through version 3.10.0, per the CVE record by redhat. The tables above give every range the sources list.
Which version fixes CVE-2021-4048?
0.3.18, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2021-4048?
Critical (9.1, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2021-4048?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.