Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2022-31124: openssh_key_parser is an open source Python package providing utilities to parse and pack OpenSSH private and

55
This month
HIGH 7.7WATCHLISTUPGRADE

CVE-2022-31124 is a high-severity flaw (CVSS 7.7) affecting openssh key parser. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

openssh_key_parser is an open source Python package providing utilities to parse and pack OpenSSH private and public key files. In versions prior to 0.0.6 if a field of a key is shorter than it is declared to be, the parser raises an error with a message containing the raw field value. An attacker able to modify the declared length of a key's sensitive field can thus expose the raw value of that field. Users are advised to upgrade to version 0.0.

Why this priority

  • High severity
  • Public exploit reference
  • On your watchlist

A fixed release or distro patch exists.

Risk facts

CVSS score7.7 (High)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededLow
User interactionNone
EPSS exploit chance1.3% (top 29%)
CISA exploited listNo
WeaknessCWE-209
Published2022-07-06
Last modified2026-06-17
Publisher (CNA): GitHub, Inc. · Vendor: openssh key parser project

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

openssh key parser project openssh key parser UPGRADE
Affected: < 0.0.6
Fixed in: 0.0.6
Safe to downgrade to: no unaffected older release
1. Check installed version
pip show openssh-key-parser
2. UPGRADE to 0.0.6
pip install --upgrade "openssh-key-parser>=0.0.6"
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2022-31124?

openssh key parser: upgrade to 0.0.6. Exact commands for each OS are on this page.

Is CVE-2022-31124 being exploited?

CVE-2022-31124 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2022-31124 affect?

CVE-2022-31124 affects openssh key parser. Severity is high (CVSS 7.7). openssh_key_parser is an open source Python package providing utilities to parse and pack OpenSSH private and public key files. In versions prior to 0.0.6 if a field of a key is shorter than it is declared to be, the parser raises an error

How urgent is CVE-2022-31124?

Priority 55/100. High severity; Public exploit reference; On your watchlist

Software pages

OpenSSH vulnerabilities · Python vulnerabilities

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.