CVE catalog

CVE-2024-6197

curl: CVE-2024-6197

[CVE catalog]

Severity
High · CVSS 7.5CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Published
Source
[NVD] · [CVE record]
EPSS
4.30% · Oct 25, 2026

libcurl's ASN1 parser has this utf8asn1str() function used for parsing an ASN.1 UTF-8 string. Itcan detect an invalid field and return error. Unfortunately, when doing so it also invokes `free()` on a 4 byte localstack buffer. Most modern malloc implementations detect this error and immediately abort. Some however accept the input pointer and add that memory to its list of available chunks. This leads to the overwriting of nearby stack memory. The content of the overwrite is decided by the `free()` implementation; likely to be memory pointers and a set of flags. The most likely outcome of exploting this flaw is a crash, although it cannot be ruled out that more serious results can be had in special circumstances.

Vulnerable and fixed packages

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

DistributionPackageReleaseVersionStatus
Debiancurlsid8.23.0-1fixed
Debiancurlforky8.22.0-1fixed
Debiancurltrixie8.14.1-2+deb13u5fixed
Debiancurltrixie-security8.14.1-2+deb13u7fixed
Debiancurlbookworm7.88.1-10+deb12u15not affected
Debiancurlbookworm-security7.88.1-10+deb12u5not affected
Alpinecurl3.178.9.0-r0fixed
Alpinecurl3.188.9.0-r0fixed
Alpinecurl3.198.9.0-r0fixed
Alpinecurl3.208.9.0-r0fixed
Alpinecurl3.218.9.0-r0fixed
Alpinecurl3.228.9.0-r0fixed
Alpinecurl3.238.9.0-r0fixed
Alpinecurl3.248.9.0-r0fixed
Opensusecurltumbleweed8.9.0-1.1fixed
Susecurllinux enterprise module for basesystem 15 sp68.6.0-150600.4.3.1fixed
Opensusecurlleap 15.68.6.0-150600.4.3.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiancurlsourcesid8.9.0-1not yet assignedNot reported[1076996]
Debiancurlsourceforky8.9.0-1not yet assignedNot reported[1076996]
Debiancurlsourcetrixie8.9.0-1not yet assignedNot reported[1076996]
DebiancurlsourcebookwormNot affectedunimportantNot reported[1076996]
Alpinecurlapk3.178.9.0-r0Not reportedALPINE-CVE-2024-6197Not reported
Alpinecurlapk3.188.9.0-r0Not reportedALPINE-CVE-2024-6197Not reported
Alpinecurlapk3.198.9.0-r0Not reportedALPINE-CVE-2024-6197Not reported
Alpinecurlapk3.208.9.0-r0Not reportedALPINE-CVE-2024-6197Not reported
Alpinecurlapk3.218.9.0-r0Not reportedALPINE-CVE-2024-6197Not reported
Alpinecurlapk3.228.9.0-r0Not reportedALPINE-CVE-2024-6197Not reported
Alpinecurlapk3.238.9.0-r0Not reportedALPINE-CVE-2024-6197Not reported
Alpinecurlapk3.248.9.0-r0Not reportedALPINE-CVE-2024-6197Not reported
Opensusecurlrpmtumbleweed8.9.0-1.1Not reportedOPENSUSE-SU-2024:14225-1Not reported
Susecurlrpmlinux enterprise module for basesystem 15 sp68.6.0-150600.4.3.1Not reportedSUSE-SU-2024:2784-1Not reported
Opensusecurlrpmleap 15.68.6.0-150600.4.3.1Not reportedSUSE-SU-2024:2784-1Not reported

[Debian bug #1076996]

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

[Debian 12 (Bookworm)]

  • [curl]Unknown
    Details (6)
    • 7.88.1-10+deb12u15 · amd64 · bookworm

      Not affected

      dsa · curl · debian · bookworm

    • 7.88.1-10+deb12u15 · arm64 · bookworm

      Not affected

      dsa · curl · debian · bookworm

    • 8.14.1-2+deb13u2~bpo13+1 · amd64 · bookworm-backports

      Not affected

      dsa · curl · debian · bookworm

    • 8.14.1-2+deb13u2~bpo13+1 · arm64 · bookworm-backports

      Not affected

      dsa · curl · debian · bookworm

    • 7.88.1-10+deb12u5 · amd64 · bookworm-security

      Not affected

      dsa · curl · debian · bookworm

    • 7.88.1-10+deb12u5 · arm64 · bookworm-security

      Not affected

      dsa · curl · debian · bookworm

  • Source package: [curl]

    Details (6)
    • 7.88.1-10+deb12u15 · amd64 · bookworm

      Not affected

      dsa · curl · debian · bookworm

    • 7.88.1-10+deb12u15 · arm64 · bookworm

      Not affected

      dsa · curl · debian · bookworm

    • 8.14.1-2+deb13u2~bpo13+1 · amd64 · bookworm-backports

      Not affected

      dsa · curl · debian · bookworm

    • 8.14.1-2+deb13u2~bpo13+1 · arm64 · bookworm-backports

      Not affected

      dsa · curl · debian · bookworm

    • 7.88.1-10+deb12u5 · amd64 · bookworm-security

      Not affected

      dsa · curl · debian · bookworm

    • 7.88.1-10+deb12u5 · arm64 · bookworm-security

      Not affected

      dsa · curl · debian · bookworm

  • [libcurl3-nss]Unknown

    Source package: [curl]

    Details (4)
    • 7.88.1-10+deb12u15 · amd64 · bookworm

      Not affected

      dsa · curl · debian · bookworm

    • 7.88.1-10+deb12u15 · arm64 · bookworm

      Not affected

      dsa · curl · debian · bookworm

    • 7.88.1-10+deb12u5 · amd64 · bookworm-security

      Not affected

      dsa · curl · debian · bookworm

    • 7.88.1-10+deb12u5 · arm64 · bookworm-security

      Not affected

      dsa · curl · debian · bookworm

  • [libcurl4]Unknown

    Source package: [curl]

    Details (6)
    • 7.88.1-10+deb12u15 · amd64 · bookworm

      Not affected

      dsa · curl · debian · bookworm

    • 7.88.1-10+deb12u15 · arm64 · bookworm

      Not affected

      dsa · curl · debian · bookworm

    • 8.14.1-2+deb13u2~bpo13+1 · amd64 · bookworm-backports

      Not affected

      dsa · curl · debian · bookworm

    • 8.14.1-2+deb13u2~bpo13+1 · arm64 · bookworm-backports

      Not affected

      dsa · curl · debian · bookworm

    • 7.88.1-10+deb12u5 · amd64 · bookworm-security

      Not affected

      dsa · curl · debian · bookworm

    • 7.88.1-10+deb12u5 · arm64 · bookworm-security

      Not affected

      dsa · curl · debian · bookworm

  • [libcurl4-doc]Unknown

    Source package: [curl]

    Details (6)
    • 7.88.1-10+deb12u15 · all · bookworm

      Not affected

      dsa · curl · debian · bookworm

    • 7.88.1-10+deb12u15 · all · bookworm

      Not affected

      dsa · curl · debian · bookworm

    • 8.14.1-2+deb13u2~bpo13+1 · all · bookworm-backports

      Not affected

      dsa · curl · debian · bookworm

    • 8.14.1-2+deb13u2~bpo13+1 · all · bookworm-backports

      Not affected

      dsa · curl · debian · bookworm

    • 7.88.1-10+deb12u5 · all · bookworm-security

      Not affected

      dsa · curl · debian · bookworm

    • 7.88.1-10+deb12u5 · all · bookworm-security

      Not affected

      dsa · curl · debian · bookworm

  • Source package: [curl]

    Details (6)
    • 7.88.1-10+deb12u15 · amd64 · bookworm

      Not affected

      dsa · curl · debian · bookworm

    • 7.88.1-10+deb12u15 · arm64 · bookworm

      Not affected

      dsa · curl · debian · bookworm

    • 8.14.1-2+deb13u2~bpo13+1 · amd64 · bookworm-backports

      Not affected

      dsa · curl · debian · bookworm

    • 8.14.1-2+deb13u2~bpo13+1 · arm64 · bookworm-backports

      Not affected

      dsa · curl · debian · bookworm

    • 7.88.1-10+deb12u5 · amd64 · bookworm-security

      Not affected

      dsa · curl · debian · bookworm

    • 7.88.1-10+deb12u5 · arm64 · bookworm-security

      Not affected

      dsa · curl · debian · bookworm

  • Source package: [curl]

    Details (4)
    • 7.88.1-10+deb12u15 · amd64 · bookworm

      Not affected

      dsa · curl · debian · bookworm

    • 7.88.1-10+deb12u15 · arm64 · bookworm

      Not affected

      dsa · curl · debian · bookworm

    • 7.88.1-10+deb12u5 · amd64 · bookworm-security

      Not affected

      dsa · curl · debian · bookworm

    • 7.88.1-10+deb12u5 · arm64 · bookworm-security

      Not affected

      dsa · curl · debian · bookworm

  • Source package: [curl]

    Details (6)
    • 7.88.1-10+deb12u15 · amd64 · bookworm

      Not affected

      dsa · curl · debian · bookworm

    • 7.88.1-10+deb12u15 · arm64 · bookworm

      Not affected

      dsa · curl · debian · bookworm

    • 8.14.1-2+deb13u2~bpo13+1 · amd64 · bookworm-backports

      Not affected

      dsa · curl · debian · bookworm

    • 8.14.1-2+deb13u2~bpo13+1 · arm64 · bookworm-backports

      Not affected

      dsa · curl · debian · bookworm

    • 7.88.1-10+deb12u5 · amd64 · bookworm-security

      Not affected

      dsa · curl · debian · bookworm

    • 7.88.1-10+deb12u5 · arm64 · bookworm-security

      Not affected

      dsa · curl · debian · bookworm

[Debian 13 (Trixie)]

  • [curl]Unknown
    Details (5)
    • 8.14.1-2+deb13u4 · amd64 · trixie

      Fixed · Fixed: 8.9.0-1

      dsa · curl · debian · 13

    • 8.14.1-2+deb13u4 · arm64 · trixie

      Fixed · Fixed: 8.9.0-1

      dsa · curl · debian · 13

    • 8.21.0-2~bpo13+1 · amd64 · trixie-backports

      Fixed · Fixed: 8.9.0-1

      dsa · curl · debian · 13

    • 8.21.0-2~bpo13+1 · arm64 · trixie-backports

      Fixed · Fixed: 8.9.0-1

      dsa · curl · debian · 13

    • 8.14.1-2+deb13u7 · amd64 · trixie-security

      Fixed · Fixed: 8.9.0-1

      dsa · curl · debian · 13

  • Source package: [curl]

    Details (5)
    • 8.14.1-2+deb13u4 · amd64 · trixie

      Fixed · Fixed: 8.9.0-1

      dsa · curl · debian · 13

    • 8.14.1-2+deb13u4 · arm64 · trixie

      Fixed · Fixed: 8.9.0-1

      dsa · curl · debian · 13

    • 8.21.0-2~bpo13+1 · amd64 · trixie-backports

      Fixed · Fixed: 8.9.0-1

      dsa · curl · debian · 13

    • 8.21.0-2~bpo13+1 · arm64 · trixie-backports

      Fixed · Fixed: 8.9.0-1

      dsa · curl · debian · 13

    • 8.14.1-2+deb13u7 · amd64 · trixie-security

      Fixed · Fixed: 8.9.0-1

      dsa · curl · debian · 13

  • [libcurl4-doc]Unknown

    Source package: [curl]

    Details (5)
    • 8.14.1-2+deb13u4 · all · trixie

      Fixed · Fixed: 8.9.0-1

      dsa · curl · debian · 13

    • 8.14.1-2+deb13u4 · all · trixie

      Fixed · Fixed: 8.9.0-1

      dsa · curl · debian · 13

    • 8.21.0-2~bpo13+1 · all · trixie-backports

      Fixed · Fixed: 8.9.0-1

      dsa · curl · debian · 13

    • 8.21.0-2~bpo13+1 · all · trixie-backports

      Fixed · Fixed: 8.9.0-1

      dsa · curl · debian · 13

    • 8.14.1-2+deb13u7 · all · trixie-security

      Fixed · Fixed: 8.9.0-1

      dsa · curl · debian · 13

  • Source package: [curl]

    Details (2)
    • 8.21.0-2~bpo13+1 · amd64 · trixie-backports

      Fixed · Fixed: 8.9.0-1

      dsa · curl · debian · 13

    • 8.21.0-2~bpo13+1 · arm64 · trixie-backports

      Fixed · Fixed: 8.9.0-1

      dsa · curl · debian · 13

  • Source package: [curl]

    Details (5)
    • 8.14.1-2+deb13u4 · amd64 · trixie

      Fixed · Fixed: 8.9.0-1

      dsa · curl · debian · 13

    • 8.14.1-2+deb13u4 · arm64 · trixie

      Fixed · Fixed: 8.9.0-1

      dsa · curl · debian · 13

    • 8.21.0-2~bpo13+1 · amd64 · trixie-backports

      Fixed · Fixed: 8.9.0-1

      dsa · curl · debian · 13

    • 8.21.0-2~bpo13+1 · arm64 · trixie-backports

      Fixed · Fixed: 8.9.0-1

      dsa · curl · debian · 13

    • 8.14.1-2+deb13u7 · amd64 · trixie-security

      Fixed · Fixed: 8.9.0-1

      dsa · curl · debian · 13

  • Source package: [curl]

    Details (5)
    • 8.14.1-2+deb13u4 · amd64 · trixie

      Fixed · Fixed: 8.9.0-1

      dsa · curl · debian · 13

    • 8.14.1-2+deb13u4 · arm64 · trixie

      Fixed · Fixed: 8.9.0-1

      dsa · curl · debian · 13

    • 8.21.0-2~bpo13+1 · amd64 · trixie-backports

      Fixed · Fixed: 8.9.0-1

      dsa · curl · debian · 13

    • 8.21.0-2~bpo13+1 · arm64 · trixie-backports

      Fixed · Fixed: 8.9.0-1

      dsa · curl · debian · 13

    • 8.14.1-2+deb13u7 · amd64 · trixie-security

      Fixed · Fixed: 8.9.0-1

      dsa · curl · debian · 13

  • [libcurl4t64]Unknown

    Source package: [curl]

    Details (5)
    • 8.14.1-2+deb13u4 · amd64 · trixie

      Fixed · Fixed: 8.9.0-1

      dsa · curl · debian · 13

    • 8.14.1-2+deb13u4 · arm64 · trixie

      Fixed · Fixed: 8.9.0-1

      dsa · curl · debian · 13

    • 8.21.0-2~bpo13+1 · amd64 · trixie-backports

      Fixed · Fixed: 8.9.0-1

      dsa · curl · debian · 13

    • 8.21.0-2~bpo13+1 · arm64 · trixie-backports

      Fixed · Fixed: 8.9.0-1

      dsa · curl · debian · 13

    • 8.14.1-2+deb13u7 · amd64 · trixie-security

      Fixed · Fixed: 8.9.0-1

      dsa · curl · debian · 13

[openSUSE Tumbleweed]

  • [curl]Unknown

    Source package: [curl]

    Details (1)
    • 8.21.0-1.2 · x86_64 · tumbleweed

      Fixed · Fixed: 8.9.0-1.1

      dsa · curl · opensuse · tumbleweed

  • Source package: [curl]

    Details (1)
    • 8.21.0-1.2 · noarch · tumbleweed

      Unknown · Fixed: 8.9.0-1.1

      Version impact unknown

      dsa · curl · opensuse · tumbleweed

  • Source package: [curl]

    Details (1)
    • 8.21.0-1.2 · noarch · tumbleweed

      Unknown · Fixed: 8.9.0-1.1

      Version impact unknown

      dsa · curl · opensuse · tumbleweed

  • [libcurl4]Unknown

    Source package: [curl]

    Details (1)
    • 8.21.0-1.2 · x86_64 · tumbleweed

      Unknown · Fixed: 8.9.0-1.1

      Version impact unknown

      dsa · curl · opensuse · tumbleweed

  • Source package: [curl]

    Details (1)
    • 8.21.0-1.2 · x86_64 · tumbleweed

      Unknown · Fixed: 8.9.0-1.1

      Version impact unknown

      dsa · curl · opensuse · tumbleweed

Next results

Observed:

References