Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
6.8
CVE-2008-1026: Safari before 3.1.1 can run attacker code via crafted regex
CVE-2008-1026 · published 18 years ago
Summary
Safari versions older than 3.1.1 miscalculate the size of data when processing certain search patterns, which can cause a memory error that lets an attacker run code on the user’s computer. The risk occurs when a user visits a malicious web page containing a specially built regular expression. Updating Safari to version 3.1.1 or later, or applying any available patches, removes the risk.
What to do
The CVE record does not list a fixed version. Check the vendor's site or the advisory links below - a fix may already be released.
Affected software
| Vendor | Product | Affected versions |
|---|---|---|
| apple | safari |
3 3.1 cpe:2.3:a:apple:safari:3:*:*:*:*:*:*:* |
Original advisory text
Integer overflow in the PCRE regular expression compiler (JavaScriptCore/pcre/pcre_compile.cpp) in Apple WebKit, as used in Safari before 3.1.1, allows remote attackers to execute arbitrary code vi...
Integer overflow in the PCRE regular expression compiler (JavaScriptCore/pcre/pcre_compile.cpp) in Apple WebKit, as used in Safari before 3.1.1, allows remote attackers to execute arbitrary code via a regular expression with large, nested repetition counts, which triggers a heap-based buffer overflow.
References
- http://lists.apple.com/archives/security-announce/2008//Jul/msg00001.html
- http://lists.apple.com/archives/security-announce/2008/Apr/msg00001.html
- http://secunia.com/advisories/29846
- http://secunia.com/advisories/31074
- http://securityreason.com/securityalert/3815
- http://support.apple.com/kb/HT1467 Patch
- http://www.securityfocus.com/archive/1/490990/100/0/threaded
- http://www.securityfocus.com/bid/28815
- http://www.securitytracker.com/id?1019870
- http://www.vupen.com/english/advisories/2008/1250/references
- http://www.vupen.com/english/advisories/2008/2094/references
- http://www.zerodayinitiative.com/advisories/ZDI-08-022 Patch
- https://exchange.xforce.ibmcloud.com/vulnerabilities/41859
Internet-facing
60 days
Internal
At next upgrade
- Not known to be exploited
- Needs hands-on effort to exploit (estimated)
- Gives an attacker partial control (estimated)
Severity
6.8
Medium
Type
CWE-119Buffer Overflow
Timeline
Published17 Apr 2008
Updated31 Oct 2026
First seen29 Sep 2026
Sources
CVE-2008-1026 · NVD
Track software like this
Free during beta