798
CWE-798 is use of hard-coded credentials.
- Even
- Composite
Where 798 fits
Why 798 is special
A password compiled into firmware cannot be changed by the owner, so every device of that model shares one secret that is published the moment anyone extracts it.
Factors & digit properties
- Divisors (16)
- 1, 2, 3, 6, 7, 14, 19, 21, 38, 42, 57, 114, 133, 266, 399, 798
- Prime factorisation
- 2 × 3 × 7 × 19
- Digit sum
- 24
- Digital root
- 6
Representations
- Decimal
- 798
- Scientific notation
- 7.980 × 10^2
Roman numerals
D C C X C V I I I
DCCXCVIII uses the subtractive pair XC: ten before a hundred — a hundred minus ten.
Binary
1 1 0 0 0 1 1 1 1 0
1 × 512 + 1 × 256 + 0 × 128 + 0 × 64 + 0 × 32 + 1 × 16 + 1 × 8 + 1 × 4 + 1 × 2 + 0 × 1 = 798
Octal
1 4 3 6
1 × 512 + 4 × 64 + 3 × 8 + 6 × 1 = 798
Hexadecimal
3 1 e
3 × 256 + 1 × 16 + e × 1 = 798
Read as powers of two: 512 + 256 + 16 + 8 + 4 + 2 = 798.
In historical numeral systems
Egyptian
7 coils of rope, 9 hobbles, 8 strokes
7 × 100 + 9 × 10 + 8 × 1 = 798. The signs are simply repeated and added; where they sit on the line is a matter of layout, not value.
Babylonian
1 corner wedge + 3 vertical wedges (sixties place), 1 corner wedge + 8 vertical wedges (units place)
13 × 60 + 18 = 798. Places are separated by a space on the tablet, with the higher place written first.
Greek (Ionic)
psi, then koppa, then eta, marked as a numeral
psi-koppa-eta + keraia
psi + koppa + eta written in descending order and added — the letters carry their values wherever they stand, so this is addition, not place value.
Hebrew numerals
tav, then shin, then tsadi, then het
tav-shin-tsadi-het
tav (400) + shin (300) + tsadi (90) + het (8) = 798, written in descending order.
Systems that simply cannot reach this value are left out. Where a script needs a font most readers do not have, the reading is given instead of the glyphs — see number systems for each system in full.
Other mathematical patterns
- Abundant number
Related numbers & connections
Hard-coded credentials and missing authentication both leave a device open to anyone who knows the model rather than the owner.
View 306 →Technology & computing
CWE-798 covers credentials embedded in source or firmware. Because they are identical across deployments and generally unchangeable, disclosure of one device's secret compromises the entire product line.
DocumentedTechnology & computingGeography: International — MITRE CWEPeriod: 2006–
Common questions
Is 798 a prime number?
No, 798 is not prime.
What are the factors of 798?
The factors of 798 are 1, 2, 3, 6, 7, 14, 19, 21, 38, 42, 57, 114, 133, 266, 399, 798.
What is 798 in Roman numerals?
798 in Roman numerals is DCCXCVIII. XC is subtractive: ten before a hundred — a hundred minus ten. Written additively it would be DCCLXXXXVIII, which Roman inscriptions used freely — the strict subtractive form is a later convention.
About this page's data
Mathematical facts:computed directly from the number's value — nothing to source or verify externally.
Contextual records: 1 reviewer-confirmed record, sourced and reviewed before publication.
Last reviewed: 15 July 2026