# JLSEC-2026-800: Slow DNS lookups can stall garbage collection process-wide

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2026-07-28T13:54:29.705Z
- Modified: 2026-07-28T14:00:05.181Z
- Also known as: ANT-2026-FPFYHMMM

## Description

Reseau 1.0.0 through 1.3.1 perform the blocking system `getaddrinfo` operation
from Julia-adopted resolver threads without marking the foreign call as
garbage-collector safe. An attacker who can cause an application to resolve a
slow hostname can delay stop-the-world garbage collection for the entire
process.

### Impact

While a resolver worker is blocked outside a GC-safe region, a collection
requested by any thread can stall all Julia execution until the
operating-system resolver returns. Repeated slow lookups can cause severe
service latency or temporary denial of service. Each individual stall remains
bounded by the operating system's DNS timeout.

Exploitation requires either attacker influence over hostnames the application
resolves or control of a relevant DNS response path.

### Technical details

Reseau uses a native resolver pool whose worker threads enter Julia through
`@cfunction`. The POSIX and Winsock resolver wrappers called `getaddrinfo` with
a plain `ccall`. Because the adopted thread could not reach a safepoint while
the resolver blocked, Julia's collector had to wait for it.

### Patches

Upgrade to Reseau 1.3.2 or later. The resolver now uses Reseau's
`@gcsafe_ccall` wrapper for the blocking system call on both POSIX and Windows.

### Workarounds

Reject or strictly allowlist attacker-supplied hostnames before resolution and
cache validated DNS results where appropriate. Isolating untrusted resolution
in a separate process also prevents its resolver timeout from blocking the
main Julia process. These measures are application-dependent; upgrading is the
complete fix.

Reported to the JuliaLang security team through Anthropic's Coordinated
Vulnerability Disclosure program.

(As written by Julia Security Advisories.)

## Affected

- Reseau (Julia): from 1.0.0 before 1.3.2

## References

- <https://github.com/JuliaServices/Reseau.jl/commit/ea95f091baaf7386267fd633742768121dfe20ff> (web)
- <https://github.com/JuliaServices/Reseau.jl/pull/132> (web)
- <https://github.com/JuliaServices/Reseau.jl/releases/tag/v1.3.2> (web)

## Sources

- Julia Security Advisories: [JLSEC-2026-800](https://osv.dev/vulnerability/JLSEC-2026-800), CC-BY-4.0, modified 2026-07-28

---

Page: https://cve.day/JLSEC-2026-800 · Whole record: https://cve.day/JLSEC-2026-800.json · Rebuilt by cve.day 2026-11-25T22:56:26.242Z
