CVE-2023-52616 json
crypto: lib/mpi - Fix unexpected pointer access in mpi_ec_init
published 2024-03-18 2 y ago modified 2026-08-05 3 mo ago also EUVD-2023-57240
- cvss
- 7.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 15%
- public exploits
- 0
- none known
Summary
In the Linux kernel, the following vulnerability has been resolved:
crypto: lib/mpi - Fix unexpected pointer access in mpi_ec_init
When the mpi_ec_ctx structure is initialized, some fields are not cleared, causing a crash when referencing the field when the structure was released. Initially, this issue was ignored because memory for mpi_ec_ctx is allocated with the __GFP_ZERO flag. For example, this error will be triggered when calculating the Za value for SM2 separately.
Patch / fix
- Linux Linux 5.10.210, 5.15.149, 6.1.79, 6.6.15, 6.7.3, 6.8
- linux Debian 12 6.1.82-1
- linux Debian 14, Debian 13 6.6.15-1
debian advisories DEBIAN-CVE-2023-52616
- linux Ubuntu 22.04 LTS 5.15.0-106.116
- linux-aws Ubuntu 22.04 LTS 5.15.0-1061.67
- linux-gcp Ubuntu 22.04 LTS 5.15.0-1059.67
- linux-gke Ubuntu 22.04 LTS 5.15.0-1058.63
- linux-ibm Ubuntu 22.04 LTS 5.15.0-1054.57
- linux-kvm Ubuntu 22.04 LTS 5.15.0-1058.63
- linux-azure Ubuntu 22.04 LTS 5.15.0-1063.72
- linux-gkeop Ubuntu 22.04 LTS 5.15.0-1044.51
ubuntu advisories UBUNTU-CVE-2023-52616
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel-rt Linux Micro 6.0 6.4.0-9.1
- kernel-source-rt Linux Micro 6.0 6.4.0-9.1
- kernel-source Linux Micro 6.0 6.4.0-18.1
- kernel-default Linux Micro 6.0 6.4.0-18.1
- kernel-kvmsmall Linux Micro 6.0 6.4.0-18.1
- kernel-default-base Linux Micro 6.0 6.4.0-17.1.1.51
- kernel-rt Real Time Module 15 SP6, openSUSE Leap 15.6 6.4.0-150600.10.5.1
- kernel-syms-rt Real Time Module 15 SP6, openSUSE Leap 15.6 6.4.0-150600.10.5.1
suse advisories SUSE-SU-2025:20028-1SUSE-SU-2025:20008-1SUSE-SU-2024:2973-1SUSE-SU-2024:2203-1SUSE-SU-2024:2135-1SUSE-SU-2024:1663-1
- git.kernel.org/stable/c/0c3687822259a7628c85cd21a3445cbe3c367165 commit
- git.kernel.org/stable/c/2bb86817b33c9d704e127f92b838035a72c315b6 commit
- git.kernel.org/stable/c/bb44477d4506e52785693a39f03cdc6a2c5e8598 commit
- git.kernel.org/stable/c/7ebf812b7019fd2d4d5a7ca45ef4bf3a6f4bda0a commit
- git.kernel.org/stable/c/7abdfd45a650c714d5ebab564bb1b988f14d9b49 commit
- git.kernel.org/stable/c/ba3c5574203034781ac4231acf117da917efcd2a commit
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-2023-52616 updated cvss 5.5
kernel: crypto: lib/mpi - Fix unexpected pointer access in mpi_ec_init
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +82 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
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.24% chance of exploitation in the next 30 days, higher than 15% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected products
- Linux Linux
Classification
- Technology feeds
References
-
git.kernel.org
/stable/c/0c3687822259a7628c85cd21a3445cbe3c367165
mailing-list, patch
-
git.kernel.org
/stable/c/2bb86817b33c9d704e127f92b838035a72c315b6
mailing-list, patch
-
git.kernel.org
/stable/c/bb44477d4506e52785693a39f03cdc6a2c5e8598
mailing-list, patch
-
git.kernel.org
/stable/c/7ebf812b7019fd2d4d5a7ca45ef4bf3a6f4bda0a
mailing-list, patch
-
git.kernel.org
/stable/c/7abdfd45a650c714d5ebab564bb1b988f14d9b49
mailing-list, patch
-
git.kernel.org
/stable/c/ba3c5574203034781ac4231acf117da917efcd2a
mailing-list, patch
-
lists.debian.org
/debian-lts-announce/2024/06/msg00017.html
mailing-list
Sources
- CVE List CVE-2023-52616
- NVD CVE-2023-52616
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.