CVE-2025-61723: Go standard library encoding/pem · Inefficient Algorithmic Complexity
Affects Go standard library encoding/pemSource CVE Database V5
Not known to be exploited · CVSS 7.5 High.
Data as of 26 Oct 2026, 10:12 UTC
- EPSS
- 0.6% chance of exploitation in 30 days – higher than 51% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 29 Oct 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Gogithub.com/golang/go/src/encoding/pempkg:golang/github.com/golang/go/src/encoding/pemOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
To mitigate CVE-2025-61723, organizations should: 1) Monitor for and apply updates to the Go standard library as soon as a patch is released addressing this vulnerability. 2) Implement input validation to reject obviously malformed or excessively large PEM inputs before parsing. 3) Employ rate limiting and connection throttling on services that accept PEM data from untrusted sources to reduce exposure to resource exhaustion attacks. 4) Use resource monitoring and alerting to detect abnormal CPU usage patterns during PEM parsing operations. 5) Where possible, isolate PEM parsing functionality in separate processes or containers with resource limits to contain potential DoS effects. 6) Review and audit codebases to identify all usages of the encoding/pem package and assess exposure. 7) Consider fallback or alternative parsing libraries if patching is delayed. These steps go beyond generic advice by focusing on proactive input handling, resource control, and architectural isolation to reduce risk until official fixes are available.
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.