CVE-2026-2016 Details
Description
A security vulnerability has been detected in happyfish100 libfastcommon up to 1.0.84. Affected by this vulnerability is the function base64_decode of the file src/base64.c. The manipulation leads to stack-based buffer overflow. Local access is required to approach this attack. The exploit has been disclosed publicly and may be used. The identifier of the patch is 82f66af3e252e3e137dba0c3891570f085e79adf. Applying a patch is the recommended action to fix this issue.
A heap-based buffer overflow vulnerability exists in happyfish100 libfastcommon versions through 1.0.84. The issue is located in the base64_decode function within src/base64.c. This vulnerability arises from improper length calculations of the destination buffer when the function processes maliciously crafted Base64 input that contains excessive padding or invalid characters. This miscalculation leads to an out-of-bounds write, where a null byte is incorrectly written beyond the allocated buffer, potentially overwriting adjacent memory on the heap.
Users are advised to update to the latest version of libfastcommon, where this vulnerability has been fixed.
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.
CISA-ADP
Assessed Feb 6, 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://github.com/happyfish100/libfastcommon/ | [email protected] | Product |
| https://github.com/happyfish100/libfastcommon/commit/82f66af3e252e3e137dba0c3891570f085e79adf | [email protected] | Patch |
| https://github.com/happyfish100/libfastcommon/issues/55 | [email protected] | ExploitVendor Advisory |
| https://github.com/happyfish100/libfastcommon/issues/55#issue-3836362577 | [email protected] | ExploitVendor Advisory |
| https://github.com/happyfish100/libfastcommon/issues/55#issuecomment-3776757848 | [email protected] | ExploitVendor Advisory |
| https://vuldb.com/?ctiid.344598 | [email protected] | Permissions RequiredVDB Entry |
| https://vuldb.com/?id.344598 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/?submit.743873 | [email protected] | Third Party AdvisoryVDB Entry |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-787 | Out-of-bounds Write | [email protected] |
| CWE-119 | Improper Restriction of Operations within the Bounds of a Memory Buffer | [email protected] |
| CWE-121 | Stack-based Buffer Overflow | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| happyfish100 libfastcommon | <= 1.0.84 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 29, 2026 | Data Remediation | [email protected] |
| Feb 17, 2026 | Initial Analysis | [email protected] |
| Feb 6, 2026 | New CVE Received | [email protected] |