BreachSpiderVerified, not vibes

CVE-2020-7059 in Debian Linux and 4 more products

Critical 9.1 Fix available

When using fgetss() function to read data with stripping tags, in PHP versions 7.2.x below 7.2.27, 7.3.x below 7.3.14 and 7.4.x below 7.4.2 it is possible to supply data that will cause this function to read past the allocated buffer. This may lead to information disclosure or crash.

Affects 5 products from 5 vendors. Facts below cite their sources.

CVSS 3.19.1
EPSS7.1%
EPSS percentile95th
FixAvailable

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, no integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Debian Debian Linux 8.0
Opensuse Leap 15.1
Oracle Communications Diameter Signaling Router ≥ 8.0, ≤ 8.4
Php Php ≥ 7.2.0, < 7.2.27 ≥ 7.3.0, < 7.3.14 ≥ 7.4.0, < 7.4.2
Tenable Tenable.Sc < 5.19.0

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

View Vendor Advisory →

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

When using fgetss() function to read data with stripping tags, in PHP versions 7.2.x below 7.2.27, 7.3.x below 7.3.14 and 7.4.x below 7.4.2 it is possible to supply data that will cause this function to read past the allocated buffer. This may lead to information disclosure or crash.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2020-7059
BreachSpider IDBS-2020-GLOBAL-196076-C
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Published2020-02-10
Last modified2024-11-21
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-125: Out-of-Bounds Read

Software reads data past the boundary of an allocated buffer, leaking sensitive information or causing crashes.

Related attack patterns (CAPEC)

CAPEC-540 Overread Buffers via CWE-125

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

A buffer overflow vulnerability exists in the fgetss() function in PHP versions 7.2.x below 7.2.27, 7.3.x below 7.3.14, and 7.4.x below 7.4.2, which could lead to information disclosure or a crash.

An attacker can exploit this vulnerability by supplying specially crafted input to the fgetss() function, causing it to read past the allocated buffer. This can result in unauthorized access to memory or a denial of service.

Questions

What is CVE-2020-7059?

A buffer overflow vulnerability exists in the fgetss() function in PHP versions 7.2.x below 7.2.27, 7.3.x below 7.3.14, and 7.4.x below 7.4.2, which could lead to information disclosure or a crash.

What is the CVSS score for CVE-2020-7059?

CVE-2020-7059 has CVSS 9.1 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H. EPSS: 7.1%.

Is CVE-2020-7059 actively exploited?

No confirmed active exploitation of CVE-2020-7059 as of 2026-05-30.

How do I remediate CVE-2020-7059?

Priority: IMMEDIATE. Advisory: https://bugs.php.net/bug.php?id=79099 PSIRT: [email protected]

What systems are affected by CVE-2020-7059?

CVE-2020-7059 affects Debian Debian Linux; Opensuse Leap; Oracle Communications Diameter Signaling Router; Php Php; Tenable Tenable.Sc.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Debian","product":"Debian Linux","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2024-11-21.