JLSEC-2026-798

Source
https://github.com/JuliaLang/SecurityAdvisories.jl/blob/main/advisories/published/2026/JLSEC-2026-798.md
Import Source
https://github.com/JuliaLang/SecurityAdvisories.jl/tree/generated/osv/2026/JLSEC-2026-798.json
JSON Data
https://api.osv.dev/v1/vulns/JLSEC-2026-798
Aliases
  • ANT-2026-DEPR14J5
Published
2026-07-28T13:54:29.705Z
Modified
2026-07-28T14:00:05.195149621Z
Summary
TLS 1.3 KeyUpdate handling can race concurrent writes
Details

Reseau 1.1.0 through 1.3.1 process a peer-requested TLS 1.3 KeyUpdate(update_requested) response from the read path without acquiring the connection's write lock. A connected peer can race that response against an application task writing on the same connection.

Impact

The two tasks can concurrently use and replace shared write-cipher state, including the record sequence number, nonce and output buffers, key material, and OpenSSL AEAD context. Depending on timing, this can cause AEAD nonce reuse, corrupted or disclosed plaintext, use-after-free behavior in OpenSSL, or process termination.

The attack requires TLS 1.3, concurrent reader and writer tasks, and winning a race with an otherwise valid post-handshake KeyUpdate message.

Technical details

Application writes hold conn.write_lock, but the vulnerable KeyUpdate handler wrote its response and called _tls13_advance_write_cipher! while holding only the read lock. The application writer and handler could therefore encrypt with the same sequence number, resize a shared output buffer while another task held its pointer across an I/O yield, or free and replace an EVP context still in use by the writer.

The vulnerable native TLS implementation first shipped in Reseau 1.1.0. Releases 1.0.x used the previous OpenSSL TLS engine and are not affected.

Patches

Upgrade to Reseau 1.3.2 or later. The fix serializes both the KeyUpdate response and write-cipher rotation under the same write lock used by application writes.

Workarounds

Configuring connections to use TLS 1.2, or ensuring that no application writer runs concurrently with the connection reader, avoids this particular race. Upgrading is recommended because those restrictions can be difficult to enforce for full-duplex protocols.

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

Database specific
{
    "license": "CC-BY-4.0"
}
References
Credits
    • Julia Security Team in collaboration with Claude and Anthropic Research - FINDER

Affected packages

Julia / Reseau

Package

Name
Reseau
Purl
pkg:julia/Reseau?uuid=802f3686-a58f-41ce-bb0c-3c43c75bba36

Affected ranges

Type
SEMVER
Events
Introduced
1.1.0
Fixed
1.3.2

Database specific

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