CVE-2026-9521 Details
Description
A security vulnerability has been detected in fraillt bitsery up to 5.2.4. Affected is the function loadFromSharedState in the library include/bitsery/ext/std_smart_ptr.h. Such manipulation leads to improper validation of specified type of input. It is possible to launch the attack remotely. The exploit has been disclosed publicly and may be used. Upgrading to version 5.2.5 is able to address this issue. The name of the patch is 66d16516e24893bebc1c8af52bf2fe9ad0735061. Upgrading the affected component is advised.
A vulnerability in the Bitsery library, specifically in versions through 5.2.4, allows for insecure deserialization of shared pointers. This issue arises in the 'loadFromSharedState' function within 'include/bitsery/ext/std_smart_ptr.h'. The vulnerability can be exploited remotely, leading to type confusion, address leakage, arbitrary memory reading, VTable hijacking, and potentially arbitrary code execution. The vulnerability is rooted in the library's handling of shared pointers during deserialization, which can be manipulated to reference objects of incorrect types, bypassing type checks and causing unintended behavior.
Users are advised to upgrade to Bitsery version 5.2.5, which addresses the vulnerability by implementing proper type checks during the deserialization of shared pointers. The updated version is available on the Bitsery GitHub releases page.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed May 26, 2026CISA-ADP
Assessed May 26, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://gist.github.com/TrebledJ/750abc64a826f19dd2d6774724629b71 | [email protected] | ExploitTechnical Analysis |
| https://github.com/fraillt/bitsery/ | [email protected] | ProductVendor |
| https://github.com/fraillt/bitsery/blob/master/CHANGELOG.md#525-2025-10-09 | [email protected] | Release NotesVendor |
| https://github.com/fraillt/bitsery/commit/66d16516e24893bebc1c8af52bf2fe9ad0735061 | [email protected] | Source CodeVendor |
| https://github.com/fraillt/bitsery/releases/tag/v5.2.5 | [email protected] | Release NotesVendor |
| https://vuldb.com/submit/814457 | [email protected] | Permission Required |
| https://vuldb.com/vuln/365541 | [email protected] | AdvisoryPartial Content |
| https://vuldb.com/vuln/365541/cti | [email protected] | AdvisoryPartial Content |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-1287 | Improper Validation of Specified Type of Input | [email protected] |
| CWE-20 | Improper Input Validation | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| fraillt bitsery | <= 5.2.4 (semver) |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 23, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 26, 2026 | New CVE Received | [email protected] |
Volerion