Gentoo update for PCRE library



| Updated: 2025-04-24
Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2017-6004
CWE-ID CWE-125
Exploitation vector Network
Public exploit N/A
Vulnerable software
Gentoo Linux
Operating systems & Components / Operating system

dev-libs/libpcre
Operating systems & Components / Operating system package or component

Vendor Gentoo

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Out-of-bounds read

EUVDB-ID: #VU68111

Risk: Medium

CVSSv4.0: 2.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/U:Green]

CVE-ID: CVE-2017-6004

CWE-ID: CWE-125 - Out-of-bounds read

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to a boundary condition within the compile_bracket_matchingpath() function in pcre_jit_compile.c. A remote attacker can pass a specially crafted regular expression to the application, trigger an out-of-bounds read and perform a denial of service (DoS) attack.

Mitigation

Update the affected packages.
dev-libs/libpcre to version: 8.40-r1

Vulnerable software versions

Gentoo Linux: All versions

dev-libs/libpcre: before 8.40-r1

CPE2.3 External links

https://security.gentoo.org/glsa/201706-11


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###