p PatchFirst

CVE-2026-108518

CVE-2026-108518 · DBI versions before 1.656 for Perl crash via type confusion in dbi_profile when a database handle is destroyed under a Profile Path with an {attr} element

This page contains facts from public vulnerability sources. Check the original advisory before updating.

DBI versions before 1.656 for Perl crash via type confusion in dbi_profile when a database handle is destroyed under a Profile Path with an {attr} element. An {attr} element names a database handle attribute, which dbi_profile reads from the handle's inner hash. It expects the inner handle as a reference and dereferences it, but a handle that is being destroyed hands back the inner hash itself, so the dereference yields the hash's bucket array. A type check on that pointer usually fails and the call goes unprofiled. When the memory it addresses passes the check, the attribute lookup dereferences a NULL or invalid pointer and the process dies on SIGSEGV. The Path is set by the application, by the Profile handle attribute, or by the DBI_PROFILE environment variable, so `DBI_PROFILE={ImplementorClass}` can crash an unmodified program.

EPSS 0.2%

Published
Updated

Stack: system

Affected products and versions

  • libdbi-perl Debian:12

    Versions
    • 1.643-4
    • 1.643-4+deb12u1
    • 1.643-4+deb12u2
    • 1.643-4+deb12u3
    • 1.644-1
    • 1.645-1
    • 1.647-1
    • 1.648-1
    • 1.649-1
    • 1.650-1
    • 1.651-1
    • 1.652-1
    • 1.652-2
    • 1.652-2~deb13u1
    • 1.653-1
    • 1.654-1
    • 1.655-1
    • 1.656-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • libdbi-perl Debian:13

    Versions
    • 1.647-1
    • 1.647-1+deb13u1
    • 1.648-1
    • 1.649-1
    • 1.650-1
    • 1.651-1
    • 1.652-1
    • 1.652-2
    • 1.652-2~deb13u1
    • 1.653-1
    • 1.654-1
    • 1.655-1
    • 1.656-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • libdbi-perl Debian:14

    Versions
    • 1.647-1
    • 1.648-1
    • 1.649-1
    • 1.650-1
    • 1.651-1
    • 1.652-1
    • 1.652-2
    • 1.652-2~deb13u1
    • 1.653-1
    • 1.654-1
    • 1.655-1
    • 1.656-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • libdbi-perl Ubuntu:Pro:14.04:LTS

    Versions
    • 1.627-1
    • 1.628-1
    • 1.630-1
    • 1.630-1ubuntu0.1~esm1
    • 1.630-1ubuntu0.1~esm4
    • 1.630-1ubuntu0.1~esm5
    • 1.630-1ubuntu0.1~esm6
    • 1.630-1ubuntu0.1~esm8
    • 1.630-1ubuntu0.1~esm9
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • libdbi-perl Ubuntu:Pro:16.04:LTS

    Versions
    • 1.633-1
    • 1.634-1
    • 1.634-1build1
    • 1.634-1ubuntu0.1
    • 1.634-1ubuntu0.2
    • 1.634-1ubuntu0.2+esm1
    • 1.634-1ubuntu0.2+esm2
    • 1.634-1ubuntu0.2+esm4
    • 1.634-1ubuntu0.2+esm5
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • libdbi-perl Ubuntu:Pro:18.04:LTS

    Versions
    • 1.637-1
    • 1.639-1
    • 1.640-1
    • 1.640-1ubuntu0.1
    • 1.640-1ubuntu0.2
    • 1.640-1ubuntu0.3
    • 1.640-1ubuntu0.3+esm1
    • 1.640-1ubuntu0.3+esm3
    • 1.640-1ubuntu0.3+esm4
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • libdbi-perl Ubuntu:Pro:20.04:LTS

    Versions
    • 1.642-1
    • 1.642-1build1
    • 1.643-1
    • 1.643-1ubuntu0.1
    • 1.643-1ubuntu0.1+esm1
    • 1.643-1ubuntu0.1+esm3
    • 1.643-1ubuntu0.1+esm4
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • libdbi-perl Ubuntu:22.04:LTS

    Versions
    • 1.643-3build2
    • 1.643-3build3
    • 1.643-3ubuntu0.1
    • 1.643-3ubuntu0.3
    • 1.643-3ubuntu0.4
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • libdbi-perl Ubuntu:24.04:LTS

    Versions
    • 1.643-4
    • 1.643-4build1
    • 1.643-4build2
    • 1.643-4build3
    • 1.643-4ubuntu0.1
    • 1.643-4ubuntu0.3
    • 1.643-4ubuntu0.4
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • libdbi-perl Ubuntu:26.10

    Versions
    • 1.647-1build1
    • 1.648-1
    • 1.651-1
    • 1.652-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • libdbi-perl Ubuntu:26.04:LTS

    Versions
    • 1.647-1
    • 1.647-1build1
    • 1.647-1ubuntu0.26.04.1
    • 1.647-1ubuntu0.26.04.3
    • 1.647-1ubuntu0.26.04.4
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →