CyberSecBulletin
CVE-2026-27145NVD status: Awaiting Analysis

crypto/x509: Unchecked Input for Loop Condition

CVE-2026-27145 is a high-severity unchecked input for loop condition vulnerability in crypto/x509 from Go standard library, with a CVSS 3.1 base score of 7.5 out of 10. It can be exploited remotely over the network by an unauthenticated attacker, without any action from a user. The record lists versions 1.25.11, 1.26.4 as the first without the flaw, so updating crypto/x509 to one of those releases or later removes the exposure. There is no confirmed exploitation so far. EPSS estimates a 0.59% chance of exploitation within 30 days, which is low compared with other CVEs.

Next patch cycle

High severity with no evidence of exploitation so far.

What to do

  1. Update crypto/x509 to 1.25.11 or 1.26.4, whichever matches your release line, or a later version.
  2. Until you can update, restrict network access to the affected service so it is not reachable from untrusted networks.

Affected products and versions

VendorProductAffected versionsFixed in
Go standard librarycrypto/x509before 1.25.11; 1.26.0-0 up to, but not including, 1.26.41.25.11, 1.26.4
Red HatRed Hat Ansible Automation Platform 2.5 for RHEL 8Not specified in the recordNot stated
Red HatRed Hat Ansible Automation Platform 2.5 for RHEL 9Not specified in the recordNot stated
Red HatRed Hat Ansible Automation Platform 2.6 for RHEL 10Not specified in the recordNot stated
Red HatRed Hat Ansible Automation Platform 2.6 for RHEL 9Not specified in the recordNot stated
Red HatRed Hat Ansible Automation Platform 2.7 for RHEL 10Not specified in the recordNot stated
Red HatRed Hat Ansible Automation Platform 2.7 for RHEL 9Not specified in the recordNot stated
Red HatRed Hat Enterprise Linux 10Not specified in the recordNot stated
Red HatRed Hat Enterprise Linux 10.0 Extended Update SupportNot specified in the recordNot stated
Red HatRed Hat Enterprise Linux 7 Extended Lifecycle SupportNot specified in the recordNot stated
Red HatRed Hat Enterprise Linux 8Not specified in the recordNot stated
Red HatRed Hat Enterprise Linux 9Not specified in the recordNot stated
Red HatRed Hat Enterprise Linux 9.2 Update Services for SAP SolutionsNot specified in the recordNot stated
Red HatRed Hat Enterprise Linux 9.4 Update Services for SAP SolutionsNot specified in the recordNot stated
Red HatRed Hat Enterprise Linux 9.6 Extended Update SupportNot specified in the recordNot stated
Red HatRed Hat OpenShift Container Platform 4.18Not specified in the recordNot stated
Red HatRed Hat OpenStack Platform 16.2Not specified in the recordNot stated
Red HatRed Hat Satellite 6.16 for RHEL 8Not specified in the recordNot stated
Red HatRed Hat Satellite 6.16 for RHEL 9Not specified in the recordNot stated
Red HatRed Hat Satellite 6.17 for RHEL 9Not specified in the recordNot stated
Red HatRed Hat Satellite 6.18 for RHEL 9Not specified in the recordNot stated
Red HatRed Hat Satellite 6.19 for RHEL 9Not specified in the recordNot stated
Red HatRHEM 1.1 for RHEL 10Not specified in the recordNot stated
Red HatRHEM 1.1 for RHEL 9Not specified in the recordNot stated
Red HatRHEM 1.2 for RHEL 10Not specified in the recordNot stated

Version data comes from the organisation that assigned the CVE; 35 further products are omitted here. Confirm against the vendor advisory before deciding you are unaffected.

How the severity score breaks down

Attack vector
NetworkCan be exploited remotely over a network, including the internet.
Attack complexity
LowNo special conditions are needed; the attack works reliably.
Privileges required
NoneNo account or login is needed.
User interaction
NoneNo action by a victim is required.
Scope
UnchangedImpact stays within the vulnerable component.
Confidentiality
NoneNo data is disclosed.
Integrity
NoneNothing can be modified.
Availability
HighThe component can be taken down completely.

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H. Scored by CNA.

Scoring systemScoreSeverityScored by
CVSS 3.16.5MediumCISA (ADP)
CVSS 3.17.5HighCNA

Official description

(*x509.Certificate).VerifyHostname previously called matchHostnames in a loop over all DNS Subject Alternative Name (SAN) entries. This caused strings.Split(host, ".") to execute repeatedly on the same input hostname. With a large DNS SAN list, verification costs scaled quadratically based on the number of SAN entries multiplied by the hostname's label count. Because x509.Verify validates hostnames before building the certificate chain, this overhead occurred even for untrusted certificates.

Source: the CVE record as published by its numbering authority, via NVD and CVE.org.

The underlying weakness: Unchecked Input for Loop Condition

The product does not properly check inputs that are used for loop conditions, potentially leading to a denial of service or other consequences because of excessive looping.

How developers prevent this class of flaw

  • Do not use user-controlled data for loop conditions.

More Unchecked Input for Loop Condition vulnerabilities (CWE-606)

Timeline

  1. CVE record published.
  2. CISA published its SSVC assessment (exploitation: none, automatable: no, technical impact: partial).
  3. Record last changed materially (score, affected products, status or references).

References

Other vulnerabilities in crypto/x509

All crypto/x509 vulnerabilities

Recent Unchecked Input for Loop Condition vulnerabilities

Spotted an error? Tell us.