Description
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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 4.0 | postgresql-7.4 | 7.4.19-0etch1 | DSA-1463-1 |
| Debian 4.0 | postgresql-8.1 | 8.1.11-0etch1 | DSA-1460-1 |
| Debian 3.1 | postgresql | 7.4.7-6sarge6 | DSA-1463-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 5 | postgresql +9 | 8.1.11-1.el5_1.1 | RHSA-2008:0038 |
| RHEL 5 | tcl +2 | 8.4.13-6.el5 | RHSA-2013:0122 |
| RHEL 4 | postgresql +10 | 7.4.19-1.el4_6.1 | RHSA-2008:0038 |
| RHEL 3 | expect +1 | 5.38.0-92.8 | RHSA-2008:0134 |
| RHEL 3 | itcl | 3.2-92.8 | RHSA-2008:0134 |
| RHEL 3 | tclx | 8.3-92.8 | RHSA-2008:0134 |
| RHEL 3 | tix | 1:8.1.4-92.8 | RHSA-2008:0134 |
| RHEL 3 | tk +4 | 8.3.5-92.8 | RHSA-2008:0134 |
| RHEL 2 | expect | 5.38.0-75 | RHSA-2008:0134 |
| RHEL 2 | itcl | 3.2-75 | RHSA-2008:0134 |
| RHEL 2 | tcllib | 1.0-75 | RHSA-2008:0134 |
| RHEL 2 | tclx | 8.3-75 | RHSA-2008:0134 |
| RHEL 2 | tix | 8.2.0b1-75 | RHSA-2008:0134 |
| RHEL 2 | tk +2 | 8.3.3-75 | RHSA-2008:0134 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Rhel Application Stack 1 | postgresql +9 | 8.1.11-1.el4s1.1 | RHSA-2008:0040 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP1 | postgresql94 | 9.4.6-7.2 | SUSE-SU-2016:0555-1 |
| SLES 12 SP1 | postgresql94-libs | 9.4.6-7.1 | SUSE-SU-2016:0555-1 |
| SLES 12 | postgresql93 | 9.3.11-14.2 | SUSE-SU-2016:0539-1 |
| SLES 12 | postgresql93-libs | 9.3.11-14.1 | SUSE-SU-2016:0539-1 |
| SLES 12 | postgresql94 | 9.4.6-7.2 | SUSE-SU-2016:0555-1 |
| SLES 12 | postgresql94-libs | 9.4.6-7.1 | SUSE-SU-2016:0555-1 |
| SLES 11 SP4 | postgresql94 +1 | 9.4.6-0.14.3 | SUSE-SU-2016:0677-1 |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 12 SP1 | postgresql94 | 9.4.6-7.2 | SUSE-SU-2016:0555-1 |
| SLES for SAP 12 SP1 | postgresql94-libs | 9.4.6-7.1 | SUSE-SU-2016:0555-1 |
| SLES for SAP 12 | postgresql93 | 9.3.11-14.2 | SUSE-SU-2016:0539-1 |
| SLES for SAP 12 | postgresql94 | 9.4.6-7.2 | SUSE-SU-2016:0555-1 |
| SLES for SAP 12 | postgresql94-libs | 9.4.6-7.1 | SUSE-SU-2016:0555-1 |
| SLES for SAP 11 SP4 | postgresql94 +1 | 9.4.6-0.14.3 | SUSE-SU-2016:0677-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | postgresql93 | 9.3.15-1.1 | openSUSE-SU-2024:10256-1 |
| openSUSE Tumbleweed | postgresql94 | 9.4.10-1.1 | openSUSE-SU-2024:10030-1 |
| openSUSE Tumbleweed | postgresql95 | 9.5.4-1.2 | openSUSE-SU-2024:10273-1 |
Advisories 12
- RHSA-2013:0122 Red Hat Security Advisory: tcl security and bug fix update Red Hat Security Advisories (RHSA) · Jun 28, 2026
- RHSA-2008:0134 Red Hat Security Advisory: tcltk security update Red Hat Security Advisories (RHSA) · Jun 28, 2026
- RHSA-2008:0040 Red Hat Security Advisory: postgresql security update Red Hat Security Advisories (RHSA) · Jun 28, 2026
- RHSA-2008:0038 Red Hat Security Advisory: postgresql security update Red Hat Security Advisories (RHSA) · Jun 28, 2026
- DSA-1460-1 postgresql-8.1 - several Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-1463-1 postgresql-7.4 - several Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2016:0539-1 Security update for postgresql93 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:10030-1 postgresql94-9.4.10-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2016:0677-1 Security update for postgresql94 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2016:0555-1 Security update for postgresql94 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:10273-1 libecpg6-32bit-9.5.4-1.2 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:10256-1 postgresql93-9.3.15-1.1 on GA media SUSE / openSUSE Security Updates · May 7, 2025
References
- SUSE-SU-2016:0555 vendor-advisory
- RHSA-2008:0134 vendor-advisory
- MDVSA-2008:004 vendor-advisory
- DSA-1460 vendor-advisory
- ADV-2008-1744 vdb-entry
- SUSE-SU-2016:0677 vendor-advisory
- SUSE-SU-2016:0539 vendor-advisory
- RHSA-2013:0122 vendor-advisory
- 27163 vdb-entry
- https://issues.rpath.com/browse/RPL-1768
- RHSA-2008:0038 vendor-advisory
- 28454 third-party-advisory
- 20080107 PostgreSQL 2007-01-07 Cumulative Security Release mailing-list
- 28359 third-party-advisory
- http://www.postgresql.org/about/news.905
- SUSE-SA:2008:005 vendor-advisory
- ADV-2008-0061 vdb-entry
- 28679 third-party-advisory
- ADV-2008-0109 vdb-entry
- http://www.vmware.com/security/advisories/VMSA-2008-0009.html
- 28376 third-party-advisory
- http://sourceforge.net/tracker/index.php?func=detail&aid=1810264&group_id=10894&atid=110894
- 103197 vendor-advisory
- 28437 third-party-advisory
- 28455 third-party-advisory
- 28477 third-party-advisory
- 29638 third-party-advisory
- 28479 third-party-advisory
- http://sourceforge.net/project/shownotes.php?release_id=565440&group_id=10894
- 29248 third-party-advisory
- postgresql-regular-expression-dos(39497) vdb-entry
- DSA-1463 vendor-advisory
- RHSA-2008:0040 vendor-advisory
- openSUSE-SU-2016:0578 vendor-advisory
- 20080115 rPSA-2008-0016-1 postgresql postgresql-server mailing-list
- MDVSA-2008:059 vendor-advisory
- 28464 third-party-advisory
- 30535 third-party-advisory
- 28698 third-party-advisory
- SSRT080006 vendor-advisory
- 200559 vendor-advisory
- 20080604 VMSA-2008-0009 Updates to VMware Workstation, VMware Player, VMware ACE, VMware Fusion, VMware Server, VMware VIX API, VMware ESX, VMware ESXi resolve critical security issues mailing-list
- USN-568-1 vendor-advisory
- openSUSE-SU-2016:0531 vendor-advisory
- FEDORA-2008-0552 vendor-advisory
- 29070 third-party-advisory
- 28438 third-party-advisory
- 1019157 vdb-entry
- http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10705
- oval:org.mitre.oval:def:11569 vdb-entry signature
- FEDORA-2008-0478 vendor-advisory
- GLSA-200801-15 vendor-advisory
- ADV-2008-1071 vdb-entry