happyfish100 libfastcommon base64.c base64_decode stack-based overflow Fix available

CVE-2026-2016

Assigned byThe organization (CNA) that assigned this CVE ID and published the record, usually the vendor.
VulDB (opens in new tab)
Published
Last modified
NVD status
Analyzed
CVSS 3.17.8High

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.

Exploitation

Whether attackers are exploiting this vulnerability, and how likely they are to try in the next 30 days.

CISA SSVC assessmentAbout SSVC (opens in new tab)

CISA's assessment of whether it's exploited, whether attacks can be automated and how much control an attacker gains.

ExploitationWhether CISA has seen exploit code or attacks for this vulnerability.
None known
AutomatableWhether attackers can exploit it at scale without manual steps.
No
Technical impactHow much control of the affected system an attacker gains.
Partial control
Assessed

FIRST Exploit Prediction Scoring System (EPSS)About EPSS (opens in new tab)

FIRST's estimate of the chance attackers try to exploit this vulnerability in the next 30 days.

Probability of exploitationIt predicts attempts, not success, and is updated daily.
0.287%
Compared with other CVEs
At or above 21.559% of scored CVEs
Scored

Affected products

The products and versions with the vulnerability.

Listed by CNA

The products and versions affected, according to the organization that published this CVE.

VendorProductAffected versions
happyfish100libfastcommon
  • 1.0.0
  • 1.0.1
  • 1.0.2
  • 1.0.3
  • 1.0.4
  • 1.0.5
  • 1.0.6
  • 1.0.7
  • 1.0.8
  • 1.0.9
  • 1.0.10
  • 1.0.11
  • 1.0.12
  • 1.0.13
  • 1.0.14
  • 1.0.15
  • 1.0.16
  • 1.0.17
  • 1.0.18
  • 1.0.19
  • 1.0.20
  • 1.0.21
  • 1.0.22
  • 1.0.23
  • 1.0.24
  • 1.0.25
  • 1.0.26
  • 1.0.27
  • 1.0.28
  • 1.0.29
  • 1.0.30
  • 1.0.31
  • 1.0.32
  • 1.0.33
  • 1.0.34
  • 1.0.35
  • 1.0.36
  • 1.0.37
  • 1.0.38
  • 1.0.39
  • 1.0.40
  • 1.0.41
  • 1.0.42
  • 1.0.43
  • 1.0.44
  • 1.0.45
  • 1.0.46
  • 1.0.47
  • 1.0.48
  • 1.0.49
  • 1.0.50
  • 1.0.51
  • 1.0.52
  • 1.0.53
  • 1.0.54
  • 1.0.55
  • 1.0.56
  • 1.0.57
  • 1.0.58
  • 1.0.59
  • 1.0.60
  • 1.0.61
  • 1.0.62
  • 1.0.63
  • 1.0.64
  • 1.0.65
  • 1.0.66
  • 1.0.67
  • 1.0.68
  • 1.0.69
  • 1.0.70
  • 1.0.71
  • 1.0.72
  • 1.0.73
  • 1.0.74
  • 1.0.75
  • 1.0.76
  • 1.0.77
  • 1.0.78
  • 1.0.79
  • 1.0.80
  • 1.0.81
  • 1.0.82
  • 1.0.83
  • 1.0.84

How to fix the vulnerability, or reduce the risk until you can.

Severity

How serious the vulnerability is if exploited, scored from 0 to 10 with the CVSS standard (opens in new tab).

  • 7.8 HighCVSS 3.1 · PrimaryPrimary scores are NVD's own. Secondary scores come from the organization that published the CVE, or from CISA. · Scored by NVD (opens in new tab)
    Attack vectorWhere the attacker has to be. Network is the widest: anywhere on the Internet.
    Local
    Attack complexityWhether the attack depends on conditions the attacker doesn't control.
    Low
    Privileges requiredThe access the attacker needs before attacking.
    Low
    User interactionWhether someone other than the attacker has to do something, like open a link.
    None
    ScopeWhether the attack can reach beyond the vulnerable component.
    Unchanged
    ConfidentialityHow much data the attacker can read.
    High
    IntegrityHow much data the attacker can change.
    High
    AvailabilityHow much the attacker can disrupt the system or service.
    High

    CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HView in FIRST's calculator (opens in new tab)

  • 1.9 LowCVSS 4.0 · SecondaryPrimary scores are NVD's own. Secondary scores come from the organization that published the CVE, or from CISA. · Scored by VulDB (opens in new tab)
    Attack vectorWhere the attacker has to be. Network is the widest: anywhere on the Internet.
    Local
    Attack complexityWhether the attack depends on conditions the attacker doesn't control.
    Low
    Attack requirementsWhether the attack depends on how the target is deployed or configured.
    None
    Privileges requiredThe access the attacker needs before attacking.
    Low
    User interactionWhether someone other than the attacker has to do something, like open a link.
    None
    ConfidentialityHow much data the attacker can read.
    Low
    IntegrityHow much data the attacker can change.
    Low
    AvailabilityHow much the attacker can disrupt the system or service.
    Low
    Confidentiality, other systemsThe impact on other systems that depend on the vulnerable one.
    None
    Integrity, other systemsThe impact on other systems that depend on the vulnerable one.
    None
    Availability, other systemsThe impact on other systems that depend on the vulnerable one.
    None
    Exploit maturityHow far exploitation has gone, from unreported to attacks seen.
    Proof of concept

    CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:PView in FIRST's calculator (opens in new tab)

  • 5.3 MediumCVSS 3.1 · SecondaryPrimary scores are NVD's own. Secondary scores come from the organization that published the CVE, or from CISA. · Scored by VulDB (opens in new tab)
    Attack vectorWhere the attacker has to be. Network is the widest: anywhere on the Internet.
    Local
    Attack complexityWhether the attack depends on conditions the attacker doesn't control.
    Low
    Privileges requiredThe access the attacker needs before attacking.
    Low
    User interactionWhether someone other than the attacker has to do something, like open a link.
    None
    ScopeWhether the attack can reach beyond the vulnerable component.
    Unchanged
    ConfidentialityHow much data the attacker can read.
    Low
    IntegrityHow much data the attacker can change.
    Low
    AvailabilityHow much the attacker can disrupt the system or service.
    Low

    CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:LView in FIRST's calculator (opens in new tab)

  • 4.3 MediumCVSS 2.0 · SecondaryPrimary scores are NVD's own. Secondary scores come from the organization that published the CVE, or from CISA. · Scored by VulDB (opens in new tab)
    Attack vectorWhere the attacker has to be. Network is the widest: anywhere on the Internet.
    Local
    Attack complexityWhether the attack depends on conditions the attacker doesn't control.
    Low
    AuthenticationHow many times the attacker has to sign in.
    Single
    ConfidentialityHow much data the attacker can read.
    Partial
    IntegrityHow much data the attacker can change.
    Partial
    AvailabilityHow much the attacker can disrupt the system or service.
    Partial

    AV:L/AC:L/Au:S/C:P/I:P/A:PView in NVD's calculator (opens in new tab)

Weaknesses and attack patterns

The type of bug behind the vulnerability, and how attackers exploit that type.

  • Improper Restriction of Operations within the Bounds of a Memory Buffer · CWE-119 (opens in new tab)

    The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary.

    Likelihood of exploitHow likely MITRE rates attacks on this type of weakness, in general rather than for this vulnerability.
    High
    Abstraction
    Class
    Mapping guidance
    Discouraged
    Part of
  • Stack-based Buffer Overflow · CWE-121 (opens in new tab)

    The product writes past the end of a buffer that was allocated on the stack.

    Likelihood of exploitHow likely MITRE rates attacks on this type of weakness, in general rather than for this vulnerability.
    High
    Abstraction
    Variant
    Mapping guidance
    Allowed
  • Out-of-bounds Write · CWE-787 (opens in new tab)

    The product writes data past the end, or before the beginning, of the intended buffer.

    Likelihood of exploitHow likely MITRE rates attacks on this type of weakness, in general rather than for this vulnerability.
    High
    Abstraction
    Base
    Mapping guidance
    Allowed with review
    Part of

References

Advisories, patches, exploits and more about this vulnerability.

This product uses the NVD API but is not endorsed or certified by the NVD (opens in new tab). CVE records from the CVE List (opens in new tab), weakness types from MITRE's CWE (opens in new tab)™ and attack patterns from its CAPEC (opens in new tab)™ are © The MITRE Corporation, used under the CVE (opens in new tab), CWE (opens in new tab) and CAPEC (opens in new tab) terms of use. Known exploited vulnerabilities and SSVC assessments are from CISA. Exploit predictions are from FIRST's EPSS (opens in new tab). About this data