# CVE-2022-27536: Panic during certificate parsing on Darwin in crypto/x509

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.47%, higher than 74% of CVEs (2026-12-01)
- Published: 2022-04-20T00:00:00.000Z
- Modified: 2026-10-16T09:45:16.436Z
- Also known as: GO-2022-0434, BIT-GOLANG-2022-27536
- Weaknesses: CWE-295
- Assigned by: mitre

## Description

Certificate.Verify in crypto/x509 in Go 1.18.x before 1.18.1 can be caused to panic on macOS when presented with certain malformed certificates. This allows a remote TLS server to cause a TLS client to panic.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- stdlib (Go): from 1.18.0-0 before 1.18.1
- golang go: from 1.18.0 before 1.18.1
- golang (Bitnami): from 1.18.0 before 1.18.1

## Every score

- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:N/A:P`
- Bitnami Vulnerability Database: rating High

## References

- <https://groups.google.com/g/golang-announce> (advisory, mailing-list, vendor-advisory)
- <https://groups.google.com/g/golang-announce/c/oecdBNLOml8> (advisory, mailing-list, release-notes, vendor-advisory, web)
- <https://security.gentoo.org/glsa/202208-02> (advisory, third-party-advisory, vendor-advisory)
- <https://cert-portal.siemens.com/productcert/pdf/ssa-744259.pdf>
- <https://security.netapp.com/advisory/ntap-20230309-0001/> (web)
- <https://go.dev/cl/393655> (fix)
- <https://go.googlesource.com/go/+/0fca8a8f25cf4636fd980e72ba0bded4230922de> (fix)
- <https://go.dev/issue/51759> (report)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-27536> (web)

## Sources

- CVE List: [CVE-2022-27536](https://www.cve.org/CVERecord?id=CVE-2022-27536), CVE Terms of Use, modified 2024-08-03
- Go Vulnerability Database: [GO-2022-0434](https://pkg.go.dev/vuln/GO-2022-0434), CC-BY-4.0, modified 2024-05-20
- NVD: [CVE-2022-27536](https://nvd.nist.gov/vuln/detail/CVE-2022-27536), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-GOLANG-2022-27536](https://osv.dev/vulnerability/BIT-GOLANG-2022-27536), Apache-2.0, modified 2026-10-16

---

Page: https://cve.day/CVE-2022-27536 · Whole record: https://cve.day/CVE-2022-27536.json · Rebuilt by cve.day 2026-11-25T22:58:10.941Z
