REDHAT-BUG-2418462: High severity go crypto/x509 vulnerability

Published Dec 2, 2025
·
Updated

Within HostnameError.Error(), when constructing an error string, there is no limit to the number of hosts that will be printed out. Furthermore, the error string is constructed by repeated string concatenation, leading to quadratic runtime. Therefore, a certificate provided by a malicious actor can result in excessive resource consumption.

Affected Software

1 affected component
go crypto/x509

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    Modify HostnameError.Error() to (a) limit the number of hostnames included in the formatted error string (for example, truncate or summarize when the list exceeds a reasonable bound) to prevent unbounded output, and (b) construct the error string without repeated string concatenation (use a linear builder/streaming approach such as a string builder/buffer or join operation) to avoid quadratic runtime and excessive resource consumption.

    HostnameError.Error() hosts_print_limit and error string construction = cap number of hosts included; use linear/streaming string construction instead of repeated concatenation

Event History

Dec 2, 2025
Data Sourced
via Red Hat·08:02 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of REDHAT-BUG-2418462?

The severity of REDHAT-BUG-2418462 is considered high due to its potential for denial of service through excessive resource consumption.

2

How do I fix REDHAT-BUG-2418462?

To fix REDHAT-BUG-2418462, you should update to the latest available patch provided by Red Hat.

3

What impact does REDHAT-BUG-2418462 have on my systems?

The impact of REDHAT-BUG-2418462 includes the possibility of performance degradation and crashes due to resource exhaustion.

4

Is REDHAT-BUG-2418462 exploitable by a remote attacker?

Yes, REDHAT-BUG-2418462 can be exploited by a remote attacker through a specially crafted certificate.

5

What versions are affected by REDHAT-BUG-2418462?

REDHAT-BUG-2418462 affects various versions of Red Hat software, and users should consult the relevant advisories for specific details.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203