CVE catalog

CVE-2022-0699

shapelib: CVE-2022-0699

[CVE catalog]

Severity
Critical · CVSS 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published
Source
[NVD] · [CVE record]
EPSS
1.66% · Oct 25, 2026

A double-free condition exists in contrib/shpsort.c of shapelib 1.5.0 and older releases. This issue may allow an attacker to cause a denial of service or have other unspecified impact via control over malloc.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianshapelibsid1.6.3-1fixed
Debianshapelibforky1.6.3-1fixed
Debianshapelibtrixie1.6.1-1fixed
Debianshapelibbookworm1.5.0-3fixed
Ubuntushapelib16.041.3.0-5vulnerable
Ubuntushapelib18.041.4.0-1vulnerable
Ubuntushapelib18.041.4.1-1vulnerable
Ubuntushapelib20.041.5.0-1vulnerable
Ubuntushapelib20.041.5.0-1build1vulnerable
Ubuntushapelib22.041.5.0-2vulnerable
Opensuseshapelibtumbleweed1.5.0-2.1fixed
Suseshapelibpackage hub 15 sp31.5.0-bp153.2.3.1fixed
Opensuseshapelibleap 15.31.5.0-bp153.2.3.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianshapelibsourcesid1.5.0-3not yet assignedNot reported[1022557]
Debianshapelibsourceforky1.5.0-3not yet assignedNot reported[1022557]
Debianshapelibsourcetrixie1.5.0-3not yet assignedNot reported[1022557]
Debianshapelibsourcebookworm1.5.0-3not yet assignedNot reported[1022557]
Opensuseshapelibrpmtumbleweed1.5.0-2.1Not reportedOPENSUSE-SU-2024:11863-1Not reported
Suseshapelibrpmpackage hub 15 sp31.5.0-bp153.2.3.1Not reportedOPENSUSE-SU-2022:0068-1Not reported
Opensuseshapelibrpmleap 15.31.5.0-bp153.2.3.1Not reportedOPENSUSE-SU-2022:0068-1Not reported

[Debian bug #1022557]

OpenFactory catalog packages

[openSUSE Tumbleweed]

  • [libshp4]Unknown

    Source package: [shapelib]

    Details (1)
    • 1.6.1-1.7 · x86_64 · tumbleweed

      Unknown · Fixed: 1.5.0-2.1

      Version impact unknown

      dsa · shapelib · opensuse · tumbleweed

  • [libshp-devel]Unknown

    Source package: [shapelib]

    Details (1)
    • 1.6.1-1.7 · x86_64 · tumbleweed

      Unknown · Fixed: 1.5.0-2.1

      Version impact unknown

      dsa · shapelib · opensuse · tumbleweed

  • [shapelib]Fixed

    Source package: [shapelib]

    Details (1)
    • 1.6.1-1.7 · x86_64 · tumbleweed

      Fixed · Fixed: 1.5.0-2.1

      dsa · shapelib · opensuse · tumbleweed

[Debian 12 (Bookworm)]

  • [libshp2]Fixed

    Source package: [shapelib]

    Details (2)
    • 1.5.0-3+b1 · amd64 · bookworm

      Fixed · Fixed: 1.5.0-3

      dsa · shapelib · debian · bookworm

    • 1.5.0-3+b1 · arm64 · bookworm

      Fixed · Fixed: 1.5.0-3

      dsa · shapelib · debian · bookworm

  • [libshp-dev]Fixed

    Source package: [shapelib]

    Details (2)
    • 1.5.0-3+b1 · amd64 · bookworm

      Fixed · Fixed: 1.5.0-3

      dsa · shapelib · debian · bookworm

    • 1.5.0-3+b1 · arm64 · bookworm

      Fixed · Fixed: 1.5.0-3

      dsa · shapelib · debian · bookworm

  • [shapelib]Fixed

    Source package: [shapelib]

    Details (2)
    • 1.5.0-3+b1 · amd64 · bookworm

      Fixed · Fixed: 1.5.0-3

      dsa · shapelib · debian · bookworm

    • 1.5.0-3+b1 · arm64 · bookworm

      Fixed · Fixed: 1.5.0-3

      dsa · shapelib · debian · bookworm

Observed:

References