{"answers":{"affected":"4 open source packages ship an affected version, including io.netty:netty-handler-ssl-ocsp. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-56822 exists.","fix":"Upgrade io.netty:netty-handler-ssl-ocsp to a fixed version for your release line: 4.1.136.Final or 4.2.16.Final.","what":"CVE-2026-56822 is a high-severity vulnerability in Netty Netty, published on 28 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-56822 and fix it if it is affected.\n\nWhat it is: CVE-2026-56822 is a high-severity vulnerability in Netty Netty, published on 28 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-56822 exists.\n\nAffected packages and fixed versions:\n- io.netty:netty-handler-ssl-ocsp (Maven): affected all versions; fixed in 4.1.136.Final\n- io.netty:netty-handler-ssl-ocsp (Maven): affected all versions; fixed in 4.1.136.Final\n- io.netty:netty-handler-ssl-ocsp (Maven): affected from 4.2.0.Final; fixed in 4.2.16.Final\n- io.netty:netty-handler-ssl-ocsp (Maven): affected from 4.2.0.Final; fixed in 4.2.16.Final\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-56822/ (Markdown: https://insights.sbomify.com/CVE-2026-56822/index.md)","id":"CVE-2026-56822","markdown":"https://insights.sbomify.com/CVE-2026-56822/index.md","name":"CVE-2026-56822","record":{"aliases":["CLEANSTART-2026-DF40874","CLEANSTART-2026-RU96271","DEBIAN-CVE-2026-56822","ECHO-b0f9-ed1f-4fd2","GHSA-wc96-39fc-566f","MINI-4jfh-3j3g-9gqj","MINI-4mxq-6cxx-f48g","MINI-6g5g-v55r-g975","MINI-7m58-3585-8hc5","MINI-8xrx-f8r8-22gv","MINI-qjg3-8xj5-w263","MINI-rxgx-x2w2-w52x","MINI-w363-8m3c-882m","MINI-w799-vw4f-f482","MINI-xqrr-q2mh-r2fq","UBUNTU-CVE-2026-56822"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Netty network framework","requires_auth":"none","summary":"Attackers can exploit a race condition in Netty's OCSP validator to leak sensitive data to revoked servers before the connection is closed.","user_interaction":"not_required","vuln_class":"race_condition"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"netty","vendor":"netty"}],"cvss":{"score":7.4,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-367","name":"Time-of-check Time-of-use (TOCTOU) Race Condition"}],"description":"Netty is an asynchronous, event-driven network application framework. Prior to versions 4.1.136.Final and 4.2.16.Final, the OcspServerCertificateValidator forwards the SslHandshakeCompletionEvent before the asynchronous OCSP validation completes. This allows the client's downstream handlers to send sensitive application data (e.g., HTTP requests) to a revoked server before the channel is closed by the OCSP check. n io.netty.handler.ssl.ocsp.OcspServerCertificateValidator#userEventTriggered, when an SslHandshakeCompletionEvent is received, the validator immediately calls ctx.fireUserEventTriggered(evt). It then initiates an asynchronous OCSP query using OcspClient.query. Because the handshake completion event is forwarded immediately, downstream handlers in the client's pipeline are notified that the TLS handshake is successful. They may then begin reading and processing incoming application data or sending outgoing data. If the OCSP response later indicates the server's certificate is REVOKED, the validator closes the channel, but by this time, the client may have already leaked sensitive data to a revoked server or processed malicious responses from it. This issue has been fixed in versions 4.1.136.Final and 4.2.16.Final.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Netty: TOCTOU in OcspServerCertificateValidator","id":"CVE-2026-56822","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":"netty:netty","products":["netty:netty"],"type":"race_condition","year":"2026"},"n_packages":4,"n_references":1,"next":{"headline":"AutoGPT: IDOR in Webhook Ping Endpoint Allows Enumeration and Cross-User Ping Triggering","id":"CVE-2026-56823"},"packages":[{"ecosystem":"Maven","fixed":["4.1.136.Final"],"introduced":["0"],"last_affected":[],"package":"io.netty:netty-handler-ssl-ocsp","purl":null,"source":"GHSA-wc96-39fc-566f"},{"ecosystem":"Maven","fixed":["4.1.136.Final"],"introduced":["0"],"last_affected":[],"package":"io.netty:netty-handler-ssl-ocsp","purl":"pkg:maven/io.netty/netty-handler-ssl-ocsp","source":"GHSA-wc96-39fc-566f"},{"ecosystem":"Maven","fixed":["4.2.16.Final"],"introduced":["4.2.0.Final"],"last_affected":[],"package":"io.netty:netty-handler-ssl-ocsp","purl":null,"source":"GHSA-wc96-39fc-566f"},{"ecosystem":"Maven","fixed":["4.2.16.Final"],"introduced":["4.2.0.Final"],"last_affected":[],"package":"io.netty:netty-handler-ssl-ocsp","purl":"pkg:maven/io.netty/netty-handler-ssl-ocsp","source":"GHSA-wc96-39fc-566f"}],"prev":{"headline":"Netty: Out-of-date OCSP Responses Accepted by OcspServerCertificateValidator","id":"CVE-2026-56821"},"products":["netty"],"published":"2026-07-28","related":[{"cvss_score":9.1,"headline":"Netty: SNI Routing Bypass via Fragmented TLS ClientHello Causing Fallback to Default SslContext","id":"CVE-2026-75595","kev_date_added":null,"published":"2026-08-19"},{"cvss_score":8.7,"headline":"Netty: Fragmented ClientHello records trigger quadratic pre-handshake reassembly in default SNI parsing","id":"CVE-2026-75596","kev_date_added":null,"published":"2026-08-19"},{"cvss_score":8.7,"headline":"Netty Bzip2Decoder: Infinite Loop in RLE State Machine Leads to Event-Loop Thread Hang","id":"CVE-2026-59901","kev_date_added":null,"published":"2026-07-29"},{"cvss_score":8.7,"headline":"Netty codec-haproxy: Signed-Byte Sentinel Collision in HAProxyMessageDecoder Leads to Unbounded Memory Exhaustion","id":"CVE-2026-55851","kev_date_added":null,"published":"2026-07-21"},{"cvss_score":8.7,"headline":"Netty SpdyHttpDecoder: ByteBuf Reference Leak on RST_STREAM Leads to Native Memory Exhaustion","id":"CVE-2026-56745","kev_date_added":null,"published":"2026-07-21"},{"cvss_score":8.7,"headline":"Netty Vulnerable to DNS Cache Poisoning via Missing Bailiwick Checks in CNAME Records","id":"CVE-2026-45674","kev_date_added":null,"published":"2026-06-12"},{"cvss_score":8.7,"headline":"Netty has Insufficient Bailiwick Validation for NS Records","id":"CVE-2026-47691","kev_date_added":null,"published":"2026-06-12"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-07-30","vendors":["netty"]},"summary":"Attackers can exploit a race condition in Netty's OCSP validator to leak sensitive data to revoked servers before the connection is closed.","url":"https://insights.sbomify.com/CVE-2026-56822/"}