# CVE-2023-50658: jose2go vulnerable to denial of service via large p2c value

- 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): 0.82%, higher than 58% of CVEs (2026-12-01)
- Published: 2023-12-20T17:35:00.000Z
- Modified: 2026-09-10T03:50:05.399Z
- Also known as: GHSA-6294-6rgp-fr7r, GHSA-mhpq-9638-x6pw, GO-2023-2409
- Related: CGA-rxp2-268p-j6pw
- Weaknesses: CWE-400, CWE-770
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mitre

## Description

The jose2go component before 1.6.0 for Go allows attackers to cause a denial of service (CPU consumption) via a large p2c (aka PBES2 Count) value.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- github.com/dvsekhvalnov/jose2go (Go): before 1.6.0; before 1.5.1-0.20231206184617-48ba0b76bc88
- dvsekhvalnov jose2go: before 1.6.0

## Every score

- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- 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`

## References

- <https://github.com/dvsekhvalnov/jose2go/commit/a4584e9dd7128608fedbc67892eba9697f0d5317> (fix, patch, web)
- <https://github.com/dvsekhvalnov/jose2go/compare/v1.5.0...v1.6.0> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-50658> (advisory)
- <https://github.com/dvsekhvalnov/jose2go/issues/31> (web)
- <https://github.com/dvsekhvalnov/jose2go> (package)
- <https://pkg.go.dev/vuln/GO-2023-2409> (web)
- <https://www.blackhat.com/us-23/briefings/schedule/#three-new-attacks-against-json-web-tokens-31695> (web)

## Sources

- CVE List: [CVE-2023-50658](https://www.cve.org/CVERecord?id=CVE-2023-50658), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-6294-6rgp-fr7r](https://github.com/advisories/GHSA-6294-6rgp-fr7r), CC-BY-4.0, modified 2026-09-10
- GitHub Advisory Database: [GHSA-mhpq-9638-x6pw](https://github.com/advisories/GHSA-mhpq-9638-x6pw), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2023-2409](https://pkg.go.dev/vuln/GO-2023-2409), CC-BY-4.0, modified 2026-02-04
- NVD: [CVE-2023-50658](https://nvd.nist.gov/vuln/detail/CVE-2023-50658), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-50658 · Whole record: https://cve.day/CVE-2023-50658.json · Rebuilt by cve.day 2026-11-25T22:58:33.112Z
