Perl Regular Expressions Unicode Data Buffer Overflow
Secunia Advisory: SA27546
Release Date: 2007-11-06
Last Update: 2008-04-25
Popularity: 8,989 views

Critical:
Moderately critical
Impact: DoS
System access
Where: From remote
Solution Status: Vendor Workaround

Software:Perl 5.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2007-5116
CVE-2008-1927


Description:
Tavis Ormandy and Will Drewry have reported a vulnerability in Perl, which potentially can be exploited by malicious people to compromise a vulnerable system.

The vulnerability is caused due to a boundary error within the processing of regular expressions containing Unicode data. This can be exploited to cause a buffer overflow via a specially crafted regular expression causing a runtime switch to the Unicode character scheme.

The vulnerability is reported in version 5.8.8. Other versions may also be affected.

NOTE: An additional potential vulnerability related to the processing of Unicode characters in regular expressions has also been reported.

Solution:
Fixed in development version 5.9.5.

Provided and/or discovered by:
Red Hat credits Tavis Ormandy and Will Drewry, Google Security Team

Changelog:
2008-04-25: Updated the "Description" section with additional vulnerability information. Added CVE reference. Updated the "Original Advisory" section.

Original Advisory:
https://bugzilla.redhat.com/show_bug.cgi?id=323571
http://rt.perl.org/rt3/Public/Bug/Display.html?id=40641


Track this Secunia Advisory
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.

Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.

About this Secunia Advisory
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.

Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
  
Latest Advisories

Send Feedback to Secunia
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.

Most Popular - 3 Hours

1. Adobe Flash Player Multiple Vulnerabilities // 62 views
2. IBM DB2 Multiple Vulnerabilities // 44 views
3. Sun Java JDK / JRE Multiple Vulnerabilities // 37 views
4. VLC Media Player Multiple Vulnerabilities // 37 views
5. Microsoft Office Two Code Execution Vulnerabilities // 36 views
6. Linux Kernel "listxattr" Memory Corruption and CHRP Denial of Service // 32 views
7. MemHT Portal "stats_res" SQL Injection Vulnerability // 27 views
8. NetBSD Malformed ICMPv6 "MLD-QUERY" Denial of Service // 25 views
9. Microsoft Word Malformed Object Pointer Vulnerability // 25 views
10. phpAuction "phpinfo.php" Information Disclosure // 23 views