cve.bz

CVE-2016-3068 Improper Input Validation

8.8 highEPSS 5.4%Fix available

High (8.8). EPSS 5.4% estimated probability of exploitation activity in the next 30 days. Fixed in mercurial 3.7.3.

On this page
Mercurial before 3.7.3 allows remote attackers to execute arbitrary code via a crafted git ext:: URL when cloning a subrepository.

Severity

CVSS 3.0

8.8 high
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
5.4% (unchanged from 5.4% a week ago; 5.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 93rd percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-20 Improper Input Validation
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2016-3068 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2016-3068?via=ask-ai-copy and https://cve.bz/cve/CVE-2016-3068?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2016-3068 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
debian:debian_linux7.0
debian:debian_linux8.0
mercurial:mercurialthrough 3.7.2
fedoraproject:fedora22
fedoraproject:fedora23
redhat:enterprise_linux_desktop7.0
redhat:enterprise_linux_hpc_node7.0
redhat:enterprise_linux_hpc_node_eus7.2
redhat:enterprise_linux_server7.0
redhat:enterprise_linux_server_aus7.2
redhat:enterprise_linux_server_eus7.2
redhat:enterprise_linux_workstation7.0
suse:linux_enterprise_debuginfo11:sp4
opensuse:opensuse13.2
suse:linux_enterprise_software_development_kit11:sp4
suse:linux_enterprise_software_development_kit12
suse:linux_enterprise_software_development_kit12:sp1
opensuse:leap42.1

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-j7c2-rqm3-c97mPyPImercurial<3.7.33.7.3
PYSEC-2016-26PyPImercurial<3.7.33.7.3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian7mercurial2.2.2-4+deb7u2DSA-3542-1
Debian8mercurial3.1.2-2+deb8u2DSA-3542-1
Debian12, 13, 14mercurial3.7.3-1DEBIAN-CVE-2016-3068
Ubuntu14.04:LTSmercurial2.8.2-1ubuntu1.4UBUNTU-CVE-2016-3068
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 moremercurial, mercurial-hgk, emacs-mercurial and 2 more0:2.6.2-6.el7_2RHSA-2016:0706
SUSELinux Enterprise Software Development Kit 11 SP4mercurial2.3.2-0.11.1SUSE-SU-2016:1011-1
SUSELinux Enterprise Software Development Kit 12, Linux Enterprise Software Development Kit 12 SP1mercurial2.8.2-6.1SUSE-SU-2016:1010-1
openSUSETumbleweedmercurial4.0-1.1openSUSE-SU-2024:10070-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Important.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7mercurial-0:2.6.2-6.el7_2Fixed 2016-05-02RHSA-2016:0706
Red Hat Enterprise Linux 6mercurialNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2016-3068.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-20 (51).

References

Check your stackJSON