Skip to content
Noroxi
NVD / CVE Program· CNA mitre

CVE-2017-9050: libxml2 20904-GITv2.9.4-16-g0741801 is vulnerable to a heap-based buffer over-read in the xmlDictAddString function in dict.c.

HighCVSS 7.5 · v3.1—No exploit Fix available

Noroxi assessment

Priority: Monitor (action score 31/100)

  • The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
  • Probability of exploitation in the next 30 days: 4.6% (FIRST EPSS); higher than 91.8% of all records.
  • Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
  • According to CISA the attack is automatable: targets can be found by mass scanning.
  • Fixed version: libxml2 (Debian:12) 2.9.4+dfsg1-3.1; libxml2 (Debian:7) 2.8.0+dfsg1-7+wheezy8; libxml2 (Debian:8) 2.9.1+dfsg1-5+deb8u5.

Low priority for now. Upgrade to libxml2 (Debian:12) 2.9.4+dfsg1-3.1; libxml2 (Debian:7) 2.8.0+dfsg1-7+wheezy8; libxml2 (Debian:8) 2.9.1+dfsg1-5+deb8u5 or later.

Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it

Primary sources: NVD · CVE.org · FIRST EPSS

libxml2 20904-GITv2.9.4-16-g0741801 is vulnerable to a heap-based buffer over-read in the xmlDictAddString function in dict.c. This vulnerability causes programs that use libxml2, such as PHP, to crash. This vulnerability exists because of an incomplete fix for CVE-2016-1839.

Published
May 18, 2017
Updated
Oct 14, 2026
EPSS
4.6% · 91th percentile

Report tools

JSON

Action score

31

Monitor

Low priority for now.

CVSS
30 / 40 · 7.5 / 10
CISA KEV
0 / 30 · Not listed
EPSS
1 / 30 · 4.6%

CISA SSVC decision

Exploitation
none
Automatable
yes
Technical impact
partial

Vulnrichment: CISA's decision-tree inputs.

Get told when this record changes

  • Not in KEV: no record of exploitation in the wild
  • No public exploit code on record
  • A fix has been released

If any of these changes, we'll tell you in the daily email digest.

Follow CVE-2017-9050

When you'll hear from us

  • when it enters CISA KEV
  • when exploit code appears or is weaponized
  • when the record is updated (including a fixed version)
  • when EPSS rises 20 points in a week

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits every 10 minutes on paid plans, on the hour on the free plan.

Your free account also gets you

  • CVE alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools, at most 30 a day (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools
Is your version affected? Check it

Noroxi analysis

What does it mean in your environment?

The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.

We use this product, ask for help

Affected systems

Is your version affected?

Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.

VendorProduct
xmlsoftlibxml2

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • xmlsoft libxml22.9.4

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Debian:12libxml2before 2.9.4+dfsg1-3.12.9.4+dfsg1-3.1
Debian:7libxml2before 2.8.0+dfsg1-7+wheezy82.8.0+dfsg1-7+wheezy8
Debian:8libxml2before 2.9.1+dfsg1-5+deb8u52.9.1+dfsg1-5+deb8u5
Debian:9libxml2before 2.9.4+dfsg1-2.2+deb9u12.9.4+dfsg1-2.2+deb9u1
RubyGemsnokogiribefore 1.8.11.8.1
SUSE:Linux Enterprise Desktop 12 SP2libxml2before 2.9.4-36.12.9.4-36.1
SUSE:Linux Enterprise Desktop 12 SP2libxml2before 2.9.4-39.22.9.4-39.2
SUSE:Linux Enterprise Desktop 12 SP2python-libxml2before 2.9.4-39.22.9.4-39.2
SUSE:Linux Enterprise Desktop 12 SP2python-libxml2before 2.9.4-36.12.9.4-36.1
SUSE:Linux Enterprise Point of Sale 11 SP3libxml2-pythonbefore 2.7.6-0.69.32.7.6-0.69.3
SUSE:Linux Enterprise Server for SAP Applications 12libxml2before 2.9.1-26.15.12.9.1-26.15.1
SUSE:Linux Enterprise Server for SAP Applications 12python-libxml2before 2.9.1-26.15.12.9.1-26.15.1
SUSE:Linux Enterprise Software Development Kit 11 SP4libxml2before 2.7.6-0.69.12.7.6-0.69.1

Other highest-scoring records for the same primary product.

  • CVE-2008-3529Heap-based buffer overflow in the xmlParseAttValueComplex function in parser.c in libxml2 before 2.7.0 allows context-dependent attackers…
    47Plan
  • CVE-2017-7376Buffer overflow in libxml2 allows remote attackers to execute arbitrary code by leveraging an incorrect limit for port values when handling…
    46Plan
  • CVE-2022-40303An issue was discovered in libxml2 before 2.10.3.
    42Plan

Published before and after this one in the same product

  • ← EarlierCVE-2017-9048May 18, 2017 · libxml2 20904-GITv2.9.4-16-g0741801 is vulnerable to a stack-based buffer overflow.
    31Monitor
  • ← EarlierCVE-2017-9049May 18, 2017 · libxml2 20904-GITv2.9.4-16-g0741801 is vulnerable to a heap-based buffer over-read in the xmlDictComputeFastKey function in dict.c.
    31Monitor
  • Later →CVE-2017-16931Nov 23, 2017 · parser.c in libxml2 before 2.9.5 mishandles parameter-entity references because the NEXTL macro calls the xmlParserHandlePEReference…
    40Plan

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
debian:libxml22.9.4+dfsg1-3.1 · Debian:12Package registry (OSV)
RubyGems:nokogiri1.8.1Package registry (OSV)
suse:libxml22.9.4-36.1 · SUSE:Linux Enterprise Desktop 12 SP2Package registry (OSV)
suse:libxml2-python2.7.6-0.69.3 · SUSE:Linux Enterprise Point of Sale 11 SP3Package registry (OSV)
suse:python-libxml22.9.4-36.1 · SUSE:Linux Enterprise Desktop 12 SP2Package registry (OSV)

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.

Technical details

Attack conditions

  • Anyone who can reach it over the internet can trigger it.
  • No account or password is required.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
none
Integrity
none
Availability
high · the service can be disrupted
Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality impact
None
Integrity impact
None
Availability impact
High

Weakness class (CWE)

CWE-125 · Out-of-bounds Read

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

nvd-secondary

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

ATT&CK techniques

—

References

All records