CVE-2016-3959

HIGH

Go <1.5.4, 1.6.x <1.6.1 - DoS

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2016-3959. PoCs published by alexmullins.

AI-analyzed exploit summary This repository contains a detailed technical analysis of CVE-2016-3959, a denial-of-service vulnerability in Go's crypto/dsa library caused by an infinite loop in the Verify function when the public key parameter P is set to 0. The writeup includes root cause analysis, patch details, and code samples.

Description

The Verify function in crypto/dsa/dsa.go in Go before 1.5.4 and 1.6.x before 1.6.1 does not properly check parameters passed to the big integer library, which might allow remote attackers to cause a denial of service (infinite loop) via a crafted public key to a program that uses HTTPS client certificates or SSH server libraries.

Exploits (1)

nomisec WRITEUP 1 stars
by alexmullins · poc
https://github.com/alexmullins/dsa

This repository contains a detailed technical analysis of CVE-2016-3959, a denial-of-service vulnerability in Go's crypto/dsa library caused by an infinite loop in the Verify function when the public key parameter P is set to 0. The writeup includes root cause analysis, patch details, and code samples.

Classification
Writeup 100%
Attack Type
Dos
Complexity
Trivial
Reliability
Reliable
Target: Go crypto/dsa library (versions prior to 1.5.4 and 1.6.1)
No auth needed
Prerequisites: Ability to send crafted DSA signatures to a Go application using the crypto/dsa library
devstral-2 · analyzed Feb 18, 2026 Full analysis →

References (9)

Core 9
Core References
Mailing List mailing-list x_refsource_mlist
http://www.openwall.com/lists/oss-security/2016/04/05/2
Various Sources x_refsource_confirm
https://go-review.googlesource.com/#/c/21533/
Vendor Advisory vendor-advisory x_refsource_redhat
http://rhn.redhat.com/errata/RHSA-2016-1538.html
Mailing List, Third Party Advisory vendor-advisory x_refsource_fedora
http://lists.fedoraproject.org/pipermail/package-announce/2016-April/182526.html
Mailing List mailing-list x_refsource_mlist
https://groups.google.com/forum/#%21topic/golang-announce/9eqIHqaWvck
Mailing List, Third Party Advisory vendor-advisory x_refsource_fedora
http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183106.html
Mailing List vendor-advisory x_refsource_suse
http://lists.opensuse.org/opensuse-updates/2016-05/msg00077.html
Mailing List mailing-list x_refsource_mlist
http://www.openwall.com/lists/oss-security/2016/04/05/1
Mailing List, Third Party Advisory vendor-advisory x_refsource_fedora
http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183137.html

Scores

CVSS v3 7.5
EPSS 0.0247
EPSS Percentile 85.5%
Attack Vector NETWORK
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Details

CWE
CWE-20
Status published
Products (6)
fedoraproject/fedora 22
fedoraproject/fedora 23
fedoraproject/fedora 24
golang/go 1.6
golang/go < 1.5
opensuse/leap 42.1
Published May 23, 2016
Tracked Since Feb 18, 2026