JLSEC-2026-620

Source
https://github.com/JuliaLang/SecurityAdvisories.jl/blob/main/advisories/published/2026/JLSEC-2026-620.md
Import Source
https://github.com/JuliaLang/SecurityAdvisories.jl/tree/generated/osv/2026/JLSEC-2026-620.json
JSON Data
https://api.osv.dev/v1/vulns/JLSEC-2026-620
Aliases
  • ANT-2026-YCN945B6
Upstream
  • ANT-2026-YCN945B6
Published
2026-06-23T12:59:32.708Z
Modified
2026-06-23T17:30:15.514606339Z
Summary
WebSocket reader data race in auto-PONG/CLOSE-echo handling in HTTP.jl
Details

Description

The WebSocket reader task processed incoming frames by calling ws_on_incoming_data! without holding ws.sendlock. That function is not a pure parser: its auto-PONG and CLOSE-echo paths push! onto the shared ws.codec.outgoing_frames vector, while application send/ping/pong/close paths mutate the same vector while holding ws.sendlock. Because the reader did not take the lock, a remote peer flooding PING frames against a multithreaded server (julia -t N, N>1) could drive concurrent push!/empty! of a Julia Vector from two OS threads — undefined behavior that can corrupt the array metadata or segfault the process.

Impact

A remote peer could crash, or potentially corrupt memory in, a multithreaded WebSocket server through concurrent frame processing.

Patches

Fixed in HTTP.jl v2.4.0. A new _process_incoming_data! helper acquires ws.sendlock and runs ws_on_incoming_data! followed by _flush_ws_output_locked! under the lock, making each decode atomic with its flush; all production decode call sites route through it. The blocking read stays outside the lock so concurrent senders cannot deadlock the reader, and lock ordering is unchanged.

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

Database specific
{
    "license": "CC-BY-4.0"
}
References

Affected packages

Julia / HTTP

Package

Name
HTTP
Purl
pkg:julia/HTTP?uuid=cd3eb016-35fb-5094-929b-558a96fad6f3

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.4.0

Database specific

source
"https://github.com/JuliaLang/SecurityAdvisories.jl/tree/generated/osv/2026/JLSEC-2026-620.json"