
CVE catalog
CVE-2022-28327
golang: crypto/elliptic: panic caused by oversized scalar
- Severity
- High · CVSS 7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Published
- Updated
- Source
- [NVD] · [CVE record]
- EPSS
- 4.16% · Oct 25, 2026
An integer overflow flaw was found in Golang's crypto/elliptic library. This flaw allows an attacker to use a crafted scaler input longer than 32 bytes, causing P256().ScalarMult or P256().ScalarBaseMult to panic, leading to a loss of availability. golang: crypto/elliptic: panic caused by oversized scalar A moderate severity flaw was found in Go’s crypto/elliptic package in the generic P-256 implementation. If a scalar input longer than 32 bytes is supplied, P256().ScalarMult or P256().ScalarBaseMult can panic, causing the application to crash. Indirect uses via crypto/ecdsa and crypto/tls are not affected. This issue impacts availability but does not affect confidentiality or integrity. Only certain platforms (non-amd64, non-arm64, non-ppc64le, non-s390x) may be affected. Red Hat Enterprise Linux 7, 8 and 9 are affected, because the code-base is affected by this vulnerability. Red Hat Product Security has rated this issue as having Moderate security impact, and the issue is not currently planned to be addressed in future updates for Red Hat Enterprise Linux 7, hence, marked as Out-of-Support-Scope. Red Hat Developer Tools - Compilers (go-toolset-1.16-golang & go-toolset-1.17-golang), ships the vulnerable code and affected by this vulnerability. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/ and Red Hat Enterprise Linux Life Cycle & Updates Policy: https://access.redhat.com/support/policy/updates/errata/. The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Bitnami | golang | Not reported | 1.17.9 | fixed |
| Bitnami | golang | Not reported | 1.18.1 | fixed |
| Ubuntu | golang-1.18 | 18.04 | 1.18.1-1ubuntu1~18.04.3 | fixed |
| Ubuntu | golang-1.18 | 20.04 | 1.18.1-1ubuntu1~20.04.1 | fixed |
| Ubuntu | golang-1.17 | 22.04 | 1.17-1ubuntu2 | vulnerable |
| Ubuntu | golang-1.17 | 22.04 | 1.17.3-1ubuntu1 | vulnerable |
| Ubuntu | golang-1.17 | 22.04 | 1.17.3-1ubuntu2 | vulnerable |
| Ubuntu | golang-1.17 | 22.04 | 1.17.13-3ubuntu1 | vulnerable |
| Ubuntu | golang-1.17 | 22.04 | 1.17.13-3ubuntu1.2 | vulnerable |
| Ubuntu | golang-1.17 | 22.04 | 1.17.13-3ubuntu1.3 | vulnerable |
| Ubuntu | golang-1.18 | 22.04 | 1.18~beta1-0ubuntu1 | vulnerable |
| Ubuntu | golang-1.18 | 22.04 | 1.18~beta2-1ubuntu1 | vulnerable |
| Ubuntu | golang-1.18 | 22.04 | 1.18~beta2-1ubuntu2 | vulnerable |
| Ubuntu | golang-1.18 | 22.04 | 1.18~rc1-1ubuntu1 | vulnerable |
| Ubuntu | golang-1.18 | 22.04 | 1.18-1ubuntu1 | vulnerable |
| Ubuntu | golang-1.18 | 22.04 | 1.18.1-1ubuntu1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Bitnami | golang | Bitnami | Not reported | 1.17.9 | Not reported | BIT-GOLANG-2022-28327 | Not reported |
| Bitnami | golang | Bitnami | Not reported | 1.18.1 | Not reported | BIT-GOLANG-2022-28327 | Not reported |
| Ubuntu | golang-1.18 | deb | 18.04 | 1.18.1-1ubuntu1~18.04.3 | Not reported | UBUNTU-CVE-2022-28327 | Not reported |
| Ubuntu | golang-1.18 | deb | 20.04 | 1.18.1-1ubuntu1~20.04.1 | Not reported | UBUNTU-CVE-2022-28327 | Not reported |
| Ubuntu | golang-1.18 | deb | 22.04 | 1.18.1-1ubuntu1 | Not reported | UBUNTU-CVE-2022-28327 | Not reported |
OpenFactory catalog packages
No matching packages in this catalog.
Observed:
References
- [https://cert-portal.siemens.com/productcert/csaf/ssa-744259.json]
- [https://ftp.suse.com/pub/projects/security/csaf/rhsa-2022_5337.json]
- [https://osv.dev/vulnerability/BIT-golang-2022-28327]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2022-28327]
- [https://security.access.redhat.com/data/csaf/v2/vex/2022/cve-2022-28327.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2023/wid-sec-w-2023-1350.json]
[CERT-Bund public advisories] · [CISA cybersecurity advisories] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]