CVE-2023-52389
Research article
POCO C++ Libraries integer overflow in UTF-32 handling (CVE-2023-52389)
| CVE | CVE-2023-52389 |
|---|---|
| Published | December 01, 2026 17:20 UTC |
| Research cut-off | December 01, 2026 17:15 UTC |
| Sources reviewed | 3: NVD record (last modified 2026-06-17); CISA KEV catalog; 1 vendor bulletin |
Executive summary
CVE-2023-52389 is an integer overflow (CWE-190) in the POCO C++ Libraries, where certain UTF-32 byte sequences are mishandled [1, 3]. NVD scores it CVSS 3.1 9.8 Critical with vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H [1]. NVD's configurations list POCO versions below 1.11.8, the 1.12.0 to below 1.12.5 range, and 1.11.8, 1.11.8 p1 and 1.12.5 as affected, and the record's own ranges are inconsistent with that list [1]. The Ubuntu bulletin reports denial of service through a crash and describes arbitrary code execution only as a possibility [3]. The vulnerability is not in CISA's Known Exploited Vulnerabilities catalog as of 2026-12-01, which does not rule out exploitation [2]. The most important immediate action is to inventory every POCO-based component and upgrade it to the fixed release line in NVD's ranges, starting with services that accept external UTF-32 input [1, 3].
Key points
- CVE-2023-52389 is a CWE-190 integer overflow in POCO C++ Libraries' handling of certain UTF-32 byte sequences [1, 3].
- NVD scores it CVSS 3.1 9.8 Critical, vector AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H [1].
- The Ubuntu bulletin reports crash-based denial of service, with code execution described only as possible [3].
- NVD's affected ranges conflict with its separate list of affected versions, so verify fixes against POCO release notes [1].
- Not listed in CISA KEV as of 2026-12-01; this does not rule out exploitation [2].
Vulnerability identification
| Field | Detail |
|---|---|
| CVE ID | CVE-2023-52389 [1] |
| Vendor and product | Poco Project, POCO C++ Libraries (CPE vendor pocoproject, product poco) [1, 3] |
| Component | Handling of UTF-32 byte sequences [3] |
| Published | 2024-01-27 [1] |
| Last modified | 2026-06-17 [1] |
| Record status | Modified [1] |
| CWE | CWE-190, Integer Overflow or Wraparound. An arithmetic result exceeds the range of its numeric type and wraps to a smaller or unexpected value, so later size, length or index logic may act on the wrong number [1] |
| CVSS 3.1 | 9.8 Critical; vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H; scored by NVD (Primary) [1] |
| CISA KEV | Not listed as of 2026-12-01 [2] |
| Related identifiers | Ubuntu USN-9305-1 [3]; POCO GitHub issue 4320 and a POCO release notes entry, both listed in the NVD record [1]; a Debian LTS announcement from 2025-01 listed in the NVD record [1] |
Only NVD provides a CVSS score in the pack. The Ubuntu excerpt gives no score [3], so no scores conflict.
Vulnerability description
The flaw is in how POCO processes certain UTF-32 byte sequences. Mishandling them causes an integer overflow [3]. The Ubuntu bulletin states the stated impact is denial of service through a crash of POCO, and that arbitrary code execution is possible but described only as a possibility [3]. The NVD vector rates confidentiality, integrity and availability impacts as High [1]. The reviewed sources, however, describe demonstrated effects only as a crash [3], so the higher impacts are a scoring assumption rather than a documented result.
The flaw matters when a POCO component processes attacker-supplied UTF-32 data. Which POCO classes or features perform this processing in a given application depends on the build and usage, and that determines whether a specific deployment is reachable.
Attack surface and exploitation prerequisites
| Factor | Value | Basis |
|---|---|---|
| Access vector | Network | From CVSS vector [1] |
| Attack complexity | Low | From CVSS vector [1] |
| Privileges required | None | From CVSS vector [1] |
| User interaction | None | From CVSS vector [1] |
| Scope | Unchanged | From CVSS vector [1] |
| Trigger | Attacker-supplied UTF-32 byte sequences reaching a POCO component | Stated in bulletin [3] |
The network, low-complexity and no-privilege values come from the NVD vector and have not been confirmed by a vendor test or a technical write-up in the pack [1]. The bulletin confirms only the trigger class [3].
Impact analysis
| Property | Technically demonstrated (per sources) | Plausible, not demonstrated |
|---|---|---|
| Availability | Crash of POCO leading to denial of service [3] | Repeated crashes of services that restart automatically |
| Confidentiality | None documented [3] | Memory disclosure, if the overflow reaches reads; the vector rates it High [1] |
| Integrity | None documented [3] | Memory corruption, if the overflow reaches writes; the vector rates it High [1] |
| Code execution | Described only as possible [3] | Would require a memory corruption path not described in the pack |
| Privilege boundaries | None documented | Depends on the privileges of the hosting process |
Affected products and versions
| Vendor | Product | Affected versions per NVD | Fixed per NVD | Source and qualification |
|---|---|---|---|---|
| Poco Project | POCO C++ Libraries | Below 1.11.8 | 1.11.8 | NVD CPE range [1] |
| Poco Project | POCO C++ Libraries | 1.12.0 up to below 1.12.5 | 1.12.5 | NVD CPE range [1] |
| Poco Project | POCO C++ Libraries | 1.11.8, 1.11.8 p1, 1.12.5 | Not stated | NVD lists these as affected in a separate entry [1] |
| Ubuntu | POCO packages on 18.04 LTS, 20.04 LTS, 22.04 LTS, 24.04 LTS | Stated as affected [3] | Not in excerpt [3] | Truncated bulletin; package versions unavailable [3] |
The NVD entries conflict: the ranges say 1.11.8 and 1.12.5 are fixed, while a separate entry lists them as affected [1]. The newer or vendor-confirmed position is not determinable from the pack, so treat 1.11.8 p1 and 1.12.5 as needing verification against the POCO release notes [1]. The record's patch reference compares the 1.12.5 p2 release tag with a 1.13.0 release tag [1].
Exploitation and threat intelligence status
- Confirmed in-the-wild exploitation: none documented in the pack.
- CISA KEV: not listed as of 2026-12-01 [2]. The catalog listing is not evidence of non-exploitation [2].
- Public proof of concept: the NVD record lists patch and release-note references, with no exploit-tagged reference [1]. No exploit repository is in the pack.
- Threat actors, campaigns and targeted sectors: none attributed in the pack.
- Exploitability: the bulletin confirms the trigger class and the crash effect [3]. The remaining exploitability is inferred from the CVSS vector [1] and is an analyst assessment.
Detection and exposure assessment
- Inventory every host and container image that runs Ubuntu 18.04, 20.04, 22.04 or 24.04 and list installed POCO packages with the platform package manager. On Debian-based systems, run dpkg -l with a grep for poco; the output lists installed package names and versions (read-only).
- Identify application binaries that link POCO statically or vendor a copy of its source. A package query will miss these, so check build manifests and the library version each build reports.
- Compare each detected version with the ranges in Affected products and versions [1]. A version match indicates the vulnerable range, not that the flaw is exploitable.
- For each match, determine whether the service accepts external input that is decoded as UTF-32. This is the step that separates reachable from unreachable exposure, and it requires the application's own documentation.
- Review service logs and supervisor logs for repeated unexpected terminations of POCO-based processes, which is the crash effect the bulletin describes [3]. Correlate with the timing and source addresses of inbound requests.
Remediation
Immediate mitigation (analyst assessment, following from the network attack vector in [1])
- Restrict network access to POCO-based services that accept external data until they are upgraded. Verify with the firewall or load balancer rule set and a connection test from an untrusted network segment. Side effect: legitimate clients lose access.
- Enable automatic restart for the affected services under the service supervisor, so that a crash causes a brief outage rather than a prolonged one. Verify with a controlled restart test in a non-production environment.
Permanent fix (vendor-supported)
- Upgrade POCO to 1.11.8 for installations on the 1.11.x line below 1.11.8, and to 1.12.5 for installations on the 1.12.x line from 1.12.0 up to below 1.12.5 [1]. Confirm the target against the POCO release notes referenced in the record [1] before the change.
- For Ubuntu hosts, apply the package updates in USN-9305-1 [3]. Use the exact package versions in the updated bulletin, which the pack does not contain [3].
- After updating, restart each affected process or rebuild each statically linked binary, because the running process keeps the old library until it restarts. This follows from standard dynamic linking behaviour (analyst assessment).
Verification
- Re-run the inventory in Detection and exposure assessment and confirm no host or binary reports a version in the affected ranges.
- Confirm the services run for a sustained period without unexpected termination.
Workarounds and compensating controls
No vendor workaround is documented in the pack. The network restriction above reduces reachability but does not fix the parsing error, so it is not equivalent to upgrading.
Remediation checklist
- Inventory all hosts and images on Ubuntu 18.04, 20.04, 22.04 and 24.04 and list installed POCO packages with dpkg -l filtered for poco [3].
- Identify statically linked or vendored POCO copies in application builds and record their library versions from build manifests.
- Restrict network access to POCO-based services that accept external data until upgraded; verify with a connection test from an untrusted segment [1].
- Upgrade POCO 1.11.x installations below 1.11.8 to 1.11.8, and 1.12.x installations from 1.12.0 below 1.12.5 to 1.12.5 [1].
- Confirm the 1.11.8 p1 and 1.12.5 entries against POCO release notes, since NVD lists them as affected [1].
- On Ubuntu, apply the USN-9305-1 package updates and record the installed versions [3].
- Restart every affected service or rebuild each statically linked binary after updating, then confirm the running process loads the new version.
- Check service logs for repeated unexpected terminations of POCO-based processes and correlate them with inbound request sources [3].
- Re-run the inventory after remediation and confirm no host or binary reports an affected version [1].
Evidence gaps
- Not established by the reviewed sources: the specific POCO classes or functions where the UTF-32 handling and integer overflow occur. Source code review of the cited fix commit or the POCO issue 4320 discussion would settle this.
- Not established by the reviewed sources: the exact root cause of the overflow beyond the summary in the bulletin. Upstream fix diff and the POCO issue would show the arithmetic involved.
- Not established by the reviewed sources: whether 1.11.8 p1 and 1.12.5 are affected or fixed. The POCO release notes and vendor advisory would settle the conflict between NVD's ranges and its separate list.
- Not established by the reviewed sources: the exact fixed package versions for Ubuntu 18.04, 20.04, 22.04 and 24.04. The full USN-9305-1 text would provide them.
- Not established by the reviewed sources: EPSS exploitation probability. The FIRST EPSS score is absent from the pack.
- Not established by the reviewed sources: public proof-of-concept code or exploitation in the wild. Exploit databases and threat intelligence reports would be needed.
- Not established by the reviewed sources: indicators of compromise, network patterns or log signatures. Vendor detection guidance or an incident analysis would be needed.
- Not established by the reviewed sources: whether the record's Debian LTS announcement, POCO issue 4320 or the release notes contain additional fix details. These were listed in NVD but not reviewed.
References
- CVE-2023-52389 record. NIST National Vulnerability Database (NVD), 2026-06-17. https://nvd.nist.gov/vuln/detail/CVE-2023-52389. Accessed 2026-12-01.
- Known Exploited Vulnerabilities Catalog. Cybersecurity and Infrastructure Security Agency (CISA), 2026-12-01. https://www.cisa.gov/known-exploited-vulnerabilities-catalog. Accessed 2026-12-01.
- USN-9305-1: POCO vulnerabilities. Ubuntu USN, 2026-12-01. https://ubuntu.com/security/notices/USN-9305-1. Accessed 2026-12-01.
Summary
It was discovered that POCO incorrectly handled certain UTF-32 byte sequences, leading to an integer overflow. An attacker could possibly use this issue to cause POCO to crash, resulting in a denial of service, or possibly execute arbitrary code. This issue only affected Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, and Ubuntu 24.04 LTS. (CVE-2023-52389) It was discovered that POCO incorr…
Severity breakdown
Critical · 9.8
An attacker without an account can exploit this over the network, without any user action.
- Attack from
- the network (remotely)
- Attack complexity
- low (no special conditions)
- Login needed
- no
- User action needed
- no
- Scope
- stays within the vulnerable component
- Impact
- high on confidentiality, integrity and availability
Weakness
- CWE-190: Integer Overflow or Wraparound
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| pocoproject poco | < 1.11.8 | 1.11.8 |
| ≥ 1.12.0, < 1.12.5 | 1.12.5 | |
| 1.11.8, 1.11.8 p1, 1.12.5 | — |
References by type
Patches and fixed releases
- github.com/pocoproject/poco/compare/poco-1.12.5p2-release...poco-1.13.0…
- github.com/pocoproject/poco/issues/4320
- pocoproject.org/blog
Other references
Frequently asked questions
What is CVE-2023-52389?
CVE-2023-52389 is an integer overflow (CWE-190) in the POCO C++ Libraries, where certain UTF-32 byte sequences are mishandled. NVD scores it CVSS 3.1 9.8 Critical with vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. NVD's configurations list POCO versions below 1.11.8, the 1.12.0 to below 1.12.5 range, and 1.11.8, 1.11.8 p1 and 1.12.5 as affected, and the record's own ranges are inconsistent with that list. Weakness type: Integer Overflow or Wraparound (CWE-190).
How severe is CVE-2023-52389?
CVE-2023-52389 has a CVSS 3.1 base score of 9.8 (critical), from NVD. An attacker without an account can exploit this over the network, without any user action.
Is CVE-2023-52389 being exploited?
Not as far as is known: CVE-2023-52389 is not in CISA's Known Exploited Vulnerabilities catalog as of December 1, 2026.
Which versions are affected by CVE-2023-52389?
pocoproject poco < 1.11.8 (fixed in 1.11.8); pocoproject poco ≥ 1.12.0, < 1.12.5 (fixed in 1.12.5); pocoproject poco 1.11.8, 1.11.8 p1, 1.12.5.
How do I fix CVE-2023-52389?
Inventory all hosts and images on Ubuntu 18.04, 20.04, 22.04 and 24.04 and list installed POCO packages with dpkg -l filtered for poco. Identify statically linked or vendored POCO copies in application builds and record their library versions from build manifests. Restrict network access to POCO-based services that accept external data until upgraded; verify with a connection test from an untrusted segment.
Timeline & sources
References
Related vulnerabilities & news
- Ubuntu USN-9225-2 Blocks Two More emSign Root Certificates Through ca-certificates Update
- EDK II PXE Pre-Boot Flaw CVE-2026-97631 Gets Patches, Rollout Uneven Across Vendors
- Ubuntu Patches OpenEXR Flaws Including Heap Overflow (CVE-2021-45942)
- Ubuntu Issues libgit2 Fix for TLS IP Address Certificate Validation Flaw on 14.04 LTS
- WAGO OS Linux