Segmentation Fault Vulnerability in Apache2: CVE-2017-7668

apache2 Updated 02 Oct 2025

Summary

20/06/2017
N/A
Yes i
High
7.5

ALPINE-CVE-2017-7668: The HTTP strict parsing changes added in Apache httpd 2.2.32 and 2.4.24 introduced a bug in token list parsing, which allows ap_find_token() to search past the end of its input string. Affects apache2 versions < 2.4.26-r0. Fixed in 2.4.26-r0. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Apache HTTP Server, commonly referred to as Apache, is a widely used open-source web server software that enables the hosting of websites and web applications. It is known for its flexibility, robust feature set, and strong community support. However, it has been identified that certain versions of Apache2 are vulnerable to a critical issue that can lead to segmentation faults when specific request headers are crafted maliciously.

Vulnerability Detail

The vulnerability, identified as CVE-2017-7668, originates from changes made to HTTP strict parsing in Apache versions 2.2.32 and 2.4.24. This bug in token list parsing allows the function ap_find_token() to search beyond the end of its input string. An attacker can exploit this flaw by crafting a sequence of request headers that may cause a segmentation fault or return an incorrect value, potentially leading to denial of service or other unexpected behaviors.

How To Fix

Minimum fixed version

2.4.26-r0

This is the first release that contains the fix.

sudo apk add --upgrade apache2

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, you can limit the types of request headers accepted by your server or implement additional validation on incoming requests to mitigate the risk of exploitation until the package can be updated.

Conclusion

CVE-2017-7668 represents a significant vulnerability in Apache HTTP Server that can lead to severe operational issues if not addressed. It is crucial for users of affected versions to update to the patched version 2.4.26-r0 to ensure the security and stability of their web applications.

See every vulnerability recorded for apache2 →

Share this vulnerability

FAQ

CVE-2017-7668 is a vulnerability in Apache HTTP Server that can lead to segmentation faults due to improper parsing of request headers.

All versions of Apache2 prior to 2.4.26-r0 are affected by this vulnerability.

Exploitation of this vulnerability can lead to denial of service, causing the server to crash or behave unexpectedly.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

The CVSS score for CVE-2017-7668 is 7.5, indicating a high severity level.

Related vulnerabilities

Recent vulnerabilities recorded for apache2.

How To Fix

Minimum fixed version

2.4.26-r0

This is the first release that contains the fix.

sudo apk add --upgrade apache2

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback