CVE-2026-54872

Source
https://cve.org/CVERecord?id=CVE-2026-54872
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-54872.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-54872
Downstream
ALPINE (1)
AZL (9)
BELL (1)
CGA (8)
DEBIAN (1)
ECHO (1)
MGASA (1)
MINI (1)
openSUSE (1)
RHSA (2)
SUSE (6)
UBUNTU (1)
Related
Published
2026-09-29T15:32:15Z
Modified
2026-10-20T17:39:39Z
Severity
  • 3.7 (Low) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N CVSS Calculator
Summary
Timing Side-Channel in Scalar Multiplication for Non-NIST EC Curves
Details

Issue summary: The generic elliptic-curve scalar multiplication used for ECDSA and SM2 signature operations with curves that do not have a dedicated implementation leaks information about the secret nonce through timing.

Impact summary: An attacker able to measure signing times may learn information about the per-signature secret nonce, which over many signatures can, via a lattice / Hidden Number Problem attack, lead to recovery of the private key.

CWE: CWE-208: Observable Timing Discrepancy

Description: The generic elliptic-curve scalar multiplication used for curves that do not have a dedicated constant-time implementation pads the secret scalar with non-constant-time BIGNUM operations, so the time taken depends on the value of the secret scalar derived from the ECDSA and SM2 nonce.

The leak is very small; observing it requires a large number of measurements. The effect is largest for curves whose group order lies on a machine-word boundary, such as brainpoolP384r1.

Applications using ECDSA signing over the Brainpool and other generic prime curves, and SM2 signing on platforms that use the generic implementation, are vulnerable to this issue.

The NIST curves P-256, P-384 and P-521 use dedicated constant-time implementations and are not affected.

FIPS Impact: no The FIPS modules are not affected: the approved NIST curves used in the FIPS provider have dedicated constant-time implementations and do not use the affected code path.

Database specific
{
    "cna_assigner":  "openssl",
    "cwe_ids":  [
        "CWE-208"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54872.json",
    "unresolved_ranges":  [
        {
            "extracted_events":  [
                {
                    "introduced":  "3.0.0"
                },
                {
                    "fixed":  "3.0.23"
                }
            ],
            "source":  "AFFECTED_FIELD"
        }
    ]
}
References

Affected packages

Git / github.com/openssl/openssl

Affected ranges

Type
GIT
Repo
https://github.com/openssl/openssl
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "cpe":  "cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "1.0.2"
                },
                {
                    "fixed":  "1.0.2zs"
                }
            ],
            "source":  "CPE_RANGE"
        },
        {
            "cpe":  "cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "1.1.1"
                },
                {
                    "fixed":  "1.1.1zj"
                }
            ],
            "source":  "CPE_RANGE"
        },
        {
            "cpe":  "cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "3.4.0"
                },
                {
                    "fixed":  "3.4.8"
                }
            ],
            "source":  "CPE_RANGE"
        },
        {
            "cpe":  "cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "3.5.0"
                },
                {
                    "fixed":  "3.5.9"
                }
            ],
            "source":  "CPE_RANGE"
        },
        {
            "cpe":  "cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "3.6.0"
                },
                {
                    "fixed":  "3.6.5"
                }
            ],
            "source":  "CPE_RANGE"
        },
        {
            "cpe":  "cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "4.0.0"
                },
                {
                    "fixed":  "4.0.3"
                }
            ],
            "source":  "CPE_RANGE"
        },
        {
            "range":  [
                {
                    "fixed":  "1a5bee8dc57430a2be69cd1ffe7fec6a62f4f179"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        },
        {
            "range":  [
                {
                    "fixed":  "3f7e1363dccec6f7732bb9e9fa471bb6e4aa68cb"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        },
        {
            "range":  [
                {
                    "fixed":  "7d83bc7764999dfd91b83b4f0815b45390422afd"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        },
        {
            "range":  [
                {
                    "fixed":  "8166827a78aad164a07aa86dea2b425403ced471"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

3.*
3.4-POST-CLANG-FORMAT-WEBKIT
3.4-PRE-CLANG-FORMAT-WEBKIT
3.5-POST-CLANG-FORMAT-WEBKIT
3.5-PRE-CLANG-FORMAT-WEBKIT
3.6-POST-CLANG-FORMAT-WEBKIT
3.6-PRE-CLANG-FORMAT-WEBKIT
openssl-3.*
openssl-3.4.0
openssl-3.4.1
openssl-3.4.2
openssl-3.4.3
openssl-3.4.4
openssl-3.4.5
openssl-3.4.6
openssl-3.4.7
openssl-3.5.0
openssl-3.5.1
openssl-3.5.2
openssl-3.5.3
openssl-3.5.4
openssl-3.5.5
openssl-3.5.6
openssl-3.5.7
openssl-3.5.8
openssl-3.6.0
openssl-3.6.1
openssl-3.6.2
openssl-3.6.3
openssl-3.6.4
openssl-4.*
openssl-4.0.0
openssl-4.0.1
openssl-4.0.2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-54872.json"
vanir_signatures
[
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "328493547438191950330103109949366870713",
                "18994645967593715300650483735338636795",
                "72029529736465773819848366937382271654",
                "135823012032519704753021676367926265312",
                "40539978950108934516356789693758702109",
                "171918580963209199429602510021116378531",
                "318240323245541525915123201925088485944",
                "289285563693754448730441332762337085366",
                "89740542664059088073197337037802062761",
                "253778800443254256402039908808918414339"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2026-54872-10c3b893",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/openssl/openssl/commit/3f7e1363dccec6f7732bb9e9fa471bb6e4aa68cb",
        "target":  {
            "file":  "crypto/ec/ec_mult.c"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "24924412503752677171823665992795509101",
            "length":  3738
        },
        "id":  "CVE-2026-54872-1cb75c94",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/openssl/openssl/commit/8166827a78aad164a07aa86dea2b425403ced471",
        "target":  {
            "file":  "crypto/ec/ec_mult.c",
            "function":  "ossl_ec_scalar_mul_ladder"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "24924412503752677171823665992795509101",
            "length":  3738
        },
        "id":  "CVE-2026-54872-1e804233",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/openssl/openssl/commit/7d83bc7764999dfd91b83b4f0815b45390422afd",
        "target":  {
            "file":  "crypto/ec/ec_mult.c",
            "function":  "ossl_ec_scalar_mul_ladder"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "48228271279961814950614929426071625992",
                "16842403249985325654436322340187281079",
                "152968568948214719290649091872173341456",
                "20139802118385538107958773239314911992",
                "64482539364541367338462959904422274642"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2026-54872-48cac6ae",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/openssl/openssl/commit/7d83bc7764999dfd91b83b4f0815b45390422afd",
        "target":  {
            "file":  "crypto/bn/bn_intern.c"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "48228271279961814950614929426071625992",
                "16842403249985325654436322340187281079",
                "152968568948214719290649091872173341456",
                "20139802118385538107958773239314911992",
                "64482539364541367338462959904422274642"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2026-54872-6279b0e4",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/openssl/openssl/commit/8166827a78aad164a07aa86dea2b425403ced471",
        "target":  {
            "file":  "crypto/bn/bn_intern.c"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "247343233376019283563224409530522340557",
                "122014047096443945313200763086438775637",
                "39741713961833830267963132984194130795",
                "148641977207735290631890501610212359253"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2026-54872-6c9ba953",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/openssl/openssl/commit/8166827a78aad164a07aa86dea2b425403ced471",
        "target":  {
            "file":  "include/crypto/bn.h"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "328493547438191950330103109949366870713",
                "18994645967593715300650483735338636795",
                "72029529736465773819848366937382271654",
                "135823012032519704753021676367926265312",
                "40539978950108934516356789693758702109",
                "171918580963209199429602510021116378531",
                "318240323245541525915123201925088485944",
                "289285563693754448730441332762337085366",
                "89740542664059088073197337037802062761",
                "253778800443254256402039908808918414339"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2026-54872-789d851d",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/openssl/openssl/commit/1a5bee8dc57430a2be69cd1ffe7fec6a62f4f179",
        "target":  {
            "file":  "crypto/ec/ec_mult.c"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "247343233376019283563224409530522340557",
                "122014047096443945313200763086438775637",
                "39741713961833830267963132984194130795",
                "148641977207735290631890501610212359253"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2026-54872-8414db0d",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/openssl/openssl/commit/1a5bee8dc57430a2be69cd1ffe7fec6a62f4f179",
        "target":  {
            "file":  "include/crypto/bn.h"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "24924412503752677171823665992795509101",
            "length":  3738
        },
        "id":  "CVE-2026-54872-8f8c8e65",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/openssl/openssl/commit/3f7e1363dccec6f7732bb9e9fa471bb6e4aa68cb",
        "target":  {
            "file":  "crypto/ec/ec_mult.c",
            "function":  "ossl_ec_scalar_mul_ladder"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "48228271279961814950614929426071625992",
                "16842403249985325654436322340187281079",
                "152968568948214719290649091872173341456",
                "20139802118385538107958773239314911992",
                "64482539364541367338462959904422274642"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2026-54872-99ea1974",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/openssl/openssl/commit/3f7e1363dccec6f7732bb9e9fa471bb6e4aa68cb",
        "target":  {
            "file":  "crypto/bn/bn_intern.c"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "48228271279961814950614929426071625992",
                "16842403249985325654436322340187281079",
                "152968568948214719290649091872173341456",
                "20139802118385538107958773239314911992",
                "64482539364541367338462959904422274642"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2026-54872-9c889047",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/openssl/openssl/commit/1a5bee8dc57430a2be69cd1ffe7fec6a62f4f179",
        "target":  {
            "file":  "crypto/bn/bn_intern.c"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "328493547438191950330103109949366870713",
                "18994645967593715300650483735338636795",
                "72029529736465773819848366937382271654",
                "135823012032519704753021676367926265312",
                "40539978950108934516356789693758702109",
                "171918580963209199429602510021116378531",
                "318240323245541525915123201925088485944",
                "289285563693754448730441332762337085366",
                "89740542664059088073197337037802062761",
                "253778800443254256402039908808918414339"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2026-54872-9d71787b",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/openssl/openssl/commit/8166827a78aad164a07aa86dea2b425403ced471",
        "target":  {
            "file":  "crypto/ec/ec_mult.c"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "247343233376019283563224409530522340557",
                "122014047096443945313200763086438775637",
                "39741713961833830267963132984194130795",
                "148641977207735290631890501610212359253"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2026-54872-a7f6c0f9",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/openssl/openssl/commit/7d83bc7764999dfd91b83b4f0815b45390422afd",
        "target":  {
            "file":  "include/crypto/bn.h"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "28170854778703993674264004058177114599",
                "73132526844288570625317440636111911761",
                "177405411499435185068645597737938634778",
                "224809958623850711330610094965797758930",
                "295554444428855106393106961197201359586"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2026-54872-c377fa22",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/openssl/openssl/commit/e04bd3433fd84e1861bf258ea37928d9845e6a86",
        "target":  {
            "file":  "include/openssl/opensslv.h"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "24924412503752677171823665992795509101",
            "length":  3738
        },
        "id":  "CVE-2026-54872-c82501f9",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/openssl/openssl/commit/1a5bee8dc57430a2be69cd1ffe7fec6a62f4f179",
        "target":  {
            "file":  "crypto/ec/ec_mult.c",
            "function":  "ossl_ec_scalar_mul_ladder"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "251633914150035957322733061977107206211",
                "338514574181828579838011565939158652696",
                "76638288692106140328510055542557597351",
                "142922657400765574308962710386922248045",
                "71649992455794854055653842592139575350",
                "65527166711110472566013424527579064967",
                "253196866009476977787139000804413898733",
                "172177136897997206866313011107384691461"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2026-54872-e051451f",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/openssl/openssl/commit/e818b74be2170fbe957a07b0da4401c2b694b3b8",
        "target":  {
            "file":  "crypto/opensslv.h"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "328493547438191950330103109949366870713",
                "18994645967593715300650483735338636795",
                "72029529736465773819848366937382271654",
                "135823012032519704753021676367926265312",
                "40539978950108934516356789693758702109",
                "171918580963209199429602510021116378531",
                "318240323245541525915123201925088485944",
                "289285563693754448730441332762337085366",
                "89740542664059088073197337037802062761",
                "253778800443254256402039908808918414339"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2026-54872-e0ab960e",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/openssl/openssl/commit/7d83bc7764999dfd91b83b4f0815b45390422afd",
        "target":  {
            "file":  "crypto/ec/ec_mult.c"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "247343233376019283563224409530522340557",
                "122014047096443945313200763086438775637",
                "39741713961833830267963132984194130795",
                "148641977207735290631890501610212359253"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2026-54872-f0fdc1a3",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/openssl/openssl/commit/3f7e1363dccec6f7732bb9e9fa471bb6e4aa68cb",
        "target":  {
            "file":  "include/crypto/bn.h"
        }
    }
]
vanir_signatures_modified
"2026-10-20T17:39:39Z"