CVE-2025-32990
Medium · 6.5CVSS
6.5
EPSS
0.9%
Published
Jul 10, 2025
CISA due date
—
Cloudanix analysis
A bug in a software component that reads settings from template files can make the program crash when it encounters certain inputs, potentially interrupting the services that depend on it.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- Application
- Class
- Buffer Overflow
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
The flaw is a heap-buffer-overflow off-by-one error in template parsing logic that performs an out-of-bounds NULL pointer write, resulting in memory corruption and denial-of-service.
Why it matters to the business
Applications or services using the affected package can be crashed by processing malicious template input, leading to service disruption; the issue has been public for over a year with slowly rising exploit prediction scores.
How an attack unfolds
An attacker supplies a specially crafted template file containing trigger settings to the parsing routine; the off-by-one condition is reached during read, causing the NULL write and subsequent crash.
How to fix it
Upgrade @hapi/subtext to version 7.0.3 or 6.1.3.
How to confirm the fix worked
Confirm the installed package version matches a fixed release and re-test template parsing with known trigger inputs to verify absence of crash.
Typical attack path
- Deliver a malicious template file to the affected parsing component
- Invoke template processing
- Trigger the off-by-one buffer overflow
- Produce memory corruption and application crash
How to detect it
Inspect application and system logs for unexpected crashes or segmentation faults occurring during template file processing; correlate with any inbound untrusted template submissions.
What your security team should do
- Immediately upgrade @hapi/subtext to 7.0.3 or 6.1.3
- Review any services that accept untrusted template input and restrict access until patched
- Monitor application stability logs for related crashes
The record
A heap-buffer-overflow (off-by-one) flaw was found in the GnuTLS software in the template parsing logic within the certtool utility. When it reads certain settings from a template file, it allows an attacker to cause an out-of-bounds (OOB) NULL pointer write, resulting in memory corruption and a denial-of-service (DoS) that could potentially crash the system.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| AlmaLinux:10 | gnutls | 0 | 3.8.9-9.el10_0.14 |
| AlmaLinux:10 | gnutls-c++ | 0 | 3.8.9-9.el10_0.14 |
| AlmaLinux:10 | gnutls-dane | 0 | 3.8.9-9.el10_0.14 |
| AlmaLinux:10 | gnutls-devel | 0 | 3.8.9-9.el10_0.14 |
| AlmaLinux:10 | gnutls-fips | 0 | 3.8.9-9.el10_0.14 |
| AlmaLinux:10 | gnutls-utils | 0 | 3.8.9-9.el10_0.14 |
| AlmaLinux:8 | gnutls | 0 | 3.6.16-8.el8_10.4 |
| AlmaLinux:8 | gnutls-c++ | 0 | 3.6.16-8.el8_10.4 |
| AlmaLinux:8 | gnutls-dane | 0 | 3.6.16-8.el8_10.4 |
| AlmaLinux:8 | gnutls-devel | 0 | 3.6.16-8.el8_10.4 |
| AlmaLinux:8 | gnutls-utils | 0 | 3.6.16-8.el8_10.4 |
| AlmaLinux:9 | gnutls | 0 | 3.8.3-6.el9_6.2 |
| AlmaLinux:9 | gnutls-c++ | 0 | 3.8.3-6.el9_6.2 |
| AlmaLinux:9 | gnutls-dane | 0 | 3.8.3-6.el9_6.2 |
| AlmaLinux:9 | gnutls-devel | 0 | 3.8.3-6.el9_6.2 |
| AlmaLinux:9 | gnutls-utils | 0 | 3.8.3-6.el9_6.2 |
| Debian:11 | gnutls28 | 0 | No fix |
| Debian:12 | gnutls28 | 0 | No fix |
| Debian:13 | gnutls28 | 0 | No fix |
| Debian:14 | gnutls28 | 0 | 3.8.9-3 |
| Mageia:9 | gnutls | 0 | 3.8.4-1.2.mga9 |
| SUSE:Linux Enterprise Module for Basesystem 15 SP6 | gnutls | 0 | 3.8.3-150600.4.9.1 |
| SUSE:Linux Enterprise Module for Basesystem 15 SP7 | gnutls | 0 | 3.8.3-150600.4.9.1 |
| SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5 | gnutls | 0 | 3.3.27-3.12.1 |
| SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5 | gnutls | 0 | 3.4.17-8.20.1 |
| openSUSE:Leap 15.6 | gnutls | 0 | 3.8.3-150600.4.9.1 |
| openSUSE:Tumbleweed | gnutls | 0 | 3.8.10-1.1 |
Related vulnerabilities
- CVE-2025-6395 A NULL pointer dereference flaw was found in the GnuTLS software in… Also affects gnutls
- CVE-2025-32988 A flaw was found in GnuTLS. Also affects gnutls
- CVE-2025-32989 A heap-buffer-overread vulnerability was found in GnuTLS in how it handles the… Also affects gnutls
- CVE-2024-12243 A flaw was found in GnuTLS, which relies on libtasn1 for ASN.1 data processing. Also affects gnutls
- CVE-2024-28834 A flaw was found in GnuTLS. Also affects gnutls
- CVE-2024-0553 A vulnerability was found in GnuTLS. Also affects gnutls
- CVE-2023-5981 A vulnerability was found that the response times to malformed ciphertexts in RSA-PSK… Also affects gnutls
- CVE-2024-28835 A flaw has been discovered in GnuTLS where an application crash can be induced when… Also affects gnutls