cve.bz

CVE-2016-7966 Code Injection

7.3 highEPSS 2.3%

High (7.3). EPSS 2.3% estimated probability of exploitation activity in the next 30 days.

On this page
Through a malicious URL that contained a quote character it was possible to inject HTML code in KMail's plaintext viewer. Due to the parser used on the URL it was not possible to include the equal sign (=) or a space into the injected HTML, which greatly reduces the available HTML functionality. Although it is possible to include an HTML comment indicator to hide content.

Severity

CVSS 3.0

7.3 high
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
EPSS
2.3% (unchanged from 2.3% a week ago; 2.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 84th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-94 Improper Control of Generation of Code (Code Injection)
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-7966 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2016-7966?via=ask-ai-copy and https://cve.bz/cve/CVE-2016-7966?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-7966 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
kde:kmailthrough 4.4.0
debian:debian_linux8.0
fedoraproject:fedora25
suse:linux_enterprise12.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian7kdepimlibs4:4.8.4-2+deb7u1DLA-673-1
Debian8kdepimlibs4:4.14.2-2+deb8u2DSA-3697-1
Debian12, 13, 14kcoreaddons5.26.0-3DEBIAN-CVE-2016-7966
Ubuntu14.04:LTSkdepimlibs4:4.13.3-0ubuntu0.4UBUNTU-CVE-2016-7966
Ubuntu16.04:LTSkcoreaddons5.18.0-0ubuntu1.1UBUNTU-CVE-2016-7966
SUSEPackage Hub 12 SP1kcoreaddons5.20.0-6.1openSUSE-SU-2016:2558-1 openSUSE-SU-2016:2559-1

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

Red Hat

Red Hat rates this Low.

Red Hat's statement

This issue did not affect the versions of kdepim as shipped with Red Hat Enterprise Linux 5, 6 or 7 as they did not include support for kmail, or are not shipped with vulnerable versions.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 5kdepimNot affected
Red Hat Enterprise Linux 6kdepimNot affected
Red Hat Enterprise Linux 6kdepim3Not affected
Red Hat Enterprise Linux 7kdepimNot 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-7966.

Attack patterns (CAPEC)

  • CAPEC-35 Leverage Executable Code in Non-Executable Files Likelihood: High · Severity: Very High
  • CAPEC-77 Manipulating User-Controlled Variables Likelihood: High · Severity: Very High
  • CAPEC-242 Code Injection Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON