VYPR

CWE-460

Improper Cleanup on Thrown Exception

BaseDraftLikelihood: Medium

Description

The product does not clean up its state or incorrectly cleans up its state when an exception is thrown, leading to unexpected state or control flow.

Often, when functions or loops become complicated, some level of resource cleanup is needed throughout execution. Exceptions can disturb the flow of the code and prevent the necessary cleanup from happening.

Hierarchy (View 1000)

Children

none

CVEs mapped to this weakness (26)

page 2 of 2
  • CVE-2026-33481MedMar 26, 2026
    risk 0.27cvss 5.3epss 0.00

    Syft is a a CLI tool and Go library for generating a Software Bill of Materials (SBOM) from container images and filesystems. Syft versions before v1.42.3 would not properly cleanup temporary storage if the temporary storage was exhausted during a scan. When scanning archives…

  • CVE-2026-48524LowMay 28, 2026
    risk 0.17cvss 3.7epss 0.00

    PyJWT is a JSON Web Token implementation in Python. Prior to 2.13.0, PyJWKClient.get_signing_key() forces a fresh HTTP request to the JWKS endpoint for every JWT with an unknown kid value, with no rate limiting. Since kid comes from the unverified token header, an attacker can…

  • CVE-2025-59399LowSep 15, 2025
    risk 0.13cvss 3.1epss 0.00

    libocpp before 0.28.0 allows a denial of service (EVerest crash) because a secondary exception is thrown during error message generation.

  • CVE-2022-3301LowSep 26, 2022
    risk 0.09cvss 2.4epss 0.01

    Improper Cleanup on Thrown Exception in GitHub repository ikus060/rdiffweb prior to 2.4.8.

  • CVE-2022-4744HigMar 30, 2023
    risk 0.00cvss 7.8epss 0.00

    A double-free flaw was found in the Linux kernel’s TUN/TAP device driver functionality in how a user registers the device when the register_netdevice function fails (NETDEV_REGISTER notifier). This flaw allows a local user to crash or potentially escalate their privileges on…

  • CVE-2017-15127MedJan 14, 2018
    risk 0.00cvss 5.5epss 0.00

    A flaw was found in the hugetlb_mcopy_atomic_pte function in mm/hugetlb.c in the Linux kernel before 4.13. A superfluous implicit page unlock for VM_SHARED hugetlbfs mapping could trigger a local denial of service (BUG).