Stunnel 4.00, and 3.24 and earlier, leaks a privileged file descriptor returned by…
Priority LOW 22Published · Updated
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- — Not recorded in CVSS 2.0
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- Partial · Partial · Partial
- Fix status
- Fixed
Attack profile from CVSS 2.0 · NVD. Fix status from CNA and Red Hat.
Summary
Stunnel 4.00, and 3.24 and earlier, leaks a privileged file descriptor returned by listen(), which allows local users to hijack the Stunnel server.
Why it matters now
EPSS 0.007 53rd percentileScored 2026-11-07
Fix Fixed Red Hat: 2 advisories
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 23
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:stunnel:stunnel:3.3:*:*:*:*:*:*:* | 3.3 | Vulnerable | Stunnel |
| cpe:2.3:a:stunnel:stunnel:3.4a:*:*:*:*:*:*:* | 3.4a | Vulnerable | Stunnel |
| cpe:2.3:a:stunnel:stunnel:3.7:*:*:*:*:*:*:* | 3.7 | Vulnerable | Stunnel |
| cpe:2.3:a:stunnel:stunnel:3.8:*:*:*:*:*:*:* | 3.8 | Vulnerable | Stunnel |
| cpe:2.3:a:stunnel:stunnel:3.9:*:*:*:*:*:*:* | 3.9 | Vulnerable | Stunnel |
| cpe:2.3:a:stunnel:stunnel:3.10:*:*:*:*:*:*:* | 3.10 | Vulnerable | Stunnel |
| cpe:2.3:a:stunnel:stunnel:3.11:*:*:*:*:*:*:* | 3.11 | Vulnerable | Stunnel |
| cpe:2.3:a:stunnel:stunnel:3.12:*:*:*:*:*:*:* | 3.12 | Vulnerable | Stunnel |
| cpe:2.3:a:stunnel:stunnel:3.13:*:*:*:*:*:*:* | 3.13 | Vulnerable | Stunnel |
| cpe:2.3:a:stunnel:stunnel:3.14:*:*:*:*:*:*:* | 3.14 | Vulnerable | Stunnel |
- cpe:2.3:a:stunnel:stunnel:3.3:*:*:*:*:*:*:* Versions 3.3 Vulnerable ·Stunnel
- cpe:2.3:a:stunnel:stunnel:3.4a:*:*:*:*:*:*:* Versions 3.4a Vulnerable ·Stunnel
- cpe:2.3:a:stunnel:stunnel:3.7:*:*:*:*:*:*:* Versions 3.7 Vulnerable ·Stunnel
- cpe:2.3:a:stunnel:stunnel:3.8:*:*:*:*:*:*:* Versions 3.8 Vulnerable ·Stunnel
- cpe:2.3:a:stunnel:stunnel:3.9:*:*:*:*:*:*:* Versions 3.9 Vulnerable ·Stunnel
- cpe:2.3:a:stunnel:stunnel:3.10:*:*:*:*:*:*:* Versions 3.10 Vulnerable ·Stunnel
- cpe:2.3:a:stunnel:stunnel:3.11:*:*:*:*:*:*:* Versions 3.11 Vulnerable ·Stunnel
- cpe:2.3:a:stunnel:stunnel:3.12:*:*:*:*:*:*:* Versions 3.12 Vulnerable ·Stunnel
- cpe:2.3:a:stunnel:stunnel:3.13:*:*:*:*:*:*:* Versions 3.13 Vulnerable ·Stunnel
- cpe:2.3:a:stunnel:stunnel:3.14:*:*:*:*:*:*:* Versions 3.14 Vulnerable ·Stunnel
Show 13 more CPE
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:stunnel:stunnel:3.15:*:*:*:*:*:*:* | 3.15 | Vulnerable | Stunnel |
| cpe:2.3:a:stunnel:stunnel:3.16:*:*:*:*:*:*:* | 3.16 | Vulnerable | Stunnel |
| cpe:2.3:a:stunnel:stunnel:3.17:*:*:*:*:*:*:* | 3.17 | Vulnerable | Stunnel |
| cpe:2.3:a:stunnel:stunnel:3.18:*:*:*:*:*:*:* | 3.18 | Vulnerable | Stunnel |
| cpe:2.3:a:stunnel:stunnel:3.19:*:*:*:*:*:*:* | 3.19 | Vulnerable | Stunnel |
| cpe:2.3:a:stunnel:stunnel:3.20:*:*:*:*:*:*:* | 3.20 | Vulnerable | Stunnel |
| cpe:2.3:a:stunnel:stunnel:3.21:*:*:*:*:*:*:* | 3.21 | Vulnerable | Stunnel |
| cpe:2.3:a:stunnel:stunnel:3.21a:*:*:*:*:*:*:* | 3.21a | Vulnerable | Stunnel |
| cpe:2.3:a:stunnel:stunnel:3.21b:*:*:*:*:*:*:* | 3.21b | Vulnerable | Stunnel |
| cpe:2.3:a:stunnel:stunnel:3.21c:*:*:*:*:*:*:* | 3.21c | Vulnerable | Stunnel |
| cpe:2.3:a:stunnel:stunnel:3.22:*:*:*:*:*:*:* | 3.22 | Vulnerable | Stunnel |
| cpe:2.3:a:stunnel:stunnel:3.24:*:*:*:*:*:*:* | 3.24 | Vulnerable | Stunnel |
| cpe:2.3:a:stunnel:stunnel:4.0:*:*:*:*:*:*:* | 4.0 | Vulnerable | Stunnel |
- cpe:2.3:a:stunnel:stunnel:3.15:*:*:*:*:*:*:* Versions 3.15 Vulnerable ·Stunnel
- cpe:2.3:a:stunnel:stunnel:3.16:*:*:*:*:*:*:* Versions 3.16 Vulnerable ·Stunnel
- cpe:2.3:a:stunnel:stunnel:3.17:*:*:*:*:*:*:* Versions 3.17 Vulnerable ·Stunnel
- cpe:2.3:a:stunnel:stunnel:3.18:*:*:*:*:*:*:* Versions 3.18 Vulnerable ·Stunnel
- cpe:2.3:a:stunnel:stunnel:3.19:*:*:*:*:*:*:* Versions 3.19 Vulnerable ·Stunnel
- cpe:2.3:a:stunnel:stunnel:3.20:*:*:*:*:*:*:* Versions 3.20 Vulnerable ·Stunnel
- cpe:2.3:a:stunnel:stunnel:3.21:*:*:*:*:*:*:* Versions 3.21 Vulnerable ·Stunnel
- cpe:2.3:a:stunnel:stunnel:3.21a:*:*:*:*:*:*:* Versions 3.21a Vulnerable ·Stunnel
- cpe:2.3:a:stunnel:stunnel:3.21b:*:*:*:*:*:*:* Versions 3.21b Vulnerable ·Stunnel
- cpe:2.3:a:stunnel:stunnel:3.21c:*:*:*:*:*:*:* Versions 3.21c Vulnerable ·Stunnel
- cpe:2.3:a:stunnel:stunnel:3.22:*:*:*:*:*:*:* Versions 3.22 Vulnerable ·Stunnel
- cpe:2.3:a:stunnel:stunnel:3.24:*:*:*:*:*:*:* Versions 3.24 Vulnerable ·Stunnel
- cpe:2.3:a:stunnel:stunnel:4.0:*:*:*:*:*:*:* Versions 4.0 Vulnerable ·Stunnel
Remediation
Red Hat 2 advisories
- RHSA-2003:296 Released 2003-11-24 · Red Hat rating Important: Updated stunnel packages available
- Red Hat Linux 7.1
- Red Hat Linux 7.2
- Red Hat Linux 7.3
- Red Hat Linux 8.0
- RHSA-2003:297 Released 2003-11-12 · Red Hat rating Importantstunnel security update
- Red Hat Enterprise Linux AS (Advanced Server) version 2.1
- Red Hat Enterprise Linux ES version 2.1
- Red Hat Enterprise Linux WS version 2.1
- Red Hat Linux Advanced Workstation 2.1
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux AS (Advanced Server) version 2.1 | Fixed | RHSA-2003:297 |
| Red Hat Enterprise Linux ES version 2.1 | Fixed | RHSA-2003:297 |
| Red Hat Enterprise Linux WS version 2.1 | Fixed | RHSA-2003:297 |
| Red Hat Linux 7.1 | Fixed | RHSA-2003:296 |
| Red Hat Linux 7.2 | Fixed | RHSA-2003:296 |
| Red Hat Linux 7.3 | Fixed | RHSA-2003:296 |
| Red Hat Linux 8.0 | Fixed | RHSA-2003:296 |
| Red Hat Linux Advanced Workstation 2.1 | Fixed | RHSA-2003:297 |
Timeline
- 2026-10-02 Threatist record created from CVE-2003-0740
- 2026-10-03 Alias added: GHSA-94h5-4g3p-4v6g
References
More Stunnel vulnerabilities
- TI-2011-02592 stunnel 4.40 and 4.41 might allow remote attackers to execute arbitrary code or cause a… CVSS 2.0HIGH 9.3
- TI-2001-00060 Format string vulnerability in stunnel 3.8 and earlier allows attackers to execute… CVSS 2.0HIGH 10.0
- TI-2002-00002 Format string vulnerability in stunnel before 3.22 when used in client mode for (1) smtp… CVSS 2.0HIGH 7.5
- TI-2021-03525 Improper certificate validation in stunnel CVSS 3.1HIGH 7.5
- TI-2013-01549 stunnel 4.21 through 4.54, when CONNECT protocol negotiation and NTLM authentication are… CVSS 2.0MEDIUM 6.6
- TI-2008-02320 The OCSP functionality in stunnel before 4.24 does not properly search certificate… CVSS 2.0MEDIUM 6.8
Sources
- CVE-2003-0740 · CVE Program
- CVE-2003-0740 · NVD
- FIRST EPSS
- GHSA-94h5-4g3p-4v6g · GitHub Advisory Database · CC BY 4.0
- CVE-2003-0740 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences