# CVE-2025-61723: Quadratic complexity when parsing some invalid inputs in encoding/pem

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `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.66%, higher than 52% of CVEs (2026-12-01)
- Published: 2025-10-29T21:49:55.000Z
- Modified: 2026-10-08T10:10:00.227Z
- Also known as: GO-2025-4009, BIT-GOLANG-2025-61723
- Related: CGA-4w29-qr5q-79pj, RHSA-2026:7291, RHSA-2026:7385
- Weaknesses: CWE-407, CWE-770
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Go

## Description

The processing time for parsing some invalid inputs scales non-linearly with respect to the size of the input. This affects programs which parse untrusted PEM inputs.

(As written by CVE List.)

## Affected

- encoding/pem: before 1.24.8; from 1.25.0 before 1.25.2
- stdlib (Go): before 1.24.8; from 1.25.0 before 1.25.2
- golang go: before 1.24.8; from 1.25.0 before 1.25.2
- golang (Bitnami): before 1.24.8; from 1.25.0 before 1.25.2

## Every score

- CISA-ADP: 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`
- Bitnami Vulnerability Database: rating High

## References

- <https://go.dev/issue/75676> (issue-tracking, report)
- <https://go.dev/cl/709858> (fix, patch)
- <https://groups.google.com/g/golang-announce/c/4Emdl2iQ_bI> (discussion, mailing-list, release-notes, web)
- <https://pkg.go.dev/vuln/GO-2025-4009> (advisory, vendor-advisory)
- <http://www.openwall.com/lists/oss-security/2025/10/08/1> (advisory, mailing-list, third-party-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-61723> (web)

## Sources

- CVE List: [CVE-2025-61723](https://www.cve.org/CVERecord?id=CVE-2025-61723), CVE Terms of Use, modified 2025-11-04
- Go Vulnerability Database: [GO-2025-4009](https://pkg.go.dev/vuln/GO-2025-4009), CC-BY-4.0, modified 2026-05-15
- NVD: [CVE-2025-61723](https://nvd.nist.gov/vuln/detail/CVE-2025-61723), Public domain, modified 2026-10-08
- Bitnami Vulnerability Database: [BIT-GOLANG-2025-61723](https://osv.dev/vulnerability/BIT-GOLANG-2025-61723), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2025-61723 · Whole record: https://cve.day/CVE-2025-61723.json · Rebuilt by cve.day 2026-11-25T22:59:07.019Z
