CVE catalog

CVE-2024-6874

curl: CVE-2024-6874

[CVE catalog]

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

libcurl's URL API function [curl_url_get()](https://curl.se/libcurl/c/curl_url_get.html) offers punycode conversions, to and from IDN. Asking to convert a name that is exactly 256 bytes, libcurl ends up reading outside of a stack based buffer when built to use the *macidn* IDN backend. The conversion function then fills up the provided buffer exactly - but does not null terminate the string. This flaw can lead to stack contents accidently getting returned as part of the converted string.

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
Susecurllinux enterprise module for basesystem 15 sp68.14.1-150600.4.28.1fixed
Susecurllinux enterprise module for basesystem 15 sp78.14.1-150600.4.28.1fixed
Opensusecurlleap 15.68.14.1-150600.4.28.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-6874Not reported
Alpinecurlapk3.188.9.0-r0Not reportedALPINE-CVE-2024-6874Not reported
Alpinecurlapk3.198.9.0-r0Not reportedALPINE-CVE-2024-6874Not reported
Alpinecurlapk3.208.9.0-r0Not reportedALPINE-CVE-2024-6874Not reported
Alpinecurlapk3.218.9.0-r0Not reportedALPINE-CVE-2024-6874Not reported
Alpinecurlapk3.228.9.0-r0Not reportedALPINE-CVE-2024-6874Not reported
Alpinecurlapk3.238.9.0-r0Not reportedALPINE-CVE-2024-6874Not reported
Alpinecurlapk3.248.9.0-r0Not reportedALPINE-CVE-2024-6874Not reported
Susecurlrpmlinux enterprise module for basesystem 15 sp68.14.1-150600.4.28.1Not reportedSUSE-SU-2025:03198-1Not reported
Susecurlrpmlinux enterprise module for basesystem 15 sp78.14.1-150600.4.28.1Not reportedSUSE-SU-2025:03198-1Not reported
Opensusecurlrpmleap 15.68.14.1-150600.4.28.1Not reportedSUSE-SU-2025:03198-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

Observed:

References