Heap-based buffer overflow in Mozilla Network Security Services (NSS) before 3.19.2.3 and 3.20.x and 3.21.x before 3.21.1, as used in Mozill
Heap-based buffer overflow in Mozilla Network Security Services (NSS) before 3.19.2.3 and 3.20.x and 3.21.x before 3.21.1, as used in Mozilla Firefox before 45.0 and Firefox ESR 38.x before 38.7, allows remote attackers to execute arbitrary code via crafted ASN.1 data in an X.509 certificate.
- Published
- Mar 13, 2016
- Updated
- Jun 16, 2026
- EPSS
- 4.2% · 91th percentile
- CWE
- CWE-119
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
36
Monitor
Low priority for now.
- CVSS
- 35 / 40 · 8.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 4.2%
Affected systems
| Vendor | Product | CPE |
|---|---|---|
| mozilla | network security services | cpe:2.3:a:mozilla:network_security_services |
| mozilla | firefox | cpe:2.3:a:mozilla:firefox |
| oracle | linux | cpe:2.3:o:oracle:linux |
| oracle | vm server | cpe:2.3:o:oracle:vm_server |
| apple | iphone os | cpe:2.3:o:apple:iphone_os |
| apple | mac os x | cpe:2.3:o:apple:mac_os_x |
| apple | tvos | cpe:2.3:o:apple:tvos |
| apple | watchos | cpe:2.3:o:apple:watchos |
| oracle | glassfish server | cpe:2.3:a:oracle:glassfish_server |
| oracle | iplanet web proxy server | cpe:2.3:a:oracle:iplanet_web_proxy_server |
| oracle | iplanet web server | cpe:2.3:a:oracle:iplanet_web_server |
| opensuse | opensuse | cpe:2.3:o:opensuse:opensuse |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- apple iphone osup to 9.2.1 inclusive
- apple mac os xup to 10.11.3 inclusive
- apple tvosup to 9.1 inclusive
- apple watchosup to 2.1 inclusive
- mozilla firefoxup to 44.0.2 inclusive
- mozilla firefox38.0
- mozilla firefox38.0.1
- mozilla firefox38.0.5
- mozilla firefox38.1.0
- mozilla firefox38.1.1
- mozilla firefox38.2.0
- mozilla firefox38.2.1
- mozilla firefox38.3.0
- mozilla firefox38.4.0
- mozilla firefox38.5.0
- mozilla firefox38.5.1
- mozilla firefox38.6.0
- mozilla firefox38.6.1
- mozilla network security services3.19.2
- mozilla network security services3.20
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | firefox-esr | before 45.0esr-1 | 45.0esr-1 |
| Debian:12 | nss | before 2:3.23-1 | 2:3.23-1 |
| Debian:7 | icedove | before 38.7.0-1~deb7u1 | 38.7.0-1~deb7u1 |
| Debian:7 | iceweasel | before 38.7.0esr-1~deb7u1 | 38.7.0esr-1~deb7u1 |
| Debian:7 | nss | before 2:3.14.5-1+deb7u6 | 2:3.14.5-1+deb7u6 |
| Debian:8 | icedove | before 38.7.0-1~deb8u1 | 38.7.0-1~deb8u1 |
| Debian:8 | iceweasel | before 38.7.0esr-1~deb8u1 | 38.7.0esr-1~deb8u1 |
| Debian:8 | nss | before 2:3.26-1+debu8u1 | 2:3.26-1+debu8u1 |
| openSUSE:Tumbleweed | mozilla-nss | before 3.26.2-1.1 | 3.26.2-1.1 |
| Red Hat:enterprise_linux:5::client | nss | before 0:3.19.1-4.el5_11 | 0:3.19.1-4.el5_11 |
| Red Hat:enterprise_linux:5::client | nss-debuginfo | before 0:3.19.1-4.el5_11 | 0:3.19.1-4.el5_11 |
| Red Hat:enterprise_linux:5::client | nss-tools | before 0:3.19.1-4.el5_11 | 0:3.19.1-4.el5_11 |
| Red Hat:enterprise_linux:5::client_workstation | nss-devel | before 0:3.19.1-4.el5_11 | 0:3.19.1-4.el5_11 |
| Red Hat:enterprise_linux:5::client_workstation | nss-pkcs11-devel | before 0:3.19.1-4.el5_11 | 0:3.19.1-4.el5_11 |
| Red Hat:enterprise_linux:6::client | nss-util | before 0:3.19.1-5.el6_7 | 0:3.19.1-5.el6_7 |
| Red Hat:enterprise_linux:6::client | nss-util-debuginfo | before 0:3.19.1-5.el6_7 | 0:3.19.1-5.el6_7 |
| Red Hat:enterprise_linux:6::client | nss-util-devel | before 0:3.19.1-5.el6_7 | 0:3.19.1-5.el6_7 |
| Red Hat:enterprise_linux:7::client | nss-util | before 0:3.19.1-9.el7_2 | 0:3.19.1-9.el7_2 |
| Red Hat:enterprise_linux:7::client | nss-util-debuginfo | before 0:3.19.1-9.el7_2 | 0:3.19.1-9.el7_2 |
| Red Hat:enterprise_linux:7::client | nss-util-devel | before 0:3.19.1-9.el7_2 | 0:3.19.1-9.el7_2 |
| Red Hat:rhel_aus:6.4::server | nss-util | before 0:3.14.3-8.el6_4 | 0:3.14.3-8.el6_4 |
| Red Hat:rhel_aus:6.4::server | nss-util-debuginfo | before 0:3.14.3-8.el6_4 | 0:3.14.3-8.el6_4 |
| Red Hat:rhel_aus:6.4::server | nss-util-devel | before 0:3.14.3-8.el6_4 | 0:3.14.3-8.el6_4 |
| Red Hat:rhel_aus:6.5::server | nss-util | before 0:3.16.1-4.el6_5 | 0:3.16.1-4.el6_5 |
+30
Same product
mozilla: all recordsOther highest-scoring records for the same primary product.
- CVE-2017-5461Mozilla Network Security Services (NSS) before 3.21.4, 3.22.x through 3.28.x before 3.28.4, 3.29.x before 3.29.5, and 3.30.x before 3.30.1 a40Plan
- CVE-2009-2404Heap-based buffer overflow in a regular-expression parser in Mozilla Network Security Services (NSS) before 3.12.3, as used in Firefox, Thun38Monitor
- CVE-2018-12404A cached side channel attack during handshakes using RSA encryption could allow for the decryption of encrypted content.36Monitor
- CVE-2016-2834Mozilla Network Security Services (NSS) before 3.23, as used in Mozilla Firefox before 47.0, allows remote attackers to cause a denial of se36Monitor
- CVE-2015-7181The sec_asn1d_parse_leaf function in Mozilla Network Security Services (NSS) before 3.19.2.1 and 3.20.x before 3.20.1, as used in Firefox be32Monitor
- CVE-2020-25648A flaw was found in the way NSS handled CCS (ChangeCipherSpec) messages in TLS 1.3.31Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:firefox-esr | 45.0esr-1 · Debian:12 | Package registry (OSV) |
| debian:icedove | 38.7.0-1~deb7u1 · Debian:7 | Package registry (OSV) |
| debian:iceweasel | 38.7.0esr-1~deb7u1 · Debian:7 | Package registry (OSV) |
| debian:nss | 2:3.23-1 · Debian:12 | Package registry (OSV) |
| opensuse:mozilla-nss | 3.26.2-1.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| red hat:nss | 0:3.19.1-4.el5_11 · Red Hat:enterprise_linux:5::client | Package registry (OSV) |
| red hat:nss-debuginfo | 0:3.19.1-4.el5_11 · Red Hat:enterprise_linux:5::client | Package registry (OSV) |
| red hat:nss-devel | 0:3.19.1-4.el5_11 · Red Hat:enterprise_linux:5::client_workstation | Package registry (OSV) |
| red hat:nss-pkcs11-devel | 0:3.19.1-4.el5_11 · Red Hat:enterprise_linux:5::client_workstation | Package registry (OSV) |
| red hat:nss-tools | 0:3.19.1-4.el5_11 · Red Hat:enterprise_linux:5::client | Package registry (OSV) |
| red hat:nss-util | 0:3.19.1-5.el6_7 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:nss-util-debuginfo | 0:3.19.1-5.el6_7 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:nss-util-devel | 0:3.19.1-5.el6_7 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| suse:java-1_8_0-openjdk | 1.8.0.121-23.4 · SUSE:Linux Enterprise Desktop 12 SP1 | Package registry (OSV) |
| suse:mozilla-nspr | 4.12-12.1 · SUSE:Linux Enterprise Desktop 12 | Package registry (OSV) |
| suse:mozilla-nss | 3.20.2-40.1 · SUSE:Linux Enterprise Desktop 12 | Package registry (OSV) |
| suse:MozillaFirefox | 38.7.0esr-63.3 · SUSE:Linux Enterprise Desktop 12 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- A user must open a link or visit a page.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-119 · Improper Restriction of Operations within the Bounds of a Memory BufferCVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- Buffer Overflow via Environment VariablesCAPEC-10likelihood: High · High
- Overflow BuffersCAPEC-100likelihood: High · Very High
- Buffer ManipulationCAPEC-123likelihood: High · Very High
- Client-side Injection-induced Buffer OverflowCAPEC-14likelihood: Medium · High
- Filter Failure through Buffer OverflowCAPEC-24likelihood: High · High
- MIME ConversionCAPEC-42likelihood: High · High
- Overflow Binary Resource FileCAPEC-44likelihood: High · Very High
- Buffer Overflow via Symbolic LinksCAPEC-45likelihood: High · High
ATT&CK techniques
—
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for helpChange log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- lists.apple.com/archives/security-announce/2016/Mar/msg00000.html
- lists.apple.com/archives/security-announce/2016/Mar/msg00001.html
- lists.apple.com/archives/security-announce/2016/Mar/msg00002.html
- lists.apple.com/archives/security-announce/2016/Mar/msg00004.html
- lists.opensuse.org/opensuse-security-announce/2016-03/msg00027.html
- lists.opensuse.org/opensuse-security-announce/2016-03/msg00029.html
- lists.opensuse.org/opensuse-security-announce/2016-03/msg00031.html
- lists.opensuse.org/opensuse-security-announce/2016-03/msg00050.html
- lists.opensuse.org/opensuse-security-announce/2016-03/msg00068.html
- lists.opensuse.org/opensuse-security-announce/2016-03/msg00093.html
- lists.opensuse.org/opensuse-security-announce/2016-06/msg00016.html
- rhn.redhat.com/errata/RHSA-2016-0495.html
- www.debian.org/security/2016/dsa-3510
- www.debian.org/security/2016/dsa-3520
- www.debian.org/security/2016/dsa-3688
- www.mozilla.org/security/announce/2016/mfsa2016-35.html
- www.oracle.com/technetwork/security-advisory/cpujul2017-3236622.html
- www.oracle.com/technetwork/security-advisory/cpuoct2016-2881722.html
- www.oracle.com/technetwork/security-advisory/cpuoct2017-3236626.html
- www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html
Vendor advisories and official records. Exploit/PoC links are deliberately left out.