Vulnerabilities / CVE-2015-8805

critical

CVE-2015-8805

nettle: secp256 calculation bug

Published Modified CWE 310
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat5.8AV:N/AC:M/Au:N/C:P/I:P/A:N

Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Red Hat (medium), Oracle (medium), Ubuntu (medium).

Description

The ecc_256_modq function in ecc-256.c in Nettle before 3.2 does not properly handle carry propagation and produces incorrect output in its implementation of the P-256 NIST elliptic curve, which allows attackers to have unspecified impact via unknown vectors, a different vulnerability than CVE-2015-8803.

Affected packages and fixed versions

SourcePackageFixed in
debian 11nettle3.2-1
debian 12nettle3.2-1
debian 13nettle3.2-1
debian 14nettle3.2-1
debian 8nettle2.7.1-5+deb8u1
echonettle3.2-1
Oracle Linux 7nettle, nettle-devel2.7.1-8.el7
ubuntu 14.04nettle2.7.1-1ubuntu0.1
ubuntu 14.04-ESMnettle2.7.1-1ubuntu0.1
ubuntu 15.10nettle3.1.1-4ubuntu0.1
Show all 11 entries from 10 sources
SourcePackageFixed in
debian 11nettle3.2-1
debian 12nettle3.2-1
debian 13nettle3.2-1
debian 14nettle3.2-1
debian 8nettle2.7.1-5+deb8u1
echonettle3.2-1
Oracle Linux 7nettle2.7.1-8.el7
Oracle Linux 7nettle-devel2.7.1-8.el7
ubuntu 14.04nettle2.7.1-1ubuntu0.1
ubuntu 14.04-ESMnettle2.7.1-1ubuntu0.1
ubuntu 15.10nettle3.1.1-4ubuntu0.1

References

All 18 references

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.