# CVE-2022-48195: mellium.im/sasl authentication failure due to insufficient nonce randomness

- Severity: Critical 9.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/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): 0.89%, higher than 60% of CVEs (2026-12-01)
- Published: 2022-12-31T00:00:00.000Z
- Modified: 2026-06-17T05:14:45.617Z
- Also known as: GHSA-gvfj-fxx3-j323, GO-2023-1268
- Weaknesses: CWE-287
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: mitre

## Description

An issue was discovered in Mellium mellium.im/sasl before 0.3.1. When performing SCRAM-based SASL authentication, if the remote end advertises support for channel binding, no random nonce is generated (instead, the nonce is empty). This causes authentication to fail in the best case, but (if paired with a remote end that does not validate the length of the nonce) could lead to insufficient randomness being used during authentication.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- mellium.im/sasl (Go): before 0.3.1
- mellium sasl: 0.3.0

## Every score

- CISA-ADP: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://mellium.im/cve/cve-2022-48195/> (advisory, vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-48195> (advisory)
- <https://codeberg.org/mellium/sasl> (package)
- <https://codeberg.org/mellium/sasl/commit/e6cbf681b247c4efa1477eaad2cc47a01707b732> (fix, web)
- <https://codeberg.org/mellium/sasl/releases/tag/v0.3.1> (web)
- <https://mellium.im/cve/cve-2022-48195> (web)
- <https://pkg.go.dev/vuln/GO-2023-1268> (web)

## Sources

- CVE List: [CVE-2022-48195](https://www.cve.org/CVERecord?id=CVE-2022-48195), CVE Terms of Use, modified 2025-04-11
- GitHub Advisory Database: [GHSA-gvfj-fxx3-j323](https://github.com/advisories/GHSA-gvfj-fxx3-j323), CC-BY-4.0, modified 2024-05-20
- Go Vulnerability Database: [GO-2023-1268](https://pkg.go.dev/vuln/GO-2023-1268), CC-BY-4.0, modified 2024-05-20
- NVD: [CVE-2022-48195](https://nvd.nist.gov/vuln/detail/CVE-2022-48195), Public domain, modified 2026-06-17

---

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