# CVE-2023-5685: Xnio: stackoverflowexception when the chain of notifier states becomes problematically big

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 4.96% (percentile 93, 2026-11-26)
- **CWE:** CWE-400
- **Aliases:** GHSA-7f88-5hhx-67m2
- **Published:** 2024-03-22T18:24:42.696Z
- **Modified:** 2026-11-27T07:38:59.958Z

## Who should check

- Projects that depend on Maven package org.jboss.xnio:xnio-api (\< 3.8.14.Final)
- Anyone running Red Hat build of Apache Camel 4.4.0 for Spring Boot (versions: see the vendor advisory)
- Anyone running Red Hat JBoss Enterprise Application Platform all versions
- Anyone running Red Hat JBoss Enterprise Application Platform 7.1 EUS for RHEL 7 all versions
- Anyone running Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7 all versions
- Anyone running Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 8 all versions
- Anyone running Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 9 all versions
- Anyone running Red Hat JBoss Enterprise Application Platform 7.4 on RHEL 7 all versions

## Description

A flaw was found in XNIO. The XNIO NotifierState that can cause a Stack Overflow Exception when the chain of notifier states becomes problematically large can lead to uncontrolled resource management and a possible denial of service (DoS).

## Affected and fixed versions

- Maven `org.jboss.xnio:xnio-api`: affected \< 3.8.14.Final; fixed 3.8.14.Final (osv)
- Red Hat build of Apache Camel 4.4.0 for Spring Boot: see vendor advisory (cvelist)
- Red Hat JBoss Enterprise Application Platform: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 7.1 EUS for RHEL 7: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 7.1 EUS for RHEL 7: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 7.1 EUS for RHEL 7: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 7.1 EUS for RHEL 7: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 7.1 EUS for RHEL 7: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 7.1 EUS for RHEL 7: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 7.1 EUS for RHEL 7: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 7.1 EUS for RHEL 7: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 7.1 EUS for RHEL 7: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 8: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 9: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 7.4 on RHEL 7: all versions (cvelist)
- Red Hat build of Apache Camel for Spring Boot 3: see vendor advisory (cvelist)
- Red Hat build of Apache Camel - HawtIO 4: all versions (cvelist)
- Red Hat Build of Keycloak: see vendor advisory (cvelist)
- Red Hat Data Grid 8: see vendor advisory (cvelist)
- Red Hat Integration Camel K 1: all versions (cvelist)
- Red Hat JBoss Data Grid 7: see vendor advisory (cvelist)
- Red Hat JBoss Enterprise Application Platform 8: see vendor advisory (cvelist)
- Red Hat JBoss Enterprise Application Platform Expansion Pack: see vendor advisory (cvelist)
- Red Hat JBoss Fuse Service Works 6: see vendor advisory (cvelist)
- Red Hat Process Automation 7: all versions (cvelist)
- Red Hat Single Sign-On 7: see vendor advisory (cvelist)

## Mitigation

- Upgrade org.jboss.xnio:xnio-api to 3.8.14.Final or later.
- Vendor workaround: There is currently no mitigation available for this vulnerability. Please keep the packages up-to-date as the updates become available.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-5685. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-5685.md
Affected: org.jboss.xnio:xnio-api < 3.8.14.Final
Fixed in: 3.8.14.Final

Steps:
1. Search this machine and project for org.jboss.xnio:xnio-api (Maven), Red Hat build of Apache Camel 4.4.0 for Spring Boot, Red Hat JBoss Enterprise Application Platform, Red Hat JBoss Enterprise Application Platform 7.1 EUS for RHEL 7, Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7, Red Hat JBoss Enterprise Applicati…: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2023-5685 being exploited?

There is no confirmed exploitation: CVE-2023-5685 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 4.96% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2023-5685?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2023-5685?

org.jboss.xnio:xnio-api \< 3.8.14.Final.

### Is there a fix for CVE-2023-5685?

Yes. Fixed in 3.8.14.Final. Upgrade org.jboss.xnio:xnio-api to 3.8.14.Final or later. Vendor workaround: There is currently no mitigation available for this vulnerability. Please keep the packages up-to-date as the updates become available.

### How do I check if I'm affected by CVE-2023-5685?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://access.redhat.com/errata/RHSA-2023:7637>
- vendor: <https://access.redhat.com/errata/RHSA-2023:7638>
- vendor: <https://access.redhat.com/errata/RHSA-2023:7639>
- vendor: <https://access.redhat.com/errata/RHSA-2023:7641>
- vendor: <https://access.redhat.com/errata/RHSA-2024:10207>
- vendor: <https://access.redhat.com/errata/RHSA-2024:10208>
- vendor: <https://access.redhat.com/errata/RHSA-2024:2707>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2023-5685>
- patch: <https://github.com/xnio/xnio/commit/ffabdcdda508ef87aeadad5ca3f854e274d60ec1>
- other: <https://access.redhat.com/security/cve/CVE-2023-5685>
- other: <https://bugzilla.redhat.com/show_bug.cgi?id=2241822>
- other: <https://github.com/xnio/xnio>
- other: <https://github.com/xnio/xnio/blob/3.8.13.Final/api/src/main/java/org/xnio/AbstractIoFuture.java#L249>
- other: <https://issues.redhat.com/browse/XNIO-423>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-5685>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-7f88-5hhx-67m2> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2023-5685> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-5685>
