Bug 2494272 - CVE-2026-27145 mkcert: golang crypto/x509: Denial of Service via excessive processing of DNS SAN entries [fedora-all]
Summary: CVE-2026-27145 mkcert: golang crypto/x509: Denial of Service via excessive pr...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: mkcert
Version: rawhide
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
Assignee: Dick Marinus
QA Contact:
URL:
Whiteboard: {"flaws": ["1765a0c8-adb1-4223-88bf-d...
Depends On:
Blocks: CVE-2026-27145
TreeView+ depends on / blocked
 
Reported: 2026-06-29 14:18 UTC by jkelly
Modified: 2026-06-30 19:26 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2026-06-30 19:26:58 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description jkelly 2026-06-29 14:18:16 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

(*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.

Comment 1 Dick Marinus 2026-06-30 19:26:58 UTC
mkcert can only be executed by a system user and not externally so DoS doesn't apply.


Note You need to log in before you can comment on or make changes to this bug.