Tuntrust/ANCE: Certificate serial numbers generated from CSPRNG seeded with insufficient entropy
Categories
(CA Program :: CA Certificate Compliance, task)
Tracking
(Not tracked)
People
(Reporter: pki, Assigned: pki)
Details
(Whiteboard: [ca-compliance] [policy-failure])
Full Incident Report
Summary
-
CA Owner CCADB unique ID: A000785
-
Incident description:
On 31 October 2026 at 00 :15 UTC , TunTrust was notified through a confidential Mozilla bug (https://bugzilla.mozilla.org/show_bug.cgi?id=2087715) about predictable certificate serial numbers. The reported certificates are the TunTrust Root CA (Serial Number : 27b4bd1d08289f6d78e2cedceef25dca3a702990) certificate dated 18 April 2019 (reported as a cross-certificate), the TunTrust Root CA (Serial Number : 1302d5e2404c92468616675db4bbbbb26b3efc13)self-signed certificate dated 26 April 2019, and the TunTrust Services CA (Serial Number : 601a7c2f6093b7a673da5f8c9c885f37a75897c0) certificate dated 26 April 2019.
We promptly launched an emergency investigation, including internal testing, a review of the relevant source code, and consultations with our application and HSM providers. The investigation identified the use of SHA1PRNG in the certificate serial number generation process, raising concerns about the entropy of the initialization material. We also confirmed that the generation of key pairs for the Root CA, Issuing CA, and OCSP certificates relies on the HSM's internal random number generator, independently of the application-level random number generator used for certificate serial number generation. These are separate random number generation mechanisms, operating within distinct cryptographic components and serving different purposes.
TunTrust has provisionally stopped TLS subscriber-certificate issuance since the notification, except for test certificates..
Following the submission of our preliminary report on 02 November 2026, TunTrust finalized its investigation and submitted a response, documented in a confidential incident report on Mozilla Bugzilla on 12 November 2026. The relevant findings and information are now being disclosed in accordance with the applicable incident reporting and transparency requirements. -
Timeline summary:
- Non-compliance start date: The reported certificates which went live on April 26, 2019, was affected.
- Non-compliance identified date: We received the external report at 00:15 UTC on October 31, 2026.
- Non-compliance end date: On 27 November 2026 date of Root OCSP generation
-
Relevant policies:
-
CA/Browser Forum Baseline Requirements, section 7.1: certificate serial numbers must be greater than zero and contain at least 64 bits of output from a CSPRNG (requirement introduced by Ballot 164, effective 30 September 2016).
-
Mozilla Root Store Policy, which requires CAs to comply with the Baseline Requirements.
-
Source of incident disclosure: Third Party Reported.
Impact
-
Total number of certificates: The 3 reported certficates
-
Total number of "remaining valid" certificates: 3 certificates
-
Affected certificate types: The affected certificates include root CA certificates, Issuing CA certificate,.
-
Incident heuristic: The investigation was initiated following a third-party researcher's report in October 2026. TunTrust's subsequent investigation confirmed that zero currently valid subscriber certificates are affected.
-
Was issuance stopped in response to this incident, and why or why not?: Yes. As an immediate precautionary measure, while investigating, TunTrust immediately ceased TLS subscriber certificate issuance, with the exception of test certificates.
-
Analysis: TunTrust investigated the use of SHA1PRNG for certificate serial-number generation based on historical application configurations, available system logs and technical information.
The investigation confirmed that the Bouncy Castle FIPS/SP800 Hybrid Generator (BCSP800Hybrid) is used for andall currently valid subscriber certificates.
According to TunTrust's investigation, SHA1PRNG is a pseudorandom number generator initialized using seed material obtained from a CSPRNG. The identified concern therefore relates to the assurance of the entropy used for its initialization.
TunTrust identified that the Root CA OCSP responder certificate, has an 8-octet serial number.
TunTrust conducted a risk analysis to assess the potential impact of the identified SHA1PRNG concern on its CA hierarchy and certificate issuance services. The assessed risk was moderate, taking into account existing security measures and operational safeguards that were already in place prior to the incident notification. Additionally, the reported certificates are signed using SHA-256, for which no practical collision attack is publicly known. -
Additional considerations:
The identified issue concerns exclusively the random number generation mechanism involved in certificate serial number assignment within the issuance application. It does not affect the generation or protection of CA private keys, including Root CA, ISSUING CA keys and OCSP certificates, which are generated within dedicated Hardware Security Modules (HSMs) using an independent hardware-based random number generation mechanism.
Timeline
- 30 September 2016: Ballot 164 took effect, requiring certificate serial numbers to contain at least 64 bits of output from a CSPRNG.
- 15 April 2019: We completed the initial service deployment.
- 31 October 2026 TunTrust received a confidential Bugzilla notification reporting the use of a predictable certificate serial number generation mechanism affecting the three certificates.
- 31 October 2026 TunTrust initiated an investigation and immediately ceased TLS subscriber certificate issuance on a provisional basis, except for test certificates.
- 02 November 2026:TunTrust posted a preliminary response on the confidential Bug
- 12 November 2026:TunTrust posted a full response on the confidential Bug
- 25 November 2026: Restart the TLS subscribers certificates issuing process.
Related Incidents
| Bug | Date | Description |
|---|---|---|
| Bug 2090925 | 2026-10-30 | GDCA: Investigate predictable certificate serial generation and implications for CA key security |
| Bug 2096163 | 2026-11-22 | BJCA: Certificate serial numbers generated from CSPRNG seeded with insufficient entropy |
Root Cause Analysis
Contributing Factor #1: Insufficient assurance regarding entropy initialization in the historical SHA1PRNG implementation
- Description: The investigation identified the use of SHA1PRNG for certificate serial-number generation in the historical application environment. SHA1PRNG is a pseudorandom number generator initialized using seed material obtained from a CSPRNG. However, the available historical evidence does not provide sufficient assurance regarding the entropy initialization mechanism and the unpredictability of the generated serial numbers. This concern relates to the assurance of the generator's initialization.
- **Timeline:**The historical SHA1PRNG implementation was used for CA certificate generation in April 2019. The investigation was initiated following the third-party researcher's report in October 2026. Corrective measures include replacing the affected generation mechanism with BCSP800Hybrid following the Root CA application upgrade.
- Detection: The issue was brought to TunTrust's attention through a third-party security researcher's findings in a confidential Bug on mozilla.
- Interaction with other factors: The historical uncertainty regarding entropy initialization was not specifically addressed by the application version review and routine verification controls described in Factors #2 and #3, allowing the concern to remain unidentified
- Root Cause Analysis methodology used: TunTrust reviewed the historical application configuration, available system logs, providors technical explanations and the researcher's reproduction results to assess the historical serial-number generation mechanism and identify the remaining uncertainty regarding entropy initialization.
Contributing Factor #2: Insufficient security review coverage of random number generation mechanisms
- **Description:**The historical application review and change-validation processes did not sufficiently address the security properties of the random number generation mechanism, particularly its initialization and entropy source. The review activities focused primarily on application functionality, configuration and operational behavior in compliance with applicable requirements without specifically assessing the assurance of the entropy initialization process used for certificate serial-number generation.
- Timeline:
This gap relates to the historical implementation and its subsequent security review. Following the investigation, TunTrust identified the need to strengthen security reviews of cryptographic components and random number generation mechanisms. - Detection:
The gap was identified during the investigation through a review of the historical application configuration and a comparison with the security considerations raised by the third-party researcher. - Interaction with other factors:
The limited coverage of entropy initialization in security reviews contributed to the historical concern remaining unidentified. The testing and monitoring limitations described in Factor #3 also contributed to the absence of earlier detection. - Root Cause Analysis methodology used:
5 Whys
Contributing Factor #3: Insufficient coverage of serial-number unpredictability in routine testing and security assessments
- Description:
Existing certificate validation and compliance controls primarily addressed certificate structure, encoding, field validity and other applicable requirements. However, these controls did not specifically assess the entropy initialization mechanism or the unpredictability of serial numbers generated by the historical SHA1PRNG implementation. Consequently, certificates could satisfy existing length and format checks without those checks providing assurance regarding the underlying random number generation process. - Timeline:
This limitation existed in the historical testing and assessment activities before the external report was received in October 2026. Following the investigation, TunTrust identified the need to strengthen testing and security assessments covering cryptographic random number generation. - Detection:
The limitation was identified during the investigation by comparing existing certificate validation and testing activities with the technical analysis and reproduction results presented by the researcher. - Interaction with other factors:
The limited security review coverage described in Factor #2 and the absence of dedicated verification of entropy initialization contributed to the historical implementation remaining outside the scope of routine detection controls. - Root Cause Analysis methodology used: 5 Whys
Lessons Learned
-
What went well: TunTrust promptly initiated an investigation following the third-party researcher's report. The review of historical application configurations, available system logs and technical information helped identify the relevant serial-number generation mechanism and assess its security properties.
The investigation also confirmed that BCSP800Hybrid is used for the current subscriber certificate issuance process, all currently valid subscriber certificates and the Issuing CA OCSP Certficate within the investigated scope. Furthermore, TunTrust identified the Root CA OCSP responder certificate requiring increasing the serial number length. -
What didn’t go well: The historical security review and testing activities did not specifically address the assurance of the entropy initialization mechanism used by SHA1PRNG. Although certificate validation controls covered serial-number length, encoding and other certificate properties, these checks did not provide sufficient assurance regarding the unpredictability of the generated serial numbers.
This investigation highlighted the importance of assessing not only the cryptographic generator itself but also its initialization mechanism and entropy source. A serial number may satisfy the expected length and encoding requirements without those properties alone establishing the unpredictability of its generation. -
Where we got lucky: The investigation has not established any compromise or predictability of TunTrust CA private keys. Their generation and protection are performed independently within HSMs, separate from the application-level mechanism used for certificate serial-number generation.
Furthermore, the investigation confirmed the use of BCSP800Hybrid for current subscriber certificate issuance, all currently valid subscriber certificates and the Issuing CA OCSP Certficate within the investigated scope. The improvement. measures identified for the Root CA OCSP responder certificate provide an additional opportunity to strengthen serial-number generation assurance through the adoption of the same modern RNG mechanism.
No evidence currently indicates that the identified historical concern resulted in the compromise of private keys .
Action Items
| Action Items | Kind | Corresponding Root Cause(s) | Evaluation Criteria | Due Date | Status |
|---|---|---|---|---|---|
| Immediate provisional cessation of subscriber TLS certificate issuance, except for test certificates, following receipt of the Bugzilla notification on 31 October 2026. | Proactive action | RC #1 – Insufficient assurance regarding entropy initialization in the historical SHA1PRNG implementation. | Evidence confirming that subscriber TLS certificate issuance was suspended, with the exception of authorized test certificates. | 31 October 2026 | Implemented |
| Generate the TunTrust Root CA OCSP responder certificate with a 20-octet serial number using a modern RNG algorithm. | Improvement action | RC #1 – Insufficient assurance regarding entropy initialization in the historical SHA1PRNG implementation. | Certificate generation records; verification of the new certificate's serial number and generation mechanism; and external auditor confirmation of the implemented corrections. | 27 November 2026 | Planned |
| Revocation of the previous OCSP responder certificate. | Improvement action | RC #1 – Insufficient assurance regarding entropy initialization in the historical SHA1PRNG implementation. | Previous OCSP certificate with status revoked. | 27 November 2026 | Planned |
| Implementation of continuous controls over certificate serial number generation and uniqueness. | Preventive action | RC #1 and RC #3 – Insufficient assurance regarding entropy initialization and insufficient coverage of serial-number unpredictability in routine testing and security assessments. | Test results; evidence of periodic verification of serial-number generation and uniqueness; and records of identified anomalies and their resolution. | 1 December 2026 | Planned |
| Strengthening of cryptographic change detection and change management processes. | Preventive action | RC #2 – Insufficient security review coverage of random number generation mechanisms. | Updated change-management procedure; documented cryptographic impact assessments; evidence of security review and approval for relevant changes; and retained implementation records. | 1 December 2026 | Planned |
| Enhancement of periodic audits and regression testing. | Preventive action | RC #2 and RC #3 – Insufficient security review coverage and insufficient coverage of serial-number unpredictability in routine testing and security assessments. | During the annual internal audit, samples of issued certificates were verified to assess serial-number generation and compliance with applicable requirements. | Annually | Planned |
Appendix
N/A
Updated•11 days ago
|
| Assignee | ||
Comment 1•5 days ago
|
||
-UPDATE: Actions items #2 and #3 status.
Full Incident Report
Summary
- CA Owner CCADB unique ID: A000785
- Incident description:
On 31 October 2026 at 00 :15 UTC , TunTrust was notified through a confidential Mozilla bug (https://bugzilla.mozilla.org/show_bug.cgi?id=2087715) about predictable certificate serial numbers. The reported certificates are the TunTrust Root CA (Serial Number : 27b4bd1d08289f6d78e2cedceef25dca3a702990) certificate dated 18 April 2019 (reported as a cross-certificate), the TunTrust Root CA (Serial Number : 1302d5e2404c92468616675db4bbbbb26b3efc13)self-signed certificate dated 26 April 2019, and the TunTrust Services CA (Serial Number : 601a7c2f6093b7a673da5f8c9c885f37a75897c0) certificate dated 26 April 2019.
We promptly launched an emergency investigation, including internal testing, a review of the relevant source code, and consultations with our application and HSM providers. The investigation identified the use of SHA1PRNG in the certificate serial number generation process, raising concerns about the entropy of the initialization material. We also confirmed that the generation of key pairs for the Root CA, Issuing CA, and OCSP certificates relies on the HSM's internal random number generator, independently of the application-level random number generator used for certificate serial number generation. These are separate random number generation mechanisms, operating within distinct cryptographic components and serving different purposes.
TunTrust has provisionally stopped TLS subscriber-certificate issuance since the notification, except for test certificates..
Following the submission of our preliminary report on 02 November 2026, TunTrust finalized its investigation and submitted a response, documented in a confidential incident report on Mozilla Bugzilla on 12 November 2026. The relevant findings and information are now being disclosed in accordance with the applicable incident reporting and transparency requirements. - Timeline summary:
- Non-compliance start date: The reported certificates which went live on April 26, 2019, was affected.
- Non-compliance identified date: We received the external report at 00:15 UTC on October 31, 2026.
- Non-compliance end date: On 27 November 2026 date of Root OCSP generation
- Relevant policies:
- CA/Browser Forum Baseline Requirements, section 7.1: certificate serial numbers must be greater than zero and contain at least 64 bits of output from a CSPRNG (requirement introduced by Ballot 164, effective 30 September 2016).
- Mozilla Root Store Policy, which requires CAs to comply with the Baseline Requirements.
- Source of incident disclosure: Third Party Reported.
Impact
- Total number of certificates: The 3 reported certficates
- Total number of "remaining valid" certificates: 3 certificates
- Affected certificate types: The affected certificates include root CA certificates, Issuing CA certificate,.
- Incident heuristic: The investigation was initiated following a third-party researcher's report in October 2026. TunTrust's subsequent investigation confirmed that zero currently valid subscriber certificates are affected.
- Was issuance stopped in response to this incident, and why or why not?: Yes. As an immediate precautionary measure, while investigating, TunTrust immediately ceased TLS subscriber certificate issuance, with the exception of test certificates.
- Analysis: TunTrust investigated the use of SHA1PRNG for certificate serial-number generation based on historical application configurations, available system logs and technical information.
The investigation confirmed that the Bouncy Castle FIPS/SP800 Hybrid Generator (BCSP800Hybrid) is used for andall currently valid subscriber certificates.
According to TunTrust's investigation, SHA1PRNG is a pseudorandom number generator initialized using seed material obtained from a CSPRNG. The identified concern therefore relates to the assurance of the entropy used for its initialization.
TunTrust identified that the Root CA OCSP responder certificate, has an 8-octet serial number.
TunTrust conducted a risk analysis to assess the potential impact of the identified SHA1PRNG concern on its CA hierarchy and certificate issuance services. The assessed risk was moderate, taking into account existing security measures and operational safeguards that were already in place prior to the incident notification. Additionally, the reported certificates are signed using SHA-256, for which no practical collision attack is publicly known. - Additional considerations:
The identified issue concerns exclusively the random number generation mechanism involved in certificate serial number assignment within the issuance application. It does not affect the generation or protection of CA private keys, including Root CA, ISSUING CA keys and OCSP certificates, which are generated within dedicated Hardware Security Modules (HSMs) using an independent hardware-based random number generation mechanism.
Timeline
- 30 September 2016: Ballot 164 took effect, requiring certificate serial numbers to contain at least 64 bits of output from a CSPRNG.
- 15 April 2019: We completed the initial service deployment.
- 31 October 2026 TunTrust received a confidential Bugzilla notification reporting the use of a predictable certificate serial number generation mechanism affecting the three certificates.
- 31 October 2026 TunTrust initiated an investigation and immediately ceased TLS subscriber certificate issuance on a provisional basis, except for test certificates.
- 02 November 2026:TunTrust posted a preliminary response on the confidential Bug
- 12 November 2026:TunTrust posted a full response on the confidential Bug
- 25 November 2026: Restart the TLS subscribers certificates issuing process.
Related Incidents
| Bug | Date | Description |
|---|---|---|
| Bug 2090925 | 2026-10-30 | GDCA: Investigate predictable certificate serial generation and implications for CA key security |
| Bug 2096163 | 2026-11-22 | BJCA: Certificate serial numbers generated from CSPRNG seeded with insufficient entropy |
Root Cause Analysis
Contributing Factor #1: Insufficient assurance regarding entropy initialization in the historical SHA1PRNG implementation
- Description: The investigation identified the use of SHA1PRNG for certificate serial-number generation in the historical application environment. SHA1PRNG is a pseudorandom number generator initialized using seed material obtained from a CSPRNG. However, the available historical evidence does not provide sufficient assurance regarding the entropy initialization mechanism and the unpredictability of the generated serial numbers. This concern relates to the assurance of the generator's initialization.
- **Timeline:**The historical SHA1PRNG implementation was used for CA certificate generation in April 2019. The investigation was initiated following the third-party researcher's report in October 2026. Corrective measures include replacing the affected generation mechanism with BCSP800Hybrid following the Root CA application upgrade.
- Detection: The issue was brought to TunTrust's attention through a third-party security researcher's findings in a confidential Bug on mozilla.
- Interaction with other factors: The historical uncertainty regarding entropy initialization was not specifically addressed by the application version review and routine verification controls described in Factors #2 and #3, allowing the concern to remain unidentified
- Root Cause Analysis methodology used: TunTrust reviewed the historical application configuration, available system logs, providors technical explanations and the researcher's reproduction results to assess the historical serial-number generation mechanism and identify the remaining uncertainty regarding entropy initialization.
Contributing Factor #2: Insufficient security review coverage of random number generation mechanisms
- **Description:**The historical application review and change-validation processes did not sufficiently address the security properties of the random number generation mechanism, particularly its initialization and entropy source. The review activities focused primarily on application functionality, configuration and operational behavior in compliance with applicable requirements without specifically assessing the assurance of the entropy initialization process used for certificate serial-number generation.
- Timeline:
This gap relates to the historical implementation and its subsequent security review. Following the investigation, TunTrust identified the need to strengthen security reviews of cryptographic components and random number generation mechanisms. - Detection:
The gap was identified during the investigation through a review of the historical application configuration and a comparison with the security considerations raised by the third-party researcher. - Interaction with other factors:
The limited coverage of entropy initialization in security reviews contributed to the historical concern remaining unidentified. The testing and monitoring limitations described in Factor #3 also contributed to the absence of earlier detection. - Root Cause Analysis methodology used:
5 Whys
Contributing Factor #3: Insufficient coverage of serial-number unpredictability in routine testing and security assessments
- Description:
Existing certificate validation and compliance controls primarily addressed certificate structure, encoding, field validity and other applicable requirements. However, these controls did not specifically assess the entropy initialization mechanism or the unpredictability of serial numbers generated by the historical SHA1PRNG implementation. Consequently, certificates could satisfy existing length and format checks without those checks providing assurance regarding the underlying random number generation process. - Timeline:
This limitation existed in the historical testing and assessment activities before the external report was received in October 2026. Following the investigation, TunTrust identified the need to strengthen testing and security assessments covering cryptographic random number generation. - Detection:
The limitation was identified during the investigation by comparing existing certificate validation and testing activities with the technical analysis and reproduction results presented by the researcher. - Interaction with other factors:
The limited security review coverage described in Factor #2 and the absence of dedicated verification of entropy initialization contributed to the historical implementation remaining outside the scope of routine detection controls. - Root Cause Analysis methodology used: 5 Whys
Lessons Learned
- What went well: TunTrust promptly initiated an investigation following the third-party researcher's report. The review of historical application configurations, available system logs and technical information helped identify the relevant serial-number generation mechanism and assess its security properties.
The investigation also confirmed that BCSP800Hybrid is used for the current subscriber certificate issuance process, all currently valid subscriber certificates and the Issuing CA OCSP Certficate within the investigated scope. Furthermore, TunTrust identified the Root CA OCSP responder certificate requiring increasing the serial number length. - What didn’t go well: The historical security review and testing activities did not specifically address the assurance of the entropy initialization mechanism used by SHA1PRNG. Although certificate validation controls covered serial-number length, encoding and other certificate properties, these checks did not provide sufficient assurance regarding the unpredictability of the generated serial numbers.
This investigation highlighted the importance of assessing not only the cryptographic generator itself but also its initialization mechanism and entropy source. A serial number may satisfy the expected length and encoding requirements without those properties alone establishing the unpredictability of its generation. - Where we got lucky: The investigation has not established any compromise or predictability of TunTrust CA private keys. Their generation and protection are performed independently within HSMs, separate from the application-level mechanism used for certificate serial-number generation.
Furthermore, the investigation confirmed the use of BCSP800Hybrid for current subscriber certificate issuance, all currently valid subscriber certificates and the Issuing CA OCSP Certficate within the investigated scope. The improvement. measures identified for the Root CA OCSP responder certificate provide an additional opportunity to strengthen serial-number generation assurance through the adoption of the same modern RNG mechanism.
No evidence currently indicates that the identified historical concern resulted in the compromise of private keys .
Action Items
| Action Items | Kind | Corresponding Root Cause(s) | Evaluation Criteria | Due Date | Status |
|---|---|---|---|---|---|
| Immediate provisional cessation of subscriber TLS certificate issuance, except for test certificates, following receipt of the Bugzilla notification on 31 October 2026. | Proactive action | RC #1 – Insufficient assurance regarding entropy initialization in the historical SHA1PRNG implementation. | Evidence confirming that subscriber TLS certificate issuance was suspended, with the exception of authorized test certificates. | 31 October 2026 | Implemented |
| Generate the TunTrust Root CA OCSP responder certificate with a 20-octet serial number using a modern RNG algorithm. | Improvement action | RC #1 – Insufficient assurance regarding entropy initialization in the historical SHA1PRNG implementation. | Certificate generation records; verification of the new certificate's serial number and generation mechanism; and external auditor confirmation of the implemented corrections. | 27 November 2026 | Implemented |
| Revocation of the previous OCSP responder certificate. | Improvement action | RC #1 – Insufficient assurance regarding entropy initialization in the historical SHA1PRNG implementation. | Previous OCSP certificate with status revoked. | 27 November 2026 | Implemented |
| Implementation of continuous controls over certificate serial number generation and uniqueness. | Preventive action | RC #1 and RC #3 – Insufficient assurance regarding entropy initialization and insufficient coverage of serial-number unpredictability in routine testing and security assessments. | Test results; evidence of periodic verification of serial-number generation and uniqueness; and records of identified anomalies and their resolution. | 1 December 2026 | Planned |
| Strengthening of cryptographic change detection and change management processes. | Preventive action | RC #2 – Insufficient security review coverage of random number generation mechanisms. | Updated change-management procedure; documented cryptographic impact assessments; evidence of security review and approval for relevant changes; and retained implementation records. | 1 December 2026 | Planned |
| Enhancement of periodic audits and regression testing. | Preventive action | RC #2 and RC #3 – Insufficient security review coverage and insufficient coverage of serial-number unpredictability in routine testing and security assessments. | During the annual internal audit, samples of issued certificates were verified to assess serial-number generation and compliance with applicable requirements. | Annually | Planned |
Appendix
N/A
| Assignee | ||
Comment 2•2 days ago
|
||
-UPDATE: Actions items #4 and #5 status.
Full Incident Report
Summary
- CA Owner CCADB unique ID: A000785
- Incident description:
On 31 October 2026 at 00 :15 UTC , TunTrust was notified through a confidential Mozilla bug (https://bugzilla.mozilla.org/show_bug.cgi?id=2087715) about predictable certificate serial numbers. The reported certificates are the TunTrust Root CA (Serial Number : 27b4bd1d08289f6d78e2cedceef25dca3a702990) certificate dated 18 April 2019 (reported as a cross-certificate), the TunTrust Root CA (Serial Number : 1302d5e2404c92468616675db4bbbbb26b3efc13)self-signed certificate dated 26 April 2019, and the TunTrust Services CA (Serial Number : 601a7c2f6093b7a673da5f8c9c885f37a75897c0) certificate dated 26 April 2019.
We promptly launched an emergency investigation, including internal testing, a review of the relevant source code, and consultations with our application and HSM providers. The investigation identified the use of SHA1PRNG in the certificate serial number generation process, raising concerns about the entropy of the initialization material. We also confirmed that the generation of key pairs for the Root CA, Issuing CA, and OCSP certificates relies on the HSM's internal random number generator, independently of the application-level random number generator used for certificate serial number generation. These are separate random number generation mechanisms, operating within distinct cryptographic components and serving different purposes.
TunTrust has provisionally stopped TLS subscriber-certificate issuance since the notification, except for test certificates..
Following the submission of our preliminary report on 02 November 2026, TunTrust finalized its investigation and submitted a response, documented in a confidential incident report on Mozilla Bugzilla on 12 November 2026. The relevant findings and information are now being disclosed in accordance with the applicable incident reporting and transparency requirements. - Timeline summary:
- Non-compliance start date: The reported certificates which went live on April 26, 2019, was affected.
- Non-compliance identified date: We received the external report at 00:15 UTC on October 31, 2026.
- Non-compliance end date: On 27 November 2026 date of Root OCSP generation
- Relevant policies:
- CA/Browser Forum Baseline Requirements, section 7.1: certificate serial numbers must be greater than zero and contain at least 64 bits of output from a CSPRNG (requirement introduced by Ballot 164, effective 30 September 2016).
- Mozilla Root Store Policy, which requires CAs to comply with the Baseline Requirements.
- Source of incident disclosure: Third Party Reported.
Impact
- Total number of certificates: The 3 reported certficates
- Total number of "remaining valid" certificates: 3 certificates
- Affected certificate types: The affected certificates include root CA certificates, Issuing CA certificate,.
- Incident heuristic: The investigation was initiated following a third-party researcher's report in October 2026. TunTrust's subsequent investigation confirmed that zero currently valid subscriber certificates are affected.
- Was issuance stopped in response to this incident, and why or why not?: Yes. As an immediate precautionary measure, while investigating, TunTrust immediately ceased TLS subscriber certificate issuance, with the exception of test certificates.
- Analysis: TunTrust investigated the use of SHA1PRNG for certificate serial-number generation based on historical application configurations, available system logs and technical information.
The investigation confirmed that the Bouncy Castle FIPS/SP800 Hybrid Generator (BCSP800Hybrid) is used for andall currently valid subscriber certificates.
According to TunTrust's investigation, SHA1PRNG is a pseudorandom number generator initialized using seed material obtained from a CSPRNG. The identified concern therefore relates to the assurance of the entropy used for its initialization.
TunTrust identified that the Root CA OCSP responder certificate, has an 8-octet serial number.
TunTrust conducted a risk analysis to assess the potential impact of the identified SHA1PRNG concern on its CA hierarchy and certificate issuance services. The assessed risk was moderate, taking into account existing security measures and operational safeguards that were already in place prior to the incident notification. Additionally, the reported certificates are signed using SHA-256, for which no practical collision attack is publicly known. - Additional considerations:
The identified issue concerns exclusively the random number generation mechanism involved in certificate serial number assignment within the issuance application. It does not affect the generation or protection of CA private keys, including Root CA, ISSUING CA keys and OCSP certificates, which are generated within dedicated Hardware Security Modules (HSMs) using an independent hardware-based random number generation mechanism.
Timeline
- 30 September 2016: Ballot 164 took effect, requiring certificate serial numbers to contain at least 64 bits of output from a CSPRNG.
- 15 April 2019: We completed the initial service deployment.
- 31 October 2026 TunTrust received a confidential Bugzilla notification reporting the use of a predictable certificate serial number generation mechanism affecting the three certificates.
- 31 October 2026 TunTrust initiated an investigation and immediately ceased TLS subscriber certificate issuance on a provisional basis, except for test certificates.
- 02 November 2026:TunTrust posted a preliminary response on the confidential Bug
- 12 November 2026:TunTrust posted a full response on the confidential Bug
- 25 November 2026: Restart the TLS subscribers certificates issuing process.
Related Incidents
| Bug | Date | Description |
|---|---|---|
| Bug 2090925 | 2026-10-30 | GDCA: Investigate predictable certificate serial generation and implications for CA key security |
| Bug 2096163 | 2026-11-22 | BJCA: Certificate serial numbers generated from CSPRNG seeded with insufficient entropy |
Root Cause Analysis
Contributing Factor #1: Insufficient assurance regarding entropy initialization in the historical SHA1PRNG implementation
- Description: The investigation identified the use of SHA1PRNG for certificate serial-number generation in the historical application environment. SHA1PRNG is a pseudorandom number generator initialized using seed material obtained from a CSPRNG. However, the available historical evidence does not provide sufficient assurance regarding the entropy initialization mechanism and the unpredictability of the generated serial numbers. This concern relates to the assurance of the generator's initialization.
- **Timeline:**The historical SHA1PRNG implementation was used for CA certificate generation in April 2019. The investigation was initiated following the third-party researcher's report in October 2026. Corrective measures include replacing the affected generation mechanism with BCSP800Hybrid following the Root CA application upgrade.
- Detection: The issue was brought to TunTrust's attention through a third-party security researcher's findings in a confidential Bug on mozilla.
- Interaction with other factors: The historical uncertainty regarding entropy initialization was not specifically addressed by the application version review and routine verification controls described in Factors #2 and #3, allowing the concern to remain unidentified
- Root Cause Analysis methodology used: TunTrust reviewed the historical application configuration, available system logs, providors technical explanations and the researcher's reproduction results to assess the historical serial-number generation mechanism and identify the remaining uncertainty regarding entropy initialization.
Contributing Factor #2: Insufficient security review coverage of random number generation mechanisms
- **Description:**The historical application review and change-validation processes did not sufficiently address the security properties of the random number generation mechanism, particularly its initialization and entropy source. The review activities focused primarily on application functionality, configuration and operational behavior in compliance with applicable requirements without specifically assessing the assurance of the entropy initialization process used for certificate serial-number generation.
- Timeline:
This gap relates to the historical implementation and its subsequent security review. Following the investigation, TunTrust identified the need to strengthen security reviews of cryptographic components and random number generation mechanisms. - Detection:
The gap was identified during the investigation through a review of the historical application configuration and a comparison with the security considerations raised by the third-party researcher. - Interaction with other factors:
The limited coverage of entropy initialization in security reviews contributed to the historical concern remaining unidentified. The testing and monitoring limitations described in Factor #3 also contributed to the absence of earlier detection. - Root Cause Analysis methodology used:
5 Whys
Contributing Factor #3: Insufficient coverage of serial-number unpredictability in routine testing and security assessments
- Description:
Existing certificate validation and compliance controls primarily addressed certificate structure, encoding, field validity and other applicable requirements. However, these controls did not specifically assess the entropy initialization mechanism or the unpredictability of serial numbers generated by the historical SHA1PRNG implementation. Consequently, certificates could satisfy existing length and format checks without those checks providing assurance regarding the underlying random number generation process. - Timeline:
This limitation existed in the historical testing and assessment activities before the external report was received in October 2026. Following the investigation, TunTrust identified the need to strengthen testing and security assessments covering cryptographic random number generation. - Detection:
The limitation was identified during the investigation by comparing existing certificate validation and testing activities with the technical analysis and reproduction results presented by the researcher. - Interaction with other factors:
The limited security review coverage described in Factor #2 and the absence of dedicated verification of entropy initialization contributed to the historical implementation remaining outside the scope of routine detection controls. - Root Cause Analysis methodology used: 5 Whys
Lessons Learned
- What went well: TunTrust promptly initiated an investigation following the third-party researcher's report. The review of historical application configurations, available system logs and technical information helped identify the relevant serial-number generation mechanism and assess its security properties.
The investigation also confirmed that BCSP800Hybrid is used for the current subscriber certificate issuance process, all currently valid subscriber certificates and the Issuing CA OCSP Certficate within the investigated scope. Furthermore, TunTrust identified the Root CA OCSP responder certificate requiring increasing the serial number length. - What didn’t go well: The historical security review and testing activities did not specifically address the assurance of the entropy initialization mechanism used by SHA1PRNG. Although certificate validation controls covered serial-number length, encoding and other certificate properties, these checks did not provide sufficient assurance regarding the unpredictability of the generated serial numbers.
This investigation highlighted the importance of assessing not only the cryptographic generator itself but also its initialization mechanism and entropy source. A serial number may satisfy the expected length and encoding requirements without those properties alone establishing the unpredictability of its generation. - Where we got lucky: The investigation has not established any compromise or predictability of TunTrust CA private keys. Their generation and protection are performed independently within HSMs, separate from the application-level mechanism used for certificate serial-number generation.
Furthermore, the investigation confirmed the use of BCSP800Hybrid for current subscriber certificate issuance, all currently valid subscriber certificates and the Issuing CA OCSP Certficate within the investigated scope. The improvement. measures identified for the Root CA OCSP responder certificate provide an additional opportunity to strengthen serial-number generation assurance through the adoption of the same modern RNG mechanism.
No evidence currently indicates that the identified historical concern resulted in the compromise of private keys .
Action Items
| Action Items | Kind | Corresponding Root Cause(s) | Evaluation Criteria | Due Date | Status |
|---|---|---|---|---|---|
| Immediate provisional cessation of subscriber TLS certificate issuance, except for test certificates, following receipt of the Bugzilla notification on 31 October 2026. | Proactive action | RC #1 – Insufficient assurance regarding entropy initialization in the historical SHA1PRNG implementation. | Evidence confirming that subscriber TLS certificate issuance was suspended, with the exception of authorized test certificates. | 31 October 2026 | Implemented |
| Generate the TunTrust Root CA OCSP responder certificate with a 20-octet serial number using a modern RNG algorithm. | Improvement action | RC #1 – Insufficient assurance regarding entropy initialization in the historical SHA1PRNG implementation. | Certificate generation records; verification of the new certificate's serial number and generation mechanism; and external auditor confirmation of the implemented corrections. | 27 November 2026 | Implemented |
| Revocation of the previous OCSP responder certificate. | Improvement action | RC #1 – Insufficient assurance regarding entropy initialization in the historical SHA1PRNG implementation. | Previous OCSP certificate with status revoked. | 27 November 2026 | Implemented |
| Implementation of continuous controls over certificate serial number generation and uniqueness. | Preventive action | RC #1 and RC #3 – Insufficient assurance regarding entropy initialization and insufficient coverage of serial-number unpredictability in routine testing and security assessments. | Test results; evidence of periodic verification of serial-number generation and uniqueness; and records of identified anomalies and their resolution. | 1 December 2026 | Implemented |
| Strengthening of cryptographic change detection and change management processes. | Preventive action | RC #2 – Insufficient security review coverage of random number generation mechanisms. | Updated change-management procedure; documented cryptographic impact assessments; evidence of security review and approval for relevant changes; and retained implementation records. | 1 December 2026 | Implemented |
| Enhancement of periodic audits and regression testing. | Preventive action | RC #2 and RC #3 – Insufficient security review coverage and insufficient coverage of serial-number unpredictability in routine testing and security assessments. | During the annual internal audit, samples of issued certificates were verified to assess serial-number generation and compliance with applicable requirements. | Annually | Planned |
Appendix
N/A
Description
•