stdlib
Go170 known CVEs affecting this package
Aggregated from OSV, GitHub Security Advisories, NVD, and vendor advisories. Each CVE links to its full detail page with vendor advisories, patches, fixed versions, and remediation guidance.
CVEs affecting stdlibpage 4 of 4
- CVE-2026-33811HIGHCVSS 7.5EG 7.5✓ Fixed in 1.26.32026-05-07
When using LookupCNAME with the cgo DNS resolver, a very long CNAME response can trigger a double-free of C memory and a crash.
- CVE-2026-33814HIGHCVSS 7.5EG 7.5✓ Fixed in 1.26.32026-05-07
When processing HTTP/2 SETTINGS frames, transport will enter an infinite loop of writing CONTINUATION frames if it receives a SETTINGS_MAX_FRAME_SIZE with a value of 0.
- CVE-2026-33818HIGHCVSS 7.5EG 7.5✓ Fixed in 1.27.0-rc.32026-08-13
Enforce a recursion limit in Unmarshal to prevent stack exhaustion when parsing deeply-nested, recursive structures.
- CVE-2026-39820HIGHCVSS 7.5EG 7.5✓ Fixed in 1.26.32026-05-07
Well-crafted inputs reaching ParseAddress, ParseAddressList, and ParseDate were able to trigger excessive CPU exhaustion and memory allocations.
- CVE-2026-39821CRITICALCVSS 9.6EG 10.0✓ Fixed in 1.27.0-rc.32026-05-22
The ToASCII and ToUnicode functions incorrectly accept Punycode-encoded labels that decode to an ASCII-only label. For example, ToUnicode("xn--example-.com") incorrectly returns the name "example.com" rather than an error. This behavior ca…
- CVE-2026-39822HIGHCVSS 7.8EG 7.8✓ Fixed in 1.27.0-rc.22026-07-08
On Unix systems, opening a file in an os.Root improperly follows symlinks to locations outside of the Root when the final path component of the a path is a symbolic link and the path ends in /. For example, 'root.Open("symlink/")' will ope…
- CVE-2026-39823MEDIUMCVSS 6.1EG 6.1✓ Fixed in 1.26.32026-05-07
CVE-2026-27142 fixed a vulnerability in which URLs were not correctly escaped inside of a <meta> tag's <content> attribute. If the URL content were to insert ASCII whitespaces around the '=' rune inside of the <content> attribute, the esca…
- CVE-2026-39825MEDIUMCVSS 5.3EG 5.3✓ Fixed in 1.26.32026-05-07
ReverseProxy can forward queries containing parameters not visible to Rewrite functions. When used with a Rewrite function, or a Director function which parses query parameters, ReverseProxy sanitizes the forwarded request to remove query …
- CVE-2026-39826MEDIUMCVSS 6.1EG 6.1✓ Fixed in 1.26.32026-05-07
If a trusted template author were to write a <script> tag containing an empty 'type' attribute or a 'type' attribute with an ASCII whitespace, the execution of the template would incorrectly escape any data passed into the <script> block.
- CVE-2026-39836HIGHCVSS 7.5EG 7.5✓ Fixed in 1.26.32026-05-07
The Dial and LookupPort functions panic on Windows when provided with an input containing a NUL (0).
- CVE-2026-42499HIGHCVSS 7.5EG 7.5✓ Fixed in 1.26.32026-05-07
Pathological inputs could cause DoS through consumePhrase when parsing an email address according to RFC 5322.
- CVE-2026-42504HIGHCVSS 7.5EG 7.5✓ Fixed in 1.26.42026-06-02
Decoding a maliciously-crafted MIME header containing many invalid encoded-words can consume excessive CPU.
- CVE-2026-42505MEDIUMCVSS 5.3EG 5.3✓ Fixed in 1.27.0-rc.22026-07-08
Handshakes which used Encrypted Client Hello could be de-anonymized by a passive network observer due to a disclosure of pre-shared key identities in the unencrypted client hello.
- CVE-2026-42507MEDIUMCVSS 5.3EG 5.3✓ Fixed in 1.26.42026-06-02
When returning errors, functions in the net/textproto package would include its input as part of the error. This might allow an attacker to inject misleading content to errors that are printed or logged.
- CVE-2026-46600HIGHCVSS 7.5EG 7.5✓ Fixed in 1.27.0-rc.32026-07-21
Parsing an invalid SVCB or HTTPS RR can panic when the size of a parameter value overflows the message buffer.
- CVE-2026-56853HIGHCVSS 7.5EG 7.5✓ Fixed in 1.27.0-rc.32026-08-13
When a server is configured to support unencrypted HTTP/2, it reads a few bytes from each new connection to see if they contain the HTTP/2 client preface. ReadHeaderTimeout is unexpectedly not being applied when doing this.
- CVE-2026-56858MEDIUMCVSS 6.1EG 6.1✓ Fixed in 1.27.0-rc.32026-08-13
Previously, pathological inputs could close an unescaped '/' early, allowing for attack-controlled data to inject arbitrary content, potentially leading to XSS.
- CVE-2026-56859HIGHCVSS 7.5EG 7.5✓ Fixed in 1.27.0-rc.32026-08-13
Previously, DecodeElement would reset the depth counter causing it to never fire; this could lead to stack exhaustion.
- CVE-2026-56860MEDIUMCVSS 5.9EG 5.9✓ Fixed in 1.27.0-rc.32026-08-13
Previously, resolving relative paths containing parent directory ('..') segments performed string conversions and buffer rewrites on each step, resulting in quadratic time complexity and high memory allocation overhead. Now, path resolutio…
- CVE-2026-56862HIGHCVSS 7.5EG 7.5✓ Fixed in 1.27.0-rc.32026-08-13
Handshake messages, such as KeyUpdate, are always considered as state-advancing, regardless of whether a handshake has been completed or not. As a result, a malicious client can keep sending KeyUpdate messages to force the server to keep p…
Check whether stdlib is used in your infrastructure
EchelonGraph scans your cloud and SBOMs to map every package to your actual deployments. See blast radius for stdlib CVEs against the assets you own.
Start Free Scan →