FreeBSD VuXML: Documenting security issues in FreeBSD and the FreeBSD Ports Collection

pcre -- Heap Overflow Vulnerability in find_fixedlength()

Affected packages
pcre <= 8.37_1

Details

VuXML ID 8a1d0e63-1e07-11e5-b43d-002590263bf5
Discovery 2015-06-23
Entry 2015-06-29

Venustech ADLAB reports:

PCRE library is prone to a vulnerability which leads to Heap Overflow. During subpattern calculation of a malformed regular expression, an offset that is used as an array index is fully controlled and can be large enough so that unexpected heap memory regions are accessed.

One could at least exploit this issue to read objects nearby of the affected application's memory.

Such information disclosure may also be used to bypass memory protection method such as ASLR.

References

CVE Name CVE-2015-5073
Message http://www.openwall.com/lists/oss-security/2015/06/26/1
URL http://vcs.pcre.org/pcre?view=revision&revision=1571
URL https://bugs.exim.org/show_bug.cgi?id=1651