{
  "id": "2023/026",
  "url": "https://opencryptology.org/2023/026",
  "original_url": "https://eprint.iacr.org/2023/026",
  "title": "Fermat Factorization in the Wild",
  "authors": [
    "Hanno Böck"
  ],
  "affiliations": null,
  "abstract": "We are applying Fermat’s factorization algorithm to sets of public RSA keys. Fermat’s factorization allows efficiently calculating the prime factors of a composite number if the difference between the two primes is small. Knowledge of the prime factors of an RSA public key allows efficiently calculating the private key. A flawed RSA key generation function that produces close primes can therefore be attacked with Fermat’s factorization.\nWe discovered a small number of vulnerable devices that generate such flawed RSA keys in the wild. These affect devices from two printer vendors - Canon and Fuji Xerox. Both use an underlying cryptographic module by Rambus.",
  "category": "Attacks and cryptanalysis",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Fermat Factorization in the Wild” by Hanno Böck, Cryptology ePrint Archive, Paper 2023/026, https://eprint.iacr.org/2023/026. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2023-01-08T19:48:52Z",
    "updated": "2023-01-08T19:48:52Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2023/026.pdf",
    "sha256": "e175283ccca09a768bbd6a5fc1ff371b9924b7d3fad71a5b9a39a67176d888fb",
    "size": 70251,
    "source": "github-mirror",
    "source_date": "2024-01-14T06:13:41Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2023/026/versions/20240114T061341Z.pdf",
      "captured_at": "2024-01-14T06:13:41Z",
      "label": "copy captured 2024-01-14",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2023/26.pdf",
      "size": 70251,
      "sha256": "e175283ccca09a768bbd6a5fc1ff371b9924b7d3fad71a5b9a39a67176d888fb",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20250910111239id_/https://eprint.iacr.org/2023/026.pdf",
      "captured_at": "2025-09-10T11:12:39Z",
      "size": 71142
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2023/26.pdf",
      "captured_at": "2024-01-14T06:13:41Z",
      "size": 70251
    }
  ],
  "bibtex": "@misc{cryptoeprint:2023/026,\n      author = {Hanno Böck},\n      title = {Fermat Factorization in the Wild},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2023/026},\n      year = {2023},\n      url = {https://eprint.iacr.org/2023/026}\n}"
}
