Critical
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-4048
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 12:04 UTC · Revision 1
Source evidence
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.
osv:CVE-2021-4048
Complete source record
{
"id": "8d11e7cf6a68ebc2ff580eb90c896d49035a8612d4c12043b76fffa333e684e7",
"url": "https://osv.dev/vulnerability/CVE-2021-4048",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-4048",
"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.",
"evidence": "osv:CVE-2021-4048",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2021-4048",
"aliases": [
"BIT-openblas-2021-4048",
"CVE-2021-4048"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/OpenMathLib/OpenBLAS",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "efe42481e2c85e8197bdf533078bf89bdf6eabf4"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:openblas_project:openblas:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "0.3.18"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v0.3.15",
"v0.3.17",
"v0.3.16",
"v0.3.14",
"v0.3.13",
"v0.3.12",
"v0.3.11",
"v0.3.10",
"v0.3.9",
"v0.3.8",
"v0.3.7",
"v0.3.6",
"v0.3.5",
"v0.3.4",
"v0.3.3",
"v0.3.2",
"v0.3.1",
"v0.3.0",
"v0.2.20",
"v0.2.19",
"v0.2.18",
"v0.2.17",
"v0.2.16",
"v0.2.15",
"v0.2.14",
"v0.2.13",
"v0.2.12",
"v0.2.11",
"v0.2.10",
"v0.2.10.rc2",
"v0.2.10.rc1",
"v0.2.9",
"v0.2.9.rc2",
"v0.2.8",
"v0.2.7",
"v0.2.6",
"v0.2.5",
"v0.2.4",
"v0.2.3",
"v0.2.2",
"v0.2.1",
"v0.2.0",
"v0.1.1",
"v0.1.0",
"v0.1alpha2.5",
"v0.1alpha2.4",
"v0.1alpha2.3",
"v0.1alpha2.2",
"v0.1alpha2.1",
"v0.1alpha2",
"v0.1alpha1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-4048.json"
}
},
{
"ranges": [
{
"repo": "https://github.com/julialang/julia",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "ae8452a9e0b973991c30f27beb2201db1b0ea0d3"
},
{
"introduced": "a15fbbc80994bac8a79cdb64fe5b0305d98ac3cf"
},
{
"last_affected": "9eade6195eb1890afb3fc071a25718981e4185fa"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:julialang:julia:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "1.6.3"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:julialang:julia:1.7.0:beta1:*:*:*:*:*:*",
"range": [
{
"introduced": "1.7.0-beta1"
},
{
"last_affected": "1.7.0-beta1"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:julialang:julia:1.7.0:beta2:*:*:*:*:*:*",
"range": [
{
"introduced": "1.7.0-beta2"
},
{
"last_affected": "1.7.0-beta2"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:julialang:julia:1.7.0:beta3:*:*:*:*:*:*",
"range": [
{
"introduced": "1.7.0-beta3"
},
{
"last_affected": "1.7.0-beta3"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:julialang:julia:1.7.0:beta4:*:*:*:*:*:*",
"range": [
{
"introduced": "1.7.0-beta4"
},
{
"last_affected": "1.7.0-beta4"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:julialang:julia:1.7.0:rc1:*:*:*:*:*:*",
"range": [
{
"introduced": "1.7.0-rc1"
},
{
"last_affected": "1.7.0-rc1"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"1.7.0-beta1",
"1.7.0-beta2",
"1.7.0-beta3",
"1.7.0-beta4",
"1.7.0-rc1",
"v1.7.0-rc1",
"v1.6.3",
"v1.7.0-beta4",
"v1.7.0-beta3",
"v1.6.2",
"v1.7.0-beta2",
"v1.7.0-beta1",
"v1.6.1",
"v1.6.0",
"v1.6.0-rc3",
"v1.6.0-rc2",
"v1.6.0-rc1",
"v1.6.0-beta1",
"v1.3.0-alpha",
"v1.0.0",
"v1.0.0-rc1",
"v0.7.0-rc2",
"v0.7.0-rc1",
"v0.7.0-beta2",
"v0.7.0-beta",
"v0.7.0-alpha",
"v0.6.0-pre.beta",
"v0.6.0-pre.alpha",
"v0.5.0-rc0",
"v0.4.0-rc1",
"v0.3.0-rc3",
"v0.3.0-rc2",
"v0.3.0-rc1",
"v0.2.0-rc4",
"v0.2.0-rc3",
"v0.2.0-rc2",
"v0.2.0-rc1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-4048.json"
}
},
{
"ranges": [
{
"repo": "https://github.com/openmathlib/openblas",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "2be5ee3cca97a597f2ee2118808a2d5eacea050c"
},
{
"fixed": "337b65133df174796794871b3988cd03426e6d41"
},
{
"fixed": "ddb0ff5353637bb5f5ad060c9620e334c143e3d7"
},
{
"fixed": "fe497efa0510466fd93578aaf9da1ad8ed4edbe7"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"fixed": "2be5ee3cca97a597f2ee2118808a2d5eacea050c"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "337b65133df174796794871b3988cd03426e6d41"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "ddb0ff5353637bb5f5ad060c9620e334c143e3d7"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "fe497efa0510466fd93578aaf9da1ad8ed4edbe7"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"v0.2.20",
"v0.2.19",
"v0.2.18",
"v0.2.17",
"v0.2.16",
"v0.2.15",
"v0.2.14",
"v0.2.13",
"v0.2.12",
"v0.2.11",
"v0.2.10",
"v0.2.10.rc2",
"v0.2.10.rc1",
"v0.2.9",
"v0.2.9.rc2",
"v0.2.8",
"v0.2.7",
"v0.2.6",
"v0.2.5",
"v0.2.4",
"v0.2.3",
"v0.2.2",
"v0.2.1",
"v0.2.0",
"v0.1.1",
"v0.1.0",
"v0.1alpha2.5",
"v0.1alpha2.4",
"v0.1alpha2.3",
"v0.1alpha2.2",
"v0.1alpha2.1",
"v0.1alpha2",
"v0.1alpha1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-4048.json"
}
},
{
"ranges": [
{
"repo": "https://github.com/reference-lapack/lapack",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "aa631b4b4bd13f6ae2dbab9ae9da209e1e05b0fc"
},
{
"fixed": "38f3eeee3108b18158409ca2a100e6fe03754781"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:lapack_project:lapack:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "3.10.0"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "38f3eeee3108b18158409ca2a100e6fe03754781"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"v3.10.0",
"v3.9.1",
"v3.9.0",
"v3.8.0",
"v3.7.1",
"v3.7.0",
"v3.6.1",
"v3.6.0",
"v3.1-firstgitcommit"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-4048.json"
}
}
],
"modified": "2026-10-20T10:55:29.805733850Z",
"provider": "osv",
"references": [
"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6QFEVOCUG2UXMVMFMTU4ONJVDEHY2LW2/",
"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DROZM4M2QRKSD6FBO4BHSV2QMIRJQPHT/",
"https://github.com/JuliaLang/julia/issues/42415",
"https://github.com/Reference-LAPACK/lapack/commit/38f3eeee3108b18158409ca2a100e6fe03754781",
"https://github.com/Reference-LAPACK/lapack/pull/625",
"https://github.com/xianyi/OpenBLAS/commit/2be5ee3cca97a597f2ee2118808a2d5eacea050c",
"https://github.com/xianyi/OpenBLAS/commit/337b65133df174796794871b3988cd03426e6d41",
"https://github.com/xianyi/OpenBLAS/commit/ddb0ff5353637bb5f5ad060c9620e334c143e3d7",
"https://github.com/xianyi/OpenBLAS/commit/fe497efa0510466fd93578aaf9da1ad8ed4edbe7"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*",
"cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*"
],
"vendor_product": "fedoraproject:fedora",
"extracted_events": [
{
"range": [
{
"introduced": "34"
},
{
"last_affected": "34"
},
{
"introduced": "35"
},
{
"last_affected": "35"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:a:redhat:ceph_storage:2.0:*:*:*:*:*:*:*",
"cpe:2.3:a:redhat:ceph_storage:3.0:*:*:*:*:*:*:*",
"cpe:2.3:a:redhat:ceph_storage:4.0:*:*:*:*:*:*:*",
"cpe:2.3:a:redhat:ceph_storage:5.0:*:*:*:*:*:*:*"
],
"vendor_product": "redhat:ceph_storage",
"extracted_events": [
{
"range": [
{
"introduced": "2.0"
},
{
"last_affected": "2.0"
},
{
"introduced": "3.0"
},
{
"last_affected": "3.0"
},
{
"introduced": "4.0"
},
{
"last_affected": "4.0"
},
{
"introduced": "5.0"
},
{
"last_affected": "5.0"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*"
],
"vendor_product": "redhat:enterprise_linux",
"extracted_events": [
{
"range": [
{
"introduced": "8.0"
},
{
"last_affected": "8.0"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:a:redhat:openshift_container_storage:4.0:*:*:*:*:*:*:*"
],
"vendor_product": "redhat:openshift_container_storage",
"extracted_events": [
{
"range": [
{
"introduced": "4.0"
},
{
"last_affected": "4.0"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:a:redhat:openshift_data_foundation:4.0:*:*:*:*:*:*:*"
],
"vendor_product": "redhat:openshift_data_foundation",
"extracted_events": [
{
"range": [
{
"introduced": "4.0"
},
{
"last_affected": "4.0"
}
],
"source": "CPE_STRING"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2021-4048",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 387077,
"published_at": "2021-12-08T22:15:10.22+00:00"
}