CVE-2026-2016 happyfish100 libfastcommon base64.c base64_decode stack-based overflow

Medium 4.8 Published Updated

A stack-based buffer overflow in libfastcommon's base64 decoder allows local attackers to execute arbitrary code or cause denial of service.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-2016?

CVE-2026-2016 is a medium-severity memory corruption vulnerability in happyfish100 libfastcommon, published on 6 Feb 2026. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Weakness: CWE-121, CWE-787, CWE-119

Which versions are affected by CVE-2026-2016?

It affects 1 product.

Products include Happyfish100 Libfastcommon.

How do I fix CVE-2026-2016?

No fix has been published for CVE-2026-2016 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2026-2016 being exploited?

There is no known exploitation of CVE-2026-2016 in the wild and no public exploit code.

Sources

Also known as GHSA-v5g8-2q7f-c524.

Is CVE-2026-2016 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free