The regular expression parser in TCL before 8.4.17, as used in PostgreSQL 8.2 before…
Priority LOW 25CWE-399Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- — Not recorded in CVSS 2.0
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · Partial
- Fix status
- Partial Red Hat: 17 fixed, 1 without a fix
Attack profile from CVSS 2.0 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-399 and the CVSS impact.
Summary
The regular expression parser in TCL before 8.4.17, as used in PostgreSQL 8.2 before 8.2.6, 8.1 before 8.1.11, 8.0 before 8.0.15, and 7.4 before 7.4.19, allows context-dependent attackers to cause a denial of service (infinite loop) via a crafted regular expression.
Why it matters now
EPSS 0.03812 90th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Partial Red Hat: 4 advisoriesRed Hat: 17 fixed, 1 without a fix
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 · 7
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* | 7.4 to before 7.4.19; 8.0 to before 8.0.15; 8.1 to before 8.1.11; 8.2 to before 8.2.6 | Vulnerable | PostgreSQL |
| cpe:2.3:a:tcl:tcl\/tk:*:*:*:*:*:*:*:* | before 8.4.17 | Vulnerable | TCL |
| cpe:2.3:o:debian:debian_linux:3.1:*:*:*:*:*:*:* | 3.1 | Vulnerable | Debian |
| cpe:2.3:o:canonical:ubuntu_linux:6.06:*:*:*:lts:*:*:* | 6.06 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:6.10:*:*:*:*:*:*:* | 6.10 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:7.04:*:*:*:*:*:*:* | 7.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:7.10:*:*:*:*:*:*:* | 7.10 | Vulnerable | Canonical |
- cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* Versions 7.4 to before 7.4.19; 8.0 to before 8.0.15; 8.1 to before 8.1.11; 8.2 to before 8.2.6 Vulnerable ·PostgreSQL
- cpe:2.3:a:tcl:tcl\/tk:*:*:*:*:*:*:*:* Versions before 8.4.17 Vulnerable ·TCL
- cpe:2.3:o:debian:debian_linux:3.1:*:*:*:*:*:*:* Versions 3.1 Vulnerable ·Debian
- cpe:2.3:o:canonical:ubuntu_linux:6.06:*:*:*:lts:*:*:* Versions 6.06 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:6.10:*:*:*:*:*:*:* Versions 6.10 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:7.04:*:*:*:*:*:*:* Versions 7.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:7.10:*:*:*:*:*:*:* Versions 7.10 Vulnerable ·Canonical
Remediation
Red Hat 4 advisories
- RHSA-2013:0122 Released 2013-01-08 · Red Hat rating Moderatetcl security and bug fix update
- Red Hat Enterprise Linux (v. 5 server) tcl-8.4.13-6.el5, tcl-8.4.13-6.el5.i386, tcl-8.4.13-6.el5.ia64 +9
- Red Hat Enterprise Linux Desktop (v. 5 client) tcl-8.4.13-6.el5, tcl-8.4.13-6.el5.i386, tcl-html-8.4.13-6.el5 +1
- Red Hat Enterprise Linux Desktop Workstation (v. 5 client) tcl-8.4.13-6.el5, tcl-devel-8.4.13-6.el5, tcl-devel-8.4.13-6.el5.i386
- RHSA-2008:0134 Released 2008-02-21 · Red Hat rating Moderatetcltk security update
- Red Hat Desktop version 3 expect-5.38.0-92.8, expect-5.38.0-92.8.i386, expect-devel-5.38.0-92.8 +16
- Red Hat Enterprise Linux AS (Advanced Server) version 2.1 expect-5.38.0-75.i386, expect-5.38.0-75.ia64, itcl-3.2-75.i386 +12
- Red Hat Enterprise Linux AS version 3 expect-5.38.0-92.8, expect-5.38.0-92.8.i386, expect-5.38.0-92.8.ia64 +34
- Red Hat Enterprise Linux ES version 2.1 expect-5.38.0-75.i386, itcl-3.2-75.i386, tcl-8.3.3-75.i386 +5
- Red Hat Enterprise Linux ES version 3 expect-5.38.0-92.8, expect-5.38.0-92.8.i386, expect-5.38.0-92.8.ia64 +25
- Red Hat Enterprise Linux WS version 2.1 expect-5.38.0-75.i386, itcl-3.2-75.i386, tcl-8.3.3-75.i386 +5
- Red Hat Enterprise Linux WS version 3 expect-5.38.0-92.8, expect-5.38.0-92.8.i386, expect-5.38.0-92.8.ia64 +25
- Red Hat Linux Advanced Workstation 2.1 expect-5.38.0-75.ia64, itcl-3.2-75.ia64, tcl-8.3.3-75.ia64 +5
- RHSA-2008:0040 Released 2008-02-01 · Red Hat rating Moderatepostgresql security update
- Red Hat Application Stack v1 for Enterprise Linux AS (v.4) postgresql-8.1.11-1.el4s1.1, postgresql-8.1.11-1.el4s1.1.i386, postgresql-contrib-8.1.11-1.el4s1.1 +17
- Red Hat Application Stack v1 for Enterprise Linux ES (v.4) postgresql-8.1.11-1.el4s1.1, postgresql-8.1.11-1.el4s1.1.i386, postgresql-contrib-8.1.11-1.el4s1.1 +17
Show 1 more Red Hat advisories
- RHSA-2008:0038 Released 2008-01-11 · Red Hat rating Moderatepostgresql security update
- Red Hat Enterprise Linux (v. 5 server) postgresql-8.1.11-1.el5_1.1, postgresql-8.1.11-1.el5_1.1.i386, postgresql-8.1.11-1.el5_1.1.ia64 +37
- Red Hat Enterprise Linux AS version 4 postgresql-7.4.19-1.el4_6.1, postgresql-7.4.19-1.el4_6.1.i386, postgresql-7.4.19-1.el4_6.1.ia64 +41
- Red Hat Enterprise Linux Desktop (v. 5 client) postgresql-8.1.11-1.el5_1.1, postgresql-8.1.11-1.el5_1.1.i386, postgresql-contrib-8.1.11-1.el5_1.1 +9
- Red Hat Enterprise Linux Desktop Workstation (v. 5 client) postgresql-8.1.11-1.el5_1.1, postgresql-devel-8.1.11-1.el5_1.1, postgresql-devel-8.1.11-1.el5_1.1.i386 +6
- Red Hat Enterprise Linux Desktop version 4 postgresql-7.4.19-1.el4_6.1, postgresql-7.4.19-1.el4_6.1.i386, postgresql-contrib-7.4.19-1.el4_6.1 +19
- Red Hat Enterprise Linux ES version 4 postgresql-7.4.19-1.el4_6.1, postgresql-7.4.19-1.el4_6.1.i386, postgresql-7.4.19-1.el4_6.1.ia64 +30
- Red Hat Enterprise Linux WS version 4 postgresql-7.4.19-1.el4_6.1, postgresql-7.4.19-1.el4_6.1.i386, postgresql-7.4.19-1.el4_6.1.ia64 +30
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 4 | Affected | No fix planned: Will not fix |
| Red Hat Application Stack v1 for Enterprise Linux AS (v.4) | Fixed | RHSA-2008:0040 |
| Red Hat Application Stack v1 for Enterprise Linux ES (v.4) | Fixed | RHSA-2008:0040 |
| Red Hat Desktop version 3 | Fixed | RHSA-2008:0134 |
| Red Hat Enterprise Linux (v. 5 server) | Fixed | RHSA-2008:0038, RHSA-2013:0122 |
| Red Hat Enterprise Linux AS (Advanced Server) version 2.1 | Fixed | RHSA-2008:0134 |
| Red Hat Enterprise Linux AS version 3 | Fixed | RHSA-2008:0134 |
| Red Hat Enterprise Linux AS version 4 | Fixed | RHSA-2008:0038 |
| Red Hat Enterprise Linux Desktop (v. 5 client) | Fixed | RHSA-2008:0038, RHSA-2013:0122 |
| Red Hat Enterprise Linux Desktop Workstation (v. 5 client) | Fixed | RHSA-2008:0038, RHSA-2013:0122 |
| Red Hat Enterprise Linux Desktop version 4 | Fixed | RHSA-2008:0038 |
| Red Hat Enterprise Linux ES version 2.1 | Fixed | RHSA-2008:0134 |
| Red Hat Enterprise Linux ES version 3 | Fixed | RHSA-2008:0134 |
| Red Hat Enterprise Linux ES version 4 | Fixed | RHSA-2008:0038 |
| Red Hat Enterprise Linux WS version 2.1 | Fixed | RHSA-2008:0134 |
| Red Hat Enterprise Linux WS version 3 | Fixed | RHSA-2008:0134 |
| Red Hat Enterprise Linux WS version 4 | Fixed | RHSA-2008:0038 |
| Red Hat Linux Advanced Workstation 2.1 | Fixed | RHSA-2008:0134 |
Not affected: 1 product
- Red Hat Application Stack v2 for Enterprise Linux (v.5)
Timeline
- 2026-10-02 Threatist record created from CVE-2007-4772
- 2026-10-03 Alias added: GHSA-x3q3-v77f-cg26
- 2026-10-23 EPSS moved to the 90th–95th percentile
- 2026-10-25 EPSS moved to the 50th–90th percentile
- 2026-10-28 EPSS moved to the 90th–95th percentile
References
Exploit 1
Advisory 29
- SUSE-SU-2016:0555
- RHSA-2008:0134
- MDVSA-2008:004
- DSA-1460
- SUSE-SU-2016:0677
- SUSE-SU-2016:0539
- RHSA-2013:0122
- RHSA-2008:0038
- http://www.postgresql.org/about/news.905
- SUSE-SA:2008:005
- ADV-2008-0061
- ADV-2008-0109
- http://www.vmware.com/security/advisories/VMSA-2008-0009.html
- 103197
- http://sourceforge.net/project/shownotes.php?release_id=565440&group_id=10894
- DSA-1463
- RHSA-2008:0040
- openSUSE-SU-2016:0578
- MDVSA-2008:059
- SSRT080006
- 200559
- USN-568-1
- openSUSE-SU-2016:0531
- FEDORA-2008-0552
- http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10705
- oval:org.mitre.oval:def:11569
- FEDORA-2008-0478
- GLSA-200801-15
- ADV-2008-1071
Sources
- CVE-2007-4772 · CVE Program
- CVE-2007-4772 · NVD
- FIRST EPSS
- GHSA-x3q3-v77f-cg26 · GitHub Advisory Database · CC BY 4.0
- CVE-2007-4772 · 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