CVE-2025-61723CWE-770denial-of-service

CVE-2025-61723

High · published October 30, 2025

CVSS v3.1
7.5
EPSS
1%
Percentile
51.0
In the wild
Unconfirmed
What it is

⚡ A tiny mistake in input can lead to massive delays! The way invalid PEM inputs are parsed causes processing time to balloon unexpectedly, like a balloon that keeps inflating with every little poke. 🎈 Think of it like ordering a complex dish at a restaurant where the chef follows a very intricate recipe. If you accidentally say, ‘add double the salt’ at the wrong moment, the chef might take ages to figure out how to fix it, slowing down service for everyone behind you. ⏳ An attacker could exploit this parsing behavior by sending oversized invalid requests, causing the server to lag or even crash. This could lead to denial of service, leaving legitimate users hanging while your service struggles to keep up or even completely locks up! 🛑

Put simply

Think of it like ordering a complex dish at a restaurant where the chef follows a very intricate recipe. If you accidentally say, ‘add double the salt’ at the wrong moment, the chef might take ages to figure out how to fix it, slowing down service for everyone behind you. ⏳ CVE-2025-61723 highlights a non-linear processing time issue when parsing untrusted PEM inputs, which can severely impact performance. Specifically, the time taken increases dramatically with the input size, making it easier for an attacker to overwhelm a system.

What to do

An attacker could exploit this parsing behavior by sending oversized invalid requests, causing the server to lag or even crash. This could lead to denial of service, leaving legitimate users hanging while your service struggles to keep up or even completely locks up! 🛑 To protect against this, ensure you validate and sanitize all PEM inputs before processing them. Additionally, consider implementing rate limiting to mitigate potential abuse, and update your parsing libraries as necessary. You've got this! By taking these steps, you'll enhance your security and keep your systems running smoothly. 🛡️

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00661 · 51.0th percentile
Weakness
CWE-770 · Allocation of Resources Without Limits or Throttling
Published
2025-10-30T03:16Z
Affected products (2)
ProductVersionsFixed in
golang/go< 1.24.81.24.8
golang/go≥ 1.25.0, < 1.25.21.25.2
References (5)
EPSS history
Timeline
  • 29 OCT 22:10Z
    Quadratic complexity when parsing some invalid inputs in encoding/pem
    cvelistv5