Low-level invalid GF(2^m) parameters lead to OOB memory access
Summary
| CVE | CVE-2024-9143 |
|---|---|
| State | PUBLISHED |
| Assigner | openssl |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2024-10-16 17:15:18 UTC |
| Updated | 2026-05-12 12:17:22 UTC |
| Description | Issue summary: Use of the low-level GF(2^m) elliptic curve APIs with untrusted explicit values for the field polynomial can lead to out-of-bounds memory reads or writes. Impact summary: Out of bound memory writes can lead to an application crash or even a possibility of a remote code execution, however, in all the protocols involving Elliptic Curve Cryptography that we're aware of, either only "named curves" are supported, or, if explicit curve parameters are supported, they specify an X9.62 encoding of binary (GF(2^m)) curves that can't represent problematic input values. Thus the likelihood of existence of a vulnerable application is low. In particular, the X9.62 encoding is used for ECC keys in X.509 certificates, so problematic inputs cannot occur in the context of processing X.509 certificates. Any problematic use-cases would have to be using an "exotic" curve encoding. The affected APIs include: EC_GROUP_new_curve_GF2m(), EC_GROUP_new_from_params(), and various supporting BN_GF2m_*() functions. Applications working with "exotic" explicit binary (GF(2^m)) curve parameters, that make it possible to represent invalid field polynomials with a zero constant term, via the above or similar APIs, may terminate abruptly as a result of reading or writing outside of array bounds. Remote code execution cannot easily be ruled out. The FIPS modules in 3.3, 3.2, 3.1 and 3.0 are not affected by this issue. |
Risk And Classification
Primary CVSS: v3.1 4.3 MEDIUM from ADP
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
EPSS: 0.008830000 probability, percentile 0.755520000 (date 2026-05-12)
Problem Types: CWE-125 | CWE-787 | CWE-125 CWE-125 Out-of-bounds Read | CWE-787 CWE-787 Out-of-bounds Write
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | ADP | DECLARED | 4.3 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N |
| 3.1 | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | Secondary | 4.3 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
LowAvailability
NoneCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | OpenSSL | OpenSSL | affected 3.3.0 3.3.3 semver | Not specified |
| CNA | OpenSSL | OpenSSL | affected 3.2.0 3.2.4 semver | Not specified |
| CNA | OpenSSL | OpenSSL | affected 3.1.0 3.1.8 semver | Not specified |
| CNA | OpenSSL | OpenSSL | affected 3.0.0 3.0.16 semver | Not specified |
| CNA | OpenSSL | OpenSSL | affected 1.1.1 1.1.1zb custom | Not specified |
| CNA | OpenSSL | OpenSSL | affected 1.0.2 1.0.2zl custom | Not specified |
| ADP | Siemens | SIDIS Prime | affected V4.0.700 custom | Not specified |
| ADP | Siemens | SIMATIC S7-1500 TM MFP - GNU/Linux Subsystem | affected * custom | Not specified |
| ADP | Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | affected V3.1.0 V3.1.5 custom | Not specified |
| ADP | Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | affected V3.1.0 V3.1.5 custom | Not specified |
| ADP | Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | affected V3.1.0 V3.1.5 custom | Not specified |
| ADP | Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | affected V3.1.0 V3.1.5 custom | Not specified |
| ADP | Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | affected V3.1.0 V3.1.5 custom | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| cert-portal.siemens.com/productcert/html/ssa-398330.html | 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e | cert-portal.siemens.com | |
| github.com/openssl/openssl/commit/72ae83ad214d2eef262461365a1975707f862712 | [email protected] | github.com | |
| github.openssl.org/openssl/extended-releases/commit/8efc0cbaa8ebba8e116f7b81a876... | [email protected] | github.openssl.org | |
| www.openwall.com/lists/oss-security/2024/10/23/1 | af854a3a-2127-422b-91ae-364da2661108 | www.openwall.com | |
| cert-portal.siemens.com/productcert/html/ssa-265688.html | 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e | cert-portal.siemens.com | |
| www.openwall.com/lists/oss-security/2024/10/24/1 | af854a3a-2127-422b-91ae-364da2661108 | www.openwall.com | |
| cert-portal.siemens.com/productcert/html/ssa-769027.html | 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e | cert-portal.siemens.com | |
| github.openssl.org/openssl/extended-releases/commit/9d576994cec2b7aa37a91740ea7e... | [email protected] | github.openssl.org | |
| cert-portal.siemens.com/productcert/html/ssa-277137.html | 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e | cert-portal.siemens.com | |
| www.openwall.com/lists/oss-security/2024/10/16/1 | af854a3a-2127-422b-91ae-364da2661108 | www.openwall.com | |
| github.com/openssl/openssl/commit/c0d3e4d32d2805f49bec30547f225bc4d092e1f4 | [email protected] | github.com | |
| github.com/openssl/openssl/commit/bc7e04d7c8d509fb78fc0e285aa948fb0da04700 | [email protected] | github.com | |
| lists.debian.org/debian-lts-announce/2024/11/msg00000.html | af854a3a-2127-422b-91ae-364da2661108 | lists.debian.org | |
| lists.debian.org/debian-lts-announce/2024/10/msg00033.html | af854a3a-2127-422b-91ae-364da2661108 | lists.debian.org | |
| openssl-library.org/news/secadv/20241016.txt | [email protected] | openssl-library.org | |
| security.netapp.com/advisory/ntap-20241101-0001 | af854a3a-2127-422b-91ae-364da2661108 | security.netapp.com | |
| github.com/openssl/openssl/commit/fdf6723362ca51bd883295efe206cb5b1cfa5154 | [email protected] | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: Google OSS-Fuzz-Gen (en)
CNA: Viktor Dukhovni (en)
There are currently no legacy QID mappings associated with this CVE.