CVE catalog

CVE-2018-13347

mercurial: CVE-2018-13347

[CVE catalog]

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

mpatch.c in Mercurial before 4.6.1 mishandles integer addition and subtraction, aka OVE-20180430-0002.

Vulnerable and fixed packages

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

DistributionPackageReleaseVersionStatus
Debianmercurialsid7.2.4-2fixed
Debianmercurialforky7.2.4-2fixed
Debianmercurialtrixie7.0.1-2fixed
Debianmercurialbookworm6.3.2-1+deb12u1fixed
Debianmercurialbookworm-security6.3.2-1+deb12u1fixed
Ubuntumercurial14.042.6.3-1vulnerable
Ubuntumercurial14.042.7.2-1vulnerable
Ubuntumercurial14.042.8.1-2vulnerable
Ubuntumercurial14.042.8.2-1ubuntu1vulnerable
Ubuntumercurial14.042.8.2-1ubuntu1.3vulnerable
Ubuntumercurial14.042.8.2-1ubuntu1.4fixed
Ubuntumercurial16.043.4-1ubuntu2vulnerable
Ubuntumercurial16.043.6.2-1ubuntu2vulnerable
Ubuntumercurial16.043.7.3-1ubuntu1vulnerable
Ubuntumercurial16.043.7.3-1ubuntu1.1fixed
Ubuntumercurial18.044.3.1-2vulnerable
Ubuntumercurial18.044.5-1ubuntu1vulnerable
Ubuntumercurial18.044.5.2-0ubuntu2vulnerable
Ubuntumercurial18.044.5.3-1ubuntu2vulnerable
Ubuntumercurial18.044.5.3-1ubuntu2.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianmercurialsourcesid4.6.1-1not yet assignedNot reported[901050]
Debianmercurialsourceforky4.6.1-1not yet assignedNot reported[901050]
Debianmercurialsourcetrixie4.6.1-1not yet assignedNot reported[901050]
Debianmercurialsourcebookworm4.6.1-1not yet assignedNot reported[901050]
Ubuntumercurialdeb14.042.8.2-1ubuntu1.4Not reportedUBUNTU-CVE-2018-13347Not reported
Ubuntumercurialdeb16.043.7.3-1ubuntu1.1Not reportedUBUNTU-CVE-2018-13347Not reported
Ubuntumercurialdeb18.044.5.3-1ubuntu2.1Not reportedUBUNTU-CVE-2018-13347Not reported

[Debian bug #901050]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [mercurial]Fixed
    Details (4)
    • 6.3.2-1+deb12u1 · amd64 · bookworm

      Fixed · Fixed: 4.6.1-1

      dsa · mercurial · debian · bookworm; dsa · mercurial · debian · 12

    • 6.3.2-1+deb12u1 · arm64 · bookworm

      Fixed · Fixed: 4.6.1-1

      dsa · mercurial · debian · bookworm; dsa · mercurial · debian · 12

    • 6.3.2-1+deb12u1 · amd64 · bookworm-security

      Fixed · Fixed: 4.6.1-1

      dsa · mercurial · debian · bookworm; dsa · mercurial · debian · 12

    • 6.3.2-1+deb12u1 · arm64 · bookworm-security

      Fixed · Fixed: 4.6.1-1

      dsa · mercurial · debian · bookworm; dsa · mercurial · debian · 12

  • Source package: [mercurial]

    Details (4)
    • 6.3.2-1+deb12u1 · all · bookworm

      Fixed · Fixed: 4.6.1-1

      dsa · mercurial · debian · bookworm; dsa · mercurial · debian · 12

    • 6.3.2-1+deb12u1 · all · bookworm

      Fixed · Fixed: 4.6.1-1

      dsa · mercurial · debian · bookworm; dsa · mercurial · debian · 12

    • 6.3.2-1+deb12u1 · all · bookworm-security

      Fixed · Fixed: 4.6.1-1

      dsa · mercurial · debian · bookworm; dsa · mercurial · debian · 12

    • 6.3.2-1+deb12u1 · all · bookworm-security

      Fixed · Fixed: 4.6.1-1

      dsa · mercurial · debian · bookworm; dsa · mercurial · debian · 12

[Debian 13 (Trixie)]

  • [mercurial]Fixed
    Details (2)
    • 7.0.1-2 · amd64 · trixie

      Fixed · Fixed: 4.6.1-1

      dsa · mercurial · debian · 13

    • 7.0.1-2 · arm64 · trixie

      Fixed · Fixed: 4.6.1-1

      dsa · mercurial · debian · 13

  • Source package: [mercurial]

    Details (2)
    • 7.0.1-2 · all · trixie

      Fixed · Fixed: 4.6.1-1

      dsa · mercurial · debian · 13

    • 7.0.1-2 · all · trixie

      Fixed · Fixed: 4.6.1-1

      dsa · mercurial · debian · 13

Observed:

References